Update 'postgresql/backup.sh'

This commit is contained in:
verita84 2022-05-11 03:21:46 +00:00
parent 6e0c2ace5d
commit 77d41699ef

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"