From caf9989d260735580365875bb7543b9aa4a43091 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Mon, 27 Jan 2020 14:53:28 -0800 Subject: [PATCH] update defaults for proxmox --- zfsbk.sh | 2 +- zfssnap.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zfsbk.sh b/zfsbk.sh index f3c2b4d..931b814 100755 --- a/zfsbk.sh +++ b/zfsbk.sh @@ -1,7 +1,7 @@ #! /bin/sh # change this to the name of your ZFS pool. Or set ZPOOL envvar at runtime -zpool=${ZPOOL:-"zroot"} +zpool=${ZPOOL:-"rpool"} # name of backup to take bkname=${1:-"default"} diff --git a/zfssnap.sh b/zfssnap.sh index 1674f51..4279ed1 100755 --- a/zfssnap.sh +++ b/zfssnap.sh @@ -1,12 +1,13 @@ #! /bin/sh # change this to the name of your ZFS pool. Or set ZPOOL envvar at runtime -zpool=${ZPOOL:-"zroot"} +zpool=${ZPOOL:-"rpool"} # 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=${EXCLUDES:-"/usr/ports /usr/src"} +#excludes=${EXCLUDES:-"/usr/ports /usr/src"} +excludes=${EXCLUDES:-""} # You do not want to edit anything below here