Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 76 lines (62 sloc) 2.327 kb
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
1 # Config file for Super Deluxe SquashFu Backup Express
2
3 # Show debugging information. This might be useful in the event
4 # you need to troubleshoot.
5 DEBUG=true
6
7 # Use color in informational output
8 COLOR=true
9
10 # The base directory where backups will go.
11 # This is the only directory that absolutely needs to be
12 # created by the user. All others will be created as needed
13 # by the actual backup (and inside this root).
14 BKUP_ROOT="/mnt/Gluttony/squashup"
15
6a1282f @falconindy Reorganize config for rolling backup strat
authored
16 # Location of the
2b4d557 @falconindy Prefix bin directory and binventory with . to hide
authored
17 BINS_DIR="${BKUP_ROOT}/.bins"
6a1282f @falconindy Reorganize config for rolling backup strat
authored
18
19 # Cheezy name, important file. This is a catalog of your incrementals.
20 # Bad things will happen if this file is corrupted or lost.
2b4d557 @falconindy Prefix bin directory and binventory with . to hide
authored
21 BINVENTORY="${BKUP_ROOT}/.bin.list"
6a1282f @falconindy Reorganize config for rolling backup strat
authored
22
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
23 # Filename for the seed generated. You shouldn't need
24 # to change this
25 SEED="${BKUP_ROOT}/$HOSTNAME-seed.sfs"
26
6a1282f @falconindy Reorganize config for rolling backup strat
authored
27 # The minimum number of incrementals Squashfu will maintain. In other
28 # words, if you set this to 10, you will always be able to roll back
29 # 10 backups.
30 MIN_BINS=3
31
32 # The maximum number of incremenetals Squashfu will maintain. When this
33 # number is reached, Squashfu will automatically merge the oldest
34 # incrementals until the MIN_BINS is reached. If you set your min and
35 # max to be the same value, Squashfu will recompress after every backup.
36 # Depending on how big your total backup size is, this may not be wise.
37 MAX_BINS=10
38
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
39 # This is an optional offset for determining what bin is used
40 # for a nightly backup. If you run your backups in the early
41 # morning for the previous day's work, you'll want to set this
42 # to -1. Values other than 0 or -1 will cause bad things to
43 # happen.
44 # TODO: This can also be overridden with the --modifier option
45 # at runtime
46 MODIFIER=0
47
48 # These are the options that are passed directly to rsync.
49 # The -u flag is a necessity, or else incrementals will
50 # not be created properly. See 'man rsync' for more info.
51 RSYNC_OPTS=("-Rua" "--delete" "--stats")
52
300ac9d @falconindy Convert include/exclude declaration to a heredoc
authored
53 # The following defines what will and won't be backed up. The format
54 # is that of a heredoc. Multiple include and exclude heredocs are NOT
55 # supported, although this config can be overridden in a separate config
56 # file with --config or -c..
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
57
300ac9d @falconindy Convert include/exclude declaration to a heredoc
authored
58 <<INCLUDES
59 /boot
60 /etc
61 /home
62 /root
63 /usr/share
64 /var/lib/pacman
65 INCLUDES
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
66
300ac9d @falconindy Convert include/exclude declaration to a heredoc
authored
67 <<EXCLUDES
68 /boot/lost+found
69 /home/lost+found
70 /home/*/.cache
71 /home/*/.thumbnails
72 /home/*/.lyrics
73 /home/*/.gnome2
74 /home/*/dev/*/*/.git
75 EXCLUDES
Something went wrong with that request. Please try again.