diff --git a/postgresql/backup.sh b/postgresql/backup.sh new file mode 100644 index 0000000..24eeca8 --- /dev/null +++ b/postgresql/backup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +su postgres -s /bin/bash -lc "pg_dump -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump" \ No newline at end of file