Update 'postgresql/backup.sh'

This commit is contained in:
verita84 2022-05-11 03:21:46 +00:00
parent 6e0c2ace5d
commit 77d41699ef
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
su postgres -s /bin/bash -lc "pg_dumpall -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump"
su postgres -s /bin/bash -lc "pg_dump -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump"