Fix str formatting, float given instead of int
[sitarba.git] / sitarba.conf
1 [global]
2 # Where sitarba 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 of 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'. The epoch's name must
54 # comprise alphanumeric characters only.
55 [epoch biweek]
56 numkeeps = 13
57 mode = full
58 # The timespan of this epoch in the format 'UNIT' or 'INTEGER * UNIT',
59 # where INTEGER must be positive and UNIT must be one of 'hour', 'day',
60 # 'week', 'month', 'year'.
61 timespan = 2*week
62
63
64
65 # A file set called 'home'. The set's name must comprise alphanumeric
66 # characters only. Each file set is packed into one archive using tar.
67 [set home]
68 # Each option starting with "dir" contains a single directory which belongs to
69 # this file set.
70 dir1 = /home/username/
71 dir2 = /media/books/
72 # Each option starting with "exclude" defines an --exclude pattern for tar.
73 # These exclude patterns only apply to this file set.
74 exclude1 = ./home/*/media/*
75
76
77 [set conf]
78 dir1 = /etc/
79
80