From 48bc884f1ea7c4bf1cc4be20ec67ce5555dc5532 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 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