Browse Source

DERP

master
Inex Code 3 years ago
parent
commit
3d6b6ebe65
  1. 6
      mastodon/backup.sh

6
mastodon/backup.sh

@ -1,5 +1 @@ @@ -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

Loading…
Cancel
Save