diff options
author | Damien Lallement <dams@mageia.org> | 2012-09-11 16:32:20 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2012-09-11 16:32:20 +0000 |
commit | 4271994fe62fccf243a89cebd0d8cc90ebf1304b (patch) | |
tree | 4306d1152b12c7a542b702cce7b062d87d1d3738 /modules | |
parent | 82bc53c3c2187ce99e8f60dc5f55f46c35cd3b31 (diff) | |
download | puppet-4271994fe62fccf243a89cebd0d8cc90ebf1304b.tar puppet-4271994fe62fccf243a89cebd0d8cc90ebf1304b.tar.gz puppet-4271994fe62fccf243a89cebd0d8cc90ebf1304b.tar.bz2 puppet-4271994fe62fccf243a89cebd0d8cc90ebf1304b.tar.xz puppet-4271994fe62fccf243a89cebd0d8cc90ebf1304b.zip |
add rsnapshot.conf
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rsnapshot/templates/rsnapshot.conf | 84 |
1 files changed, 84 insertions, 0 deletions
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/ |