From 8d4ed4de399a2cd699b31dc0d7517ec85992a4ed Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 13 May 2019 18:52:53 -0700 Subject: [PATCH] Adding a docker db backup script. --- docker_db_backup.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 docker_db_backup.sh diff --git a/docker_db_backup.sh b/docker_db_backup.sh new file mode 100755 index 000000000..5b87b818b --- /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