From 4271994fe62fccf243a89cebd0d8cc90ebf1304b Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Tue, 11 Sep 2012 16:32:20 +0000 Subject: add rsnapshot.conf --- modules/rsnapshot/templates/rsnapshot.conf | 84 ++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 modules/rsnapshot/templates/rsnapshot.conf (limited to 'modules/rsnapshot') diff --git a/modules/rsnapshot/templates/rsnapshot.conf b/modules/rsnapshot/templates/rsnapshot.conf new file mode 100644 index 00000000..423cfe7e --- /dev/null +++ b/modules/rsnapshot/templates/rsnapshot.conf @@ -0,0 +1,84 @@ +################################################# +# rsnapshot.conf - rsnapshot configuration file # +################################################# +# # +# PLEASE BE AWARE OF THE FOLLOWING RULES: # +# # +# This file requires tabs between elements # +# # +# Directories require a trailing slash: # +# right: /home/ # +# wrong: /home # +# # +################################################# + +####################### +# CONFIG FILE VERSION # +####################### + +config_version 1.2 + +########################## +# SNAPSHOT ROOT DIRECTORY # +########################### + +# All snapshots will be stored under this root directory. + +snapshot_root /mnt/data/backup/hupstream.com/ + +# If no_create_root is enabled, rsnapshot will not automatically create the +# snapshot_root directory. This is particularly useful if you are backing +# up to removable media, such as a FireWire or USB drive. +# +#no_create_root 1 + +################################# +# EXTERNAL PROGRAM DEPENDENCIES # +################################# + +# LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features. +# EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility. +# +# See the README file or the man page for more details. + +cmd_cp /bin/cp +cmd_cp /bin/cp +cmd_rm /bin/rm +cmd_rsync /usr/bin/rsync +cmd_ssh /usr/bin/ssh +cmd_logger /bin/logger +cmd_du /usr/bin/du +cmd_rsnapshot_diff /usr/bin/rsnapshot-diff + +######################################### +# BACKUP INTERVALS # +# Must be unique and in ascending order # +# i.e. hourly, daily, weekly, etc. # +######################################### + +interval hourly 6 +interval daily 7 +interval weekly 4 +interval monthly 2 + +############################################ +# GLOBAL OPTIONS # +# All are optional, with sensible defaults # +############################################ + +verbose 2 +loglevel 3 +logfile /var/log/rsnapshot +lockfile /var/run/rsnapshot.pid +rsync_long_args -avHP --delete --numeric-ids --relative --delete-excluded --bwlimit=7168 +link_dest 1 +rsync_numtries 3 + +############################### +### BACKUP POINTS / SCRIPTS ### +############################### + +#backup root@valstar.mageia.org:/home/ +#backup root@alamut.mageia.org:/home/ +#backup root@champagne.mageia.org:/mnt/data/ +#backup root@krampouezh.mageia.org:/etc/ -- cgit v1.2.1