This commit is contained in:
Your Name 2021-12-07 09:11:19 -07:00
parent fbd94c37bc
commit 6720fae065

View File

@ -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"