adding man page, sample conf, makefile
[sitarba.git] / shbackup.conf
diff --git a/shbackup.conf b/shbackup.conf
new file mode 100644 (file)
index 0000000..fb293cf
--- /dev/null
@@ -0,0 +1,43 @@
+[destination]
+# Where shbackup stores the backups and other stuff
+directory = ./backup
+# Which format should be used by tar?
+# One of tar, tar.gz, tar.bz2, tar.xz
+format = tar.gz
+
+
+[history]
+# keepEPOCH contains the number of backups that are kept for that particular
+# epoch, where EPOCH can be year, month, week, day, or hour. modeEPOCH defines
+# the backup mode for that particular epoch. Mode can be full, diff or incr.
+keephour = 1
+keepday  = 14
+keepweek = 2
+keepmonth = 12
+keepyear  = 2
+modehour = incr
+modeday = diff
+modeweek = full
+modemonth = full
+modeyear = full
+
+
+[input]
+# exclude* contains --exclude patterns for tar. Files matching the pattern are
+# not included into the backup.
+exclude1 = */tmp/*
+exclude2 = */[Cc]cache/*
+exclude3 = */log*
+exclude5 = /home/*/.wine/*
+exclude7 = /lib/layman/*
+
+# A file set called 'home'. Each file set is packed into one archive using tar.
+[set home]
+# dir* is one directory which belongs to this file set.
+dir1 = /home/username/
+dir2 = /media/books/
+
+[set conf]
+dir1 = /etc/
+
+