diff options
Diffstat (limited to 'squashfu.conf')
-rw-r--r-- | squashfu.conf | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/squashfu.conf b/squashfu.conf index 69ba74c..dc91d5b 100644 --- a/squashfu.conf +++ b/squashfu.conf @@ -11,11 +11,15 @@ COLOR=true # 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/Gluttony/squashup" +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" @@ -27,7 +31,7 @@ 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=3 +MIN_BINS=5 # The maximum number of incremenetals Squashfu will maintain. When this # number is reached, Squashfu will automatically merge the oldest @@ -36,18 +40,9 @@ MIN_BINS=3 # Depending on how big your total backup size is, this may not be wise. MAX_BINS=10 -# This is an optional offset for determining what bin is used -# for a nightly backup. If you run your backups in the early -# morning for the previous day's work, you'll want to set this -# to -1. Values other than 0 or -1 will cause bad things to -# happen. -# TODO: This can also be overridden with the --modifier option -# at runtime -MODIFIER=0 - # These are the options that are passed directly to rsync. # The -u flag is a necessity, or else incrementals will -# not be created properly. See 'man rsync' for more info. +# 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 @@ -65,11 +60,13 @@ RSYNC_OPTS=("-Rua" "--delete" "--stats") INCLUDES <<EXCLUDES +/home/haruko/.cache /boot/lost+found /home/lost+found -/home/*/.cache -/home/*/.thumbnails -/home/*/.lyrics -/home/*/.gnome2 -/home/*/dev/*/*/.git +/home/haruko/.thumbnails +/home/haruko/.lyrics +/home/haruko/.gnome2 +/home/haruko/devel/*/.git EXCLUDES + + |