diff --git a/zfsbk.sh b/zfsbk.sh index 20c1c26..b5ea4e5 100755 --- a/zfsbk.sh +++ b/zfsbk.sh @@ -1,10 +1,11 @@ #! /bin/sh +# change this to the name of your ZFS pool. +zpool="zroot" + # make a backup collection having 1 full and N-1 incremental backups. # set to 1 to avoid incrementals and always take full dumps. max_incremental=4 -zpool="zroot" -destination_store="u84693@u84693.your-backup.de:calaf/" usage () { echo "Usage:" diff --git a/zfssnap.sh b/zfssnap.sh index b9c2bf2..1840707 100755 --- a/zfssnap.sh +++ b/zfssnap.sh @@ -1,13 +1,20 @@ #! /bin/sh +# change this to the name of your ZFS pool. +zpool="zroot" + +# names of the DATASETs to exclude (datasets, not mountpoints!) +# can override this list at runtime with EXCLUDES envvar. +# can extend this list at runtime with EXTRA_EXCLUDES envvar. +excludes="/usr/ports /usr/src /backups" + + +# You do not want to edit anything below here + tstamp=`date +%Y%m%d-%H%M%S` label_pfx="zbk-" usrlabel=$1 maxnum=$2 -zpool="zroot" - -# names of the DATASETs to exclude (datasets, not mountpoints!) -excludes="/usr/ports /usr/src /backups" usage () { echo Usage: