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%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/static/%7B%60https:/%7BcommunityRSSUrl%28?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