Changes between Version 2 and Version 3 of Backups


Ignore:
Timestamp:
Jun 9, 2014, 12:38:21 PM (10 years ago)
Author:
Christian Illy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Backups

    v2 v3  
    88See [[Installation#OptionalEnablecronjobforbackups|Installation - Enable cron jobs]] for details on how to enable the automatic backup system.
    99
    10 '''NOTE:''' Even as only differing files take up additional space on a highly frequented server backups can take lots disk space very quickly. Currently the script itself does neither monitor disk usage or delete old backups so you should watch it yourself. See ticket #12.
     10
     11=== Options for backups ===
     12
     13Since version 14 there are options in the global config that define a few ways to keep the size of the backups limited.
     14
     15 SDTD_BACKUP_MIN_BACKUPS_KEEP::
     16   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).
     17 SDTD_BACKUP_MAX_BACKUPS::
     18   Number of backups to keep at most.
     19 SDTD_BACKUP_MAX_STORAGE::
     20   Maximum disk space the backups may take up in total (given in MiB).
     21 SDTD_BACKUP_MAX_AGE::
     22   Maximum age backups may have before purged (given in hours).
     23 SDTD_BACKUP_COMPRESS::
     24   Should backups be compressed? Valid values:
     25     * none: Keep all backups as plain folders
     26     * old: Compress all backups but the latest
     27     * all: Compress all backups
     28
     29'''Note:''' Setting compress to ''all'' obviously negates the positive effect of hard links between backups.