From: Dessalines Date: Tue, 14 May 2019 01:52:53 +0000 (-0700) Subject: Adding a docker db backup script. X-Git-Url: http://these/git/%22https:/image.com/readmes/%7B%60%24%7BarchiveUrl%7D/%7B%24%7B%60data:application/manifest%20json;base64%2C%24%7Bawait?a=commitdiff_plain;h=48bc884f1ea7c4bf1cc4be20ec67ce5555dc5532;p=lemmy.git Adding a docker db backup script. --- diff --git a/docker_db_backup.sh b/docker_db_backup.sh new file mode 100755 index 00000000..5b87b818 --- /dev/null +++ b/docker_db_backup.sh @@ -0,0 +1 @@ +docker exec -it lemmy_db_1 pg_dumpall -c -U rrr > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql