update README.md
This commit is contained in:
@ -6,3 +6,8 @@ This will also contain a lot of other random useful files and folders
|
|||||||
```bash
|
```bash
|
||||||
docker exec hentai_postgres bash -c "pg_dumpall -U hentai > /var/lib/postgresql/dump$(date +'%F').sql"
|
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
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user