This commit is contained in:
Your Name 2022-11-27 15:22:16 -07:00
parent 8eed63f335
commit b7ccf0430e

2
postgresql/backup.sh Normal file
View File

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