Adding a docker db backup script.

This commit is contained in:
Dessalines 2019-05-13 18:52:53 -07:00
parent 20510abf12
commit 8d4ed4de39

1
docker_db_backup.sh Executable file
View file

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