aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rsnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rsnapshot')
-rw-r--r--modules/rsnapshot/templates/rsnapshot.conf84
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/