basant/raw/public-kitaab/201105-2306.wiki
2021-12-01 00:24:51 +10:00

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`