ask before making backup
[sitarba.git] / shbackup.conf
1 [destination]
2 # Where shbackup stores the backups and other stuff
3 directory = ./backup
4 # Which format should be used by tar?
5 # One of tar, tar.gz, tar.bz2, tar.xz
6 format = tar.gz
7
8
9 [history]
10 # keepEPOCH contains the number of backups that are kept for that particular
11 # epoch, where EPOCH can be year, month, week, day, or hour. modeEPOCH defines
12 # the backup mode for that particular epoch. Mode can be full, diff or incr.
13 keephour = 1
14 keepday = 14
15 keepweek = 2
16 keepmonth = 12
17 keepyear = 2
18 modehour = incr
19 modeday = diff
20 modeweek = full
21 modemonth = full
22 modeyear = full
23
24
25 [input]
26 # exclude* contains --exclude patterns for tar. Files matching the pattern are
27 # not included into the backup.
28 exclude1 = */tmp/*
29 exclude2 = */[Cc]cache/*
30 exclude3 = */log*
31 exclude5 = /home/*/.wine/*
32 exclude7 = /lib/layman/*
33
34 # A file set called 'home'. Each file set is packed into one archive using tar.
35 [set home]
36 # dir* is one directory which belongs to this file set.
37 dir1 = /home/username/
38 dir2 = /media/books/
39
40 [set conf]
41 dir1 = /etc/
42
43