rsync-snapshot.conf
changeset 15 61f6d0ca0432
child 16 d4b9954273a1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rsync-snapshot.conf	Wed Feb 15 13:58:35 2012 +0200
@@ -0,0 +1,44 @@
+## Options
+[snapshots]
+format      = %Y%m%d-%H%M%S
+
+# rsync options, in invoke.optargs format
+[rsync-options]
+archive             = true
+hard-links          = true
+one-file-system     = true
+numeric-ids         = true
+delete              = true
+
+## Intervals
+[intervals:recent]
+format  = 
+keep    = 4
+
+[intervals:day]
+format  = %Y-%m-%d
+keep    = 7
+
+[intervals:week]
+format  = %Y-%W
+keep    = 4
+
+[intervals:month]
+format  = %Y-%m
+keep    = 4
+
+[intervals:year]
+format  = %Y
+keep    = 1
+
+## Targets
+[targets:test]
+path    = ./test
+enable  = true
+source  = /srv/lvm-test/
+
+intervals       = recent day
+
+[targets:test:rsync_options]
+exclude-from    = ignore.list
+