From eabd7408300b2a5946a20173152b7fff8912819b Mon Sep 17 00:00:00 2001 From: DatuX Date: Wed, 25 Nov 2015 01:38:01 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdad9ab..e684154 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Example In this example we're going to backup a SmartOS machine called `smartos01` to our fileserver called `fs1`. -Its important to choose a uniq and consistent backup name. In this case we name our backup: `smartos01_fs1`. +Its important to choose a unique and consistent backup name. In this case we name our backup: `smartos01_fs1`. Select filesystems to backup ---------------------------- From 3321955d6d800cf867b07e366015ada44c310dc2 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Thu, 3 Dec 2015 10:45:31 +0100 Subject: [PATCH 2/2] fix --- zfs_autobackup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zfs_autobackup b/zfs_autobackup index 4755a8f..586cca7 100755 --- a/zfs_autobackup +++ b/zfs_autobackup @@ -198,6 +198,8 @@ def zfs_get_snapshots(ssh_to, filesystems, backup_name): if ssh_to in test_snapshots: for filesystem in filesystems: if filesystem in test_snapshots[ssh_to]: + if not filesystem in ret: + ret[filesystem]=[] ret[filesystem].extend(test_snapshots[ssh_to][filesystem]) return(ret)