Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (48 sloc) 1.87 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.
d5a5d22 @falconindy Sanitize config for user digestion
authored
5 DEBUG=false
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
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).
d5a5d22 @falconindy Sanitize config for user digestion
authored
14 BKUP_ROOT="/this/is/intentionally/a/bad/path"
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
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
d8541fe @falconindy Add declarations for squash and union mount points
authored
19 # Mount directories for the union and the squash.
20 SQUASH_MOUNT="${BKUP_ROOT}/ro"
21 UNION_MOUNT="${BKUP_ROOT}/rw"
22
6a1282f @falconindy Reorganize config for rolling backup strat
authored
23 # Cheezy name, important file. This is a catalog of your incrementals.
24 # Bad things will happen if this file is corrupted or lost.
2b4d557 @falconindy Prefix bin directory and binventory with . to hide
authored
25 BINVENTORY="${BKUP_ROOT}/.bin.list"
6a1282f @falconindy Reorganize config for rolling backup strat
authored
26
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
27 # Filename for the seed generated. You shouldn't need
28 # to change this
29 SEED="${BKUP_ROOT}/$HOSTNAME-seed.sfs"
30
6a1282f @falconindy Reorganize config for rolling backup strat
authored
31 # The minimum number of incrementals Squashfu will maintain. In other
32 # words, if you set this to 10, you will always be able to roll back
33 # 10 backups.
d8541fe @falconindy Add declarations for squash and union mount points
authored
34 MIN_BINS=5
6a1282f @falconindy Reorganize config for rolling backup strat
authored
35
36 # The maximum number of incremenetals Squashfu will maintain. When this
37 # number is reached, Squashfu will automatically merge the oldest
38 # incrementals until the MIN_BINS is reached. If you set your min and
39 # max to be the same value, Squashfu will recompress after every backup.
40 # Depending on how big your total backup size is, this may not be wise.
41 MAX_BINS=10
42
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
43 # These are the options that are passed directly to rsync.
44 # The -u flag is a necessity, or else incrementals will
d8541fe @falconindy Add declarations for squash and union mount points
authored
45 # not be true incrementals. See 'man rsync' for more info.
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
46 RSYNC_OPTS=("-Rua" "--delete" "--stats")
47
bed9e97 @falconindy Convert incls/excls to arrays....
authored
48 # The following defines what will and won't be backed up. These are
49 # simply Bash arrays and are interpreted as such.
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
50
bed9e97 @falconindy Convert incls/excls to arrays....
authored
51 INCLUDES=(
300ac9d @falconindy Convert include/exclude declaration to a heredoc
authored
52 /home
757e28d @falconindy Convert include/exclude heredocs to simple variables. I'm sure I'll end ...
authored
53 /etc
d5a5d22 @falconindy Sanitize config for user digestion
authored
54 /usr
55 /var
bed9e97 @falconindy Convert incls/excls to arrays....
authored
56 ) #end includes
a2694d7 @falconindy Add .conf extension, add options for color and debug output
authored
57
bed9e97 @falconindy Convert incls/excls to arrays....
authored
58 EXCLUDES=(
d5a5d22 @falconindy Sanitize config for user digestion
authored
59 /lost+found
757e28d @falconindy Convert include/exclude heredocs to simple variables. I'm sure I'll end ...
authored
60 /var/log
bed9e97 @falconindy Convert incls/excls to arrays....
authored
61 ) #end excludes
d8541fe @falconindy Add declarations for squash and union mount points
authored
62
63
Something went wrong with that request. Please try again.