The management scripts include a mechanism to create backups of the instances, i.e. instance configurations, logs and save folders. These backups are stored in the folder defined in /etc/7dtd.conf in the variable SDTD_BACKUP_ROOT. The backups will automatically be put in a new folder with the name being the current date and time. As the backups use hard links there will be no duplicated data, i.e. two consecutive backups will only take up additional disk space for the files that actually differ between the two. Still you can view any backup as being a whole backup.

To create a new backup just run backup

See Installation - Enable cron jobs for details on how to enable the automatic backup system.

Options for backups

Since version 14 there are options in the global config that define a few ways to keep the size of the backups limited.

Number of backups to keep at a minimum, regardless of what the other options specify (e.g. always keep the 5 newest backups, even if their size exceeds the limit).
Either "true" or "false" (without quotes). If set to true each instance running when doing a backup is sent the "saveworld" command first.
Number of backups to keep at most.
Maximum disk space the backups may take up in total (given in MiB).
Maximum age backups may have before purged (given in hours).
Should backups be compressed? Valid values:
  • none: Keep all backups as plain folders
  • old: Compress all backups but the latest
  • all: Compress all backups

Note: Setting compress to all obviously negates the positive effect of hard links between backups.

Last modified 9 years ago Last modified on Jul 10, 2014, 9:47:21 PM