summaryrefslogtreecommitdiff
path: root/roles/rsnapshot.notyet/templates/linux.conf.j2
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-12-03 22:47:13 -0800
committerJakob Odersky <jakob@odersky.com>2017-12-03 22:47:13 -0800
commitdf6be44d67e29d73b0f226985c2c7b6ec989c224 (patch)
tree590198484d5322042c2d0ef38bc4eeb1c71412ae /roles/rsnapshot.notyet/templates/linux.conf.j2
downloadmetamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.tar.gz
metamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.tar.bz2
metamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.zip
Initial commitHEADmaster
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