diff options
author | Micah Anderson <micah@riseup.net> | 2012-06-11 10:02:34 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-06-11 10:02:34 -0400 |
commit | f8e69f738e6887fcc3f2eaf203c123a10534a0c0 (patch) | |
tree | 7c2fd7637c2a36c3d312df78a760c89318066881 /examples/example.rsync | |
parent | 79916c4c20af65063f280641f48d1f3c64a63171 (diff) | |
parent | 7af82be3ecf950fd19190d06fb9ad0f3f0aca97a (diff) | |
download | backupninja-f8e69f738e6887fcc3f2eaf203c123a10534a0c0.tar.gz backupninja-f8e69f738e6887fcc3f2eaf203c123a10534a0c0.tar.bz2 |
Merge branch 'master' of labs.riseup.net:backupninja
Diffstat (limited to 'examples/example.rsync')
-rw-r--r-- | examples/example.rsync | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/examples/example.rsync b/examples/example.rsync index a2795db..80365ae 100644 --- a/examples/example.rsync +++ b/examples/example.rsync @@ -36,9 +36,33 @@ backupdir = myserver #tmp = /tmp # specify backup storage format: short, long or mirror (i.e, no rotations) +# +# In the short format, incremental backups are rotated every day the handler +# runs an by a finite number of times (backup.0, backup.1, backup.1, etc), so +# if you want to have incremental backups for longer periods (like months) you +# have to configure rotations for 30 or more using the "days" parameter at the +# [general] section in the handler config. +# +# The short format is better described here: +# http://www.mikerubel.org/computers/rsync_snapshots/#Incremental +# +# The long format is inspired by the maildir handler and allows keeping backups +# of longer periods (weeks and months) using less rotations as it stores +# the increments in folders like daily.1, weekly.1, monthly.1 and has three +# rotation parameters: +# +# keepdaily = number of daily backup increments +# keepweekly = number of weekly backup increments +# keepmonthly = number of monthly backup increments +# format = short # for short storage format, specify the number of backup increments (min = 2, set to 1 or less to disable) +# +# Note that setting days = 0 is almost the same as using format = mirror except +# that with the days config your backup gets a .0 suffix at the destination +# folder, making it easier to turn it later to an incremental backup. +# days = 7 # for long storage format, specify the number of daily backup increments @@ -50,11 +74,6 @@ days = 7 # for long storage format, specify the number of monthly backup increments #keepmonthly = 1 -# use this if you need a lockfile to be kept during backup execution -# this is an useful feature in case you have some tasks that should -# know if the backup is running or not -#lockfile = - # rsync command nice level #nicelevel = 0 |