From 4d72ac0ecc2dc7538e31369a157482e0c98f2c4a Mon Sep 17 00:00:00 2001 From: michele Date: Tue, 1 Apr 2014 13:18:09 +0200 Subject: [PATCH] keep /backups snaps by default --- README.md | 1 - zfssnap.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e28dcb4..ca2260c 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,6 @@ The following datasets, common for FreeBSD users, are excluded by default: * `/usr/ports` * `/usr/src` -* `/backups` If you do not want these excluded, pass an empty `EXCLUDES` envvar. diff --git a/zfssnap.sh b/zfssnap.sh index 8acb7aa..1674f51 100755 --- a/zfssnap.sh +++ b/zfssnap.sh @@ -6,7 +6,7 @@ zpool=${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=${EXCLUDES:-"/usr/ports /usr/src /backups"} +excludes=${EXCLUDES:-"/usr/ports /usr/src"} # You do not want to edit anything below here