pleroma/postgresql/backup.sh

4 lines
129 B
Bash
Raw Normal View History

2021-08-25 08:39:26 -06:00
#!/bin/bash
2021-12-07 09:11:19 -07:00
su postgres -s /bin/bash -lc "pg_dumpall -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump"
2021-08-25 08:39:26 -06:00