X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=zfs-scripts.conf.dist;h=e2136582acac52a56632420a36d0188fe0ae1e6c;hb=7efa74b7c3ad633378498822fe408b3d2da2dcca;hp=7b021f6db8cfdefeead1b3de4220a3a5bfabf93c;hpb=cc81a4f1a8387e6991eb447383cae05220a65d15;p=zfs-ubuntu%2F.git diff --git a/zfs-scripts.conf.dist b/zfs-scripts.conf.dist index 7b021f6..e213658 100644 --- a/zfs-scripts.conf.dist +++ b/zfs-scripts.conf.dist @@ -5,6 +5,9 @@ # setup your path here to find all the binaries the ZFS scripts call PATH=/usr/sbin:/sbin:/etc/bin:.:$PATH +# set our hostname +hostname=`hostname` + # specify the path to the zfs binary zfs=/sbin/zfs @@ -13,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" +[[ ! -d "$logdir" ]] && mkdir "$logdir" # specify the name of the lockdir used when performing ZFS admin operations lockdir="/tmp/zfs-admin-lock" @@ -28,6 +32,7 @@ ssh="ssh" 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 @@ -51,7 +56,7 @@ 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) -# The format of each line should be: pool/filesystem +# The format of each line should be: pool/filesystem OR dst_pool:src_pool/filesystem filesystems_to_replicate=" "