This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
lemmy/docker/docker_db_backup.sh
2019-08-15 18:05:49 -07:00

1 line
91 B
Bash
Executable file
Vendored

docker exec -it dev_lemmy_db_1 pg_dumpall -c -U rrr > dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql