projects
/
zfs-ubuntu
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated comment to describe actual behavior
[zfs-ubuntu/.git]
/
zfs-scripts.conf.dist
diff --git
a/zfs-scripts.conf.dist
b/zfs-scripts.conf.dist
index 40a7e4ba282ee4c827a67cd596542249419e2054..894f7839e02152798997cb121b59b82db4cf2664 100644
(file)
--- a/
zfs-scripts.conf.dist
+++ b/
zfs-scripts.conf.dist
@@
-16,6
+16,7
@@
mailx=/usr/bin/mailx
# specify the path to the logdir the ZFS scripts should dump their logs to
logdir="/var/log/zfs"
# specify the path to the logdir the ZFS scripts should dump their logs to
logdir="/var/log/zfs"
+[[ ! -d "$logdir" ]] && mkdir "$logdir"
# specify the name of the lockdir used when performing ZFS admin operations
lockdir="/tmp/zfs-admin-lock"
# specify the name of the lockdir used when performing ZFS admin operations
lockdir="/tmp/zfs-admin-lock"
@@
-31,6
+32,7
@@
ssh="ssh"
remote=
# specify the name of the local pool to store the $remote's snapshots into
remote=
# specify the name of the local pool to store the $remote's snapshots into
+# multiple pools can be specified by separating with a space
backup_pool=
# import backup pool before replication and export backup pool after replication
backup_pool=
# import backup pool before replication and export backup pool after replication
@@
-54,7
+56,8
@@
throttle_enable=0
throttle_opt="-v -M 10"
# Specify the list of filesystems to replicate from the $remote to the $backup_pool (1 per line)
throttle_opt="-v -M 10"
# Specify the list of filesystems to replicate from the $remote to the $backup_pool (1 per line)
-# The format of each line should be: pool/filesystem
+# The format of each line should be: pool/filesystem OR dst_pool:src_pool/filesystem
+# NOTE: If dst_pool is not specified, the given pool/filesystem will be replicated to all pools in backup_pool
filesystems_to_replicate="
"
filesystems_to_replicate="
"