shbackup.conf: removing empty lines
[sitarba.git] / shbackup.conf
index fb293cfa33806106a49fe0e8efc9fd50fcbed707..8e39e8bfc5582e3dcef6a34a82403abee1da65d0 100644 (file)
@@ -1,15 +1,15 @@
 [destination]
 # Where shbackup stores the backups and other stuff
-directory = ./backup
+directory = /media/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.
+# epoch, where EPOCH can be year, month, week, day, or hour. If the number is 0
+# then no backup iscreated for that epoch. modeEPOCH defines the backup mode
+# for that particular epoch. Mode can be full, diff or incr.
 keephour = 1
 keepday  = 14
 keepweek = 2
@@ -21,19 +21,21 @@ modeweek = full
 modemonth = full
 modeyear = full
 
-
 [input]
-# exclude* contains --exclude patterns for tar. Files matching the pattern are
-# not included into the backup.
+# Each option starting with "exclude" contains a single --exclude pattern for
+# tar. Files matching the pattern are not included into the backup. Tar is
+# invoked with "-C /" and, thus, exclude patterns refering to absolute paths
+# need to start with "./" instead of "/".
 exclude1 = */tmp/*
 exclude2 = */[Cc]cache/*
 exclude3 = */log*
-exclude5 = /home/*/.wine/*
-exclude7 = /lib/layman/*
+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.
+# Each option starting with "dir" contains a single directory which belongs to
+# this file set.
 dir1 = /home/username/
 dir2 = /media/books/