pleroma/postgresql/backup.sh
Your Name 6720fae065 fix
2021-12-07 09:11:19 -07:00

4 lines
129 B
Bash

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