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"