documentation: btrbk.conf.example: adaptions for new {snapshot,target}_preserve options

pull/88/head
Axel Burri 2016-04-13 17:39:28 +02:00
parent 7c0987bd3c
commit be608a04b2
1 changed files with 13 additions and 24 deletions

View File

@ -33,23 +33,21 @@ snapshot_dir _btrbk_snap
# creation of non-incremental backups if no parent is found). # creation of non-incremental backups if no parent is found).
#incremental yes #incremental yes
# Resume missing backups (set to "no" if you don't want to resume
# missing backups).
#resume_missing yes
# Specify on which day of week weekly/monthly backups are to be # Specify on which day of week weekly/monthly backups are to be
# preserved. # preserved.
#preserve_day_of_week sunday #preserve_day_of_week sunday
# Preserve matrix for source snapshots: # Preserve all snapshots for a minimum period of time.
#snapshot_preserve_daily all #snapshot_preserve_min 1d
#snapshot_preserve_weekly 0
#snapshot_preserve_monthly all # Retention policy for the source snapshots.
#snapshot_preserve <NN>h <NN>d <NN>w <NN>m <NN>y
# Preserve all backup targets for a minimum period of time.
#target_preserve_min no
# Preserve matrix for backup targets: # Preserve matrix for backup targets:
#target_preserve_daily all #target_preserve <NN>h <NN>d <NN>w <NN>m <NN>y
#target_preserve_weekly 0
#target_preserve_monthly all
# Specify SSH private key for "ssh://" volumes / targets: # Specify SSH private key for "ssh://" volumes / targets:
#ssh_identity /etc/btrbk/ssh/id_ed25519 #ssh_identity /etc/btrbk/ssh/id_ed25519
@ -98,14 +96,8 @@ snapshot_dir _btrbk_snap
# #
# Example configuration: # Example configuration:
# #
snapshot_preserve_daily 14 snapshot_preserve_all 14d
snapshot_preserve_weekly 0 target_preserve 20d 10w *m
snapshot_preserve_monthly 0
target_preserve_daily 20
target_preserve_weekly 10
target_preserve_monthly all
# Backup to external disk mounted on /mnt/btr_backup # Backup to external disk mounted on /mnt/btr_backup
volume /mnt/btr_pool volume /mnt/btr_pool
@ -117,9 +109,7 @@ volume /mnt/btr_pool
subvolume kvm subvolume kvm
# use different preserve matrix for kvm backups # use different preserve matrix for kvm backups
target_preserve_daily 7 target_preserve 7d 4w
target_preserve_weekly 4
target send-receive /mnt/btr_backup/_btrbk target send-receive /mnt/btr_backup/_btrbk
@ -145,7 +135,6 @@ volume ssh://my-remote-host.com/mnt/btr_pool
volume ssh://my-remote-host.com/mnt/btr_pool volume ssh://my-remote-host.com/mnt/btr_pool
subvolume home subvolume home
snapshot_dir btrbk_snapshots snapshot_dir btrbk_snapshots
snapshot_preserve_daily all snapshot_preserve_min all
snapshot_create no snapshot_create no
resume_missing yes
target send-receive /mnt/btr_backup/_btrbk/my-remote-host.com target send-receive /mnt/btr_backup/_btrbk/my-remote-host.com