12 lines
294 B
Plaintext
12 lines
294 B
Plaintext
%title Wallabag Backup
|
|
:puralek:cli:sql:backup:
|
|
%date 2020-11-05 23:06
|
|
|
|
Had to enter the docker container
|
|
Go to a reasonable place in the filesystem
|
|
Run
|
|
`psql -U postrges -l`
|
|
`pg_dump -U postgres $database > outfile`
|
|
Then copy out of docker
|
|
`sudo docker cp wallabag-db:/$database wallabag`
|