Adding MIT License
[sitarba.git] / shbackup.conf
1 [global]
2 # Where shbackup stores the backups and other stuff
3 backupdir = /media/backup
4
5 # Which format should be used by tar?
6 # One of tar, tar.gz (default), tar.bz2, tar.xz
7 #format = tar.gz
8
9 # Path ot the tar binary. (Default: /bin/tar)
10 #tarbin = /bin/tar
11
12 # Each option starting with "exclude" contains a single --exclude pattern for
13 # tar. Files matching the pattern are not included into the backup. Tar is
14 # invoked with "-C /" and, thus, exclude patterns refering to absolute paths
15 # need to start with "./" instead of "/".
16 exclude1 = */tmp/*
17 exclude2 = */[Cc]cache/*
18 exclude3 = */log*
19 exclude4 = *.o
20
21
22
23 # Configure the epoch 'hour'. If left out no hourly backups are made. The
24 # epochs hour, day, week, month and year already define a timespan which cannot
25 # be overridden.
26 [epoch hour]
27 # The number of backups to keep for that epoch (positive integer)
28 numkeeps = 4
29 # The mode of this epoch. Can be one of 'full', 'diff', 'incr'. (Default: full)
30 mode = incr
31 # Each option starting with "exclude" defines an --exclude pattern for tar.
32 # These exclude patterns only apply to this epoch.
33 exclude1 = ./home/*/.thunderbird/*
34
35
36 # [epoch day]
37 # numkeeps = 14
38 # mode = diff
39
40 # [epoch week]
41 # numkeeps = 8
42 # mode = full
43
44 # [epoch month]
45 # numkeeps = 24
46 # mode = full
47
48 # [epoch year]
49 # numkeeps = 99
50 # mode = full
51
52
53 # Configure a user-defined epoch called 'biweek'.
54 [epoch biweek]
55 numkeeps = 13
56 mode = full
57 # The timespan of this epoch in the format '<unit>' or '<integer> * <unit>',
58 # where <integer> must be positive and <unit> must be one of 'hour', 'day',
59 # 'week', 'month', 'year'.
60 timespan = 2*week
61
62
63
64 # A file set called 'home'. Each file set is packed into one archive using tar.
65 [set home]
66 # Each option starting with "dir" contains a single directory which belongs to
67 # this file set.
68 dir1 = /home/username/
69 dir2 = /media/books/
70 # Each option starting with "exclude" defines an --exclude pattern for tar.
71 # These exclude patterns only apply to this file set.
72 exclude1 = ./home/*/media/*
73
74
75 [set conf]
76 dir1 = /etc/
77
78