Added new option to expect empty remote lists when backing up to a new disk
[zfs-ubuntu/.git] / zfs-scripts.conf.dist
index 894f7839e02152798997cb121b59b82db4cf2664..e4f36512bf256eb8a0f3d4392f90f3bcbe5b071e 100644 (file)
@@ -38,6 +38,11 @@ backup_pool=
 # import backup pool before replication and export backup pool after replication
 import_export_backup_pool=0
 
+# expect empty remote list 
+# - set to 1 if backing up any new filesystems for the first time
+# - set to 0 if not backing up new filesystems for the first time (to prevent dropping the entire filesystem if the remote list command fails)
+expect_empty_remote_list=0
+
 # when this variable is set, local filesystems will be destroyed
 # before receiving a full streams into them from the remote source.
 # if it needs to do this, and this option is set to 0, it aborts.