Backup and restore

The following documentation only applies to installations running both Postgres and Elasticsearch on a single server. If you have an alternative installation please contact us at support@gamebench.net for assistance with your backups.

Please ensure you take backups at regular intervals.

Backup

To backup Postgres and Elasticsearch to a single archive, run the following:

./gbserver.sh backup

This will generate a file such as: /tmp/gb-private-server-backup-2019-08-05_14-59-56.tar.gz. We recommend storing your backups in a different physical location to the server or on a cloud storage service such as AWS S3.

Restore

To restore a backup, run the following command. You’ll be prompted for confirmation. Please be careful with this, all of your data will be overwritten from the backup.

./gbserver.sh restore <backup file>
Still need help? Get in touch!
Last updated on 05 Aug 2019