From 6720fae065d07a8791f28d7fdc86acefe9143539 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 7 Dec 2021 09:11:19 -0700 Subject: [PATCH] fix --- postgresql/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/backup.sh b/postgresql/backup.sh index 274c796..9e82eda 100644 --- a/postgresql/backup.sh +++ b/postgresql/backup.sh @@ -1,3 +1,3 @@ #!/bin/bash -su postgres -s /bin/bash -lc "/usr/lib/postgresql/13/bin/pg_dumpall > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump" +su postgres -s /bin/bash -lc "pg_dumpall -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump"