diff --git a/README.md b/README.md index 5723298..c22380d 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,8 @@ This will also contain a lot of other random useful files and folders ```bash docker exec hentai_postgres bash -c "pg_dumpall -U hentai > /var/lib/postgresql/dump$(date +'%F').sql" ``` + +Change the input file accordingly +```bash +docker exec -i hentai_postgres bash -c "PGPASSWORD=h99nqaNPhpfbuuhCDwQXLpZAnoVTjSQP7taoqmQhpzc2rPLVC4JUAKxAHfuuhuU9 psql --username hentai" < ~/docker/Hentai/db/dump.sql +```