1
0
Fork 0
mirror of https://github.com/inexcode/backup-facility synced 2024-11-27 16:01:27 +00:00
This commit is contained in:
Inex Code 2020-01-17 18:05:21 +03:00
parent 13f02eb440
commit 3d6b6ebe65

View file

@ -1,5 +1 @@
RETENTION_DAYS=7
RETENTION_WEEKS=4
RETENTION_MONTHS=6
RETENTION_YEARS=3
RESTIC_PASSWORD=
pg_dump -Fc mastodon_production -f /home/mastodon/database_snapshot/database.bak && restic backup -r /backups/mastodon/database --tag systemd.timer /home/mastodon/database_snapshot/database.bak && rm /home/mastodon/database_snapshot/database.bak