Peachgram Docs
StartMaster serverGame serverClientOperations

Backups and restore

Nightly database dumps and how to restore from them

Schedule

A cron job runs the backup script every night at 04:30 and keeps the last 14 days in /var/backups/openfesl/.

Manual backup

bash
/usr/local/bin/openfesl-backup.sh

Restore

bash
zcat /var/backups/openfesl/FILE.sql.gz | docker exec -i openfesl-database-1 psql -U openfesl openfesl

A restore overwrites current data. Take a fresh dump of the current state before restoring.

On this page