makefile: write sample conf to /usr/share/shbackup/
[sitarba.git] / shbackup.conf
1 [destination]
2 # Where shbackup stores the backups and other stuff
3 directory = /media/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 [history]
9 # keepEPOCH contains the number of backups that are kept for that particular
10 # epoch, where EPOCH can be year, month, week, day, or hour. If the number is 0
11 # then no backup iscreated for that epoch. modeEPOCH defines the backup mode
12 # 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 [input]
25 # Each option starting with "exclude" contains a single --exclude pattern for
26 # tar. Files matching the pattern are not included into the backup. Tar is
27 # invoked with "-C /" and, thus, exclude patterns refering to absolute paths
28 # need to start with "./" instead of "/".
29 exclude1 = */tmp/*
30 exclude2 = */[Cc]cache/*
31 exclude3 = */log*
32 exclude5 = ./home/*/.wine/*
33 exclude7 = ./lib/layman/*
34
35 # A file set called 'home'. Each file set is packed into one archive using tar.
36 [set home]
37 # Each option starting with "dir" contains a single directory which belongs to
38 # this file set.
39 dir1 = /home/username/
40 dir2 = /media/books/
41
42 [set conf]
43 dir1 = /etc/
44
45