blob: dc91d5bdfd25bbae5ee431459e025ccde6d3dd89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Config file for Super Deluxe SquashFu Backup Express
# Show debugging information. This might be useful in the event
# you need to troubleshoot.
DEBUG=true
# Use color in informational output
COLOR=true
# The base directory where backups will go.
# This is the only directory that absolutely needs to be
# created by the user. All others will be created as needed
# by the actual backup (and inside this root).
BKUP_ROOT="/mnt/Destruction/bkup"
# Location of the
BINS_DIR="${BKUP_ROOT}/.bins"
# Mount directories for the union and the squash.
SQUASH_MOUNT="${BKUP_ROOT}/ro"
UNION_MOUNT="${BKUP_ROOT}/rw"
# Cheezy name, important file. This is a catalog of your incrementals.
# Bad things will happen if this file is corrupted or lost.
BINVENTORY="${BKUP_ROOT}/.bin.list"
# Filename for the seed generated. You shouldn't need
# to change this
SEED="${BKUP_ROOT}/$HOSTNAME-seed.sfs"
# The minimum number of incrementals Squashfu will maintain. In other
# words, if you set this to 10, you will always be able to roll back
# 10 backups.
MIN_BINS=5
# The maximum number of incremenetals Squashfu will maintain. When this
# number is reached, Squashfu will automatically merge the oldest
# incrementals until the MIN_BINS is reached. If you set your min and
# max to be the same value, Squashfu will recompress after every backup.
# Depending on how big your total backup size is, this may not be wise.
MAX_BINS=10
# These are the options that are passed directly to rsync.
# The -u flag is a necessity, or else incrementals will
# not be true incrementals. See 'man rsync' for more info.
RSYNC_OPTS=("-Rua" "--delete" "--stats")
# The following defines what will and won't be backed up. The format
# is that of a heredoc. Multiple include and exclude heredocs are NOT
# supported, although this config can be overridden in a separate config
# file with --config or -c..
<<INCLUDES
/boot
/etc
/home
/root
/usr/share
/var/lib/pacman
INCLUDES
<<EXCLUDES
/home/haruko/.cache
/boot/lost+found
/home/lost+found
/home/haruko/.thumbnails
/home/haruko/.lyrics
/home/haruko/.gnome2
/home/haruko/devel/*/.git
EXCLUDES
|