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/%7B%24%7B%60data:application/static/%7B%7D/inbox?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