print age of backups
[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
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. If the number is 0
12 # then no backup iscreated for that epoch. modeEPOCH defines the backup mode
13 # for that particular epoch. Mode can be full, diff or incr.
14 keephour = 1
15 keepday = 14
16 keepweek = 2
17 keepmonth = 12
18 keepyear = 2
19 modehour = incr
20 modeday = diff
21 modeweek = full
22 modemonth = full
23 modeyear = full
24
25
26 [input]
27 # Each option starting with "exclude" contains a single --exclude pattern for
28 # tar. Files matching the pattern are not included into the backup. Tar is
29 # invoked with "-C /" and, thus, exclude patterns refering to absolute paths
30 # need to start with "./" instead of "/".
31 exclude1 = */tmp/*
32 exclude2 = */[Cc]cache/*
33 exclude3 = */log*
34 exclude5 = ./home/*/.wine/*
35 exclude7 = ./lib/layman/*
36
37 # A file set called 'home'. Each file set is packed into one archive using tar.
38 [set home]
39 # Each option starting with "dir" contains a single directory which belongs to
40 # this file set.
41 dir1 = /home/username/
42 dir2 = /media/books/
43
44 [set conf]
45 dir1 = /etc/
46
47