pleroma/backup.sh
Your Name 641633d2be fix
2022-05-04 11:57:40 -06:00

4 lines
156 B
Bash
Executable File

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