From d8541fedb46a774ba358a2f762ada1df3cadf5d1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 12 Jan 2010 14:39:27 -0500 Subject: Add declarations for squash and union mount points --- squashfu.conf | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'squashfu.conf') 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 <