summaryrefslogtreecommitdiff
path: root/roles/rsnapshot.notyet/templates/linux.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rsnapshot.notyet/templates/linux.conf.j2')
-rw-r--r--roles/rsnapshot.notyet/templates/linux.conf.j231
1 files changed, 31 insertions, 0 deletions
diff --git a/roles/rsnapshot.notyet/templates/linux.conf.j2 b/roles/rsnapshot.notyet/templates/linux.conf.j2
new file mode 100644
index 0000000..26dffb9
--- /dev/null
+++ b/roles/rsnapshot.notyet/templates/linux.conf.j2
@@ -0,0 +1,31 @@
+# This file requires tabs between elements
+
+# Include global rsnapshot configuration
+include_conf /etc/rsnapshot.conf
+
+logfile /var/log/rsnapshot/{{host}}.log
+lockfile /var/run/rsnapshot/{{host}}.pid
+
+snapshot_root /mnt/backup/rsnapshot/{{host}}/
+
+include /usr/local/
+exclude /bin/
+exclude /boot/
+exclude /dev/
+exclude /lib/
+exclude /lib64/
+exclude /lost+found/
+exclude /proc/
+exclude /run/
+exclude /sbin/
+exclude /sys/
+exclude /tmp/
+exclude /usr/
+exclude /var/backups/
+exclude /var/cache/
+exclude /var/lock/
+exclude /var/run/
+exclude /var/spool/
+exclude /var/tmp/
+
+backup backup@{{host}}:/ ./ \ No newline at end of file