From 867df0cf3d06a789a92c0c7a012393a5e1a89369 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 15 Dec 2019 15:22:34 +0100 Subject: optionally use rsnapshot to have incremental backups --- x200-my.confd | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) (limited to 'x200-my.confd') diff --git a/x200-my.confd b/x200-my.confd index bc0024d..35d26bd 100644 --- a/x200-my.confd +++ b/x200-my.confd @@ -4,15 +4,32 @@ PWMFREQ_RATE="0x8bb7b16dc5b6a" -# -# Backup options -# -# Activate autobackup on shutdown (true/false) +################## +# Backup options # +################## + +# Activate autobackup on shutdown (true/false)? conf_autobackup="false" -# Path to backup directory: -conf_backup_path="/mnt/disk" +# Use rsnaphot (true/false)? 'false' means 'use rsync': +use_rsnapshot="false" + +############################ +# rsync/rsnapshot settings # +############################ + +# Path to backup directory (note that rsnapshot additionally needs +# this to be specified as 'snapshot_root' in /etc/rsnapshot.conf): +conf_backup_path="/mnt/disk/snapshots" + +# The following option applies both to rsync and rsnapshot. # Control file. This (empty) file must exist in the backup directory: conf_control_file="dobackup" + +###################### +# rsync-only setting # +###################### + +# rsync only option: # Directories to backup: conf_backup_dirs=( "/etc" @@ -20,3 +37,12 @@ conf_backup_dirs=( "/usr/local" "/home" ) + +########################## +# rsnapshot-only setting # +########################## + +# Use the following line to have specific arguments passed to +# rsnapshot such as 'daily' or the like. By default, x200-my uses +# 'alpha', which is already defined in /etc/rsnapshot.conf: +rsnapshot_args="alpha" -- cgit v1.2.3