X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=zfs-scripts.conf.dist;h=7b021f6db8cfdefeead1b3de4220a3a5bfabf93c;hb=ca396abc312461c5eb10134c34ec018f81009b9e;hp=b6c3a7d5cd85804716ccb5d15814dfa31dda2647;hpb=22625b0f570c4318ae5d75ee506087e29d359e61;p=zfs-ubuntu%2F.git diff --git a/zfs-scripts.conf.dist b/zfs-scripts.conf.dist index b6c3a7d..7b021f6 100644 --- a/zfs-scripts.conf.dist +++ b/zfs-scripts.conf.dist @@ -1,15 +1,12 @@ ########################################################################### -# This is a shell config script included by the other ZFS scripts. -# You must copy this file and modify these values to match your system. -# Save the resulting file as "zfs-scripts.conf" in this directory. -# This will prevent your settings from being overwritten by future updates. +# local configuration file for ZFS scripts ########################################################################### # setup your path here to find all the binaries the ZFS scripts call PATH=/usr/sbin:/sbin:/etc/bin:.:$PATH # specify the path to the zfs binary -zfs=/usr/sbin/zfs +zfs=/sbin/zfs # specify the path to your command line mailer mailx=/usr/bin/mailx @@ -21,31 +18,40 @@ logdir="/var/log/zfs" lockdir="/tmp/zfs-admin-lock" # specify the user to send email reports to -mailto= +mailto="user@domain" -# specify the name of the remote server to pull snapshots from to backup locally +# specifu the ssh command and any options needed for accessing a remote server +ssh="ssh" + +# specify the fqdn of the remote server to pull snapshots from to backup locally +# specify "localhost" if the remote server is the local machine remote= -# specify the name of the local pool to store remotely pulled (backup) snapshots to -local_pool= +# specify the name of the local pool to store the $remote's snapshots into +backup_pool= + +# import backup pool before replication and export backup pool after replication +import_export_backup_pool=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. destroy_local_filesystem_on_full_replicate=0 # set this to 1 if you want the snapshot script to run in "test" mode (not really take any snaps) +# leave blank if not under test SNAP_UNDER_TEST= # Specify the maximum run time in minutes that the replicate script can run for (0=no limit) maxruntime=0 # Setup throttling related parameters that will rate limit the zfs send | zfs receive pipe +# The maximum limit a local backup can handle to avoid excessive CPU load is 10MB/s throttle_enable=0 -throttle_opt="-M 5" -throttle=/usr/local/bin/throttle +throttle_opt="-v -M 10" -# Specify the list of filesystems to replicate from the remote to the local_pool (1 per line) -# (enter 1 filesystem per line) -filesystems_to_replicate=' -' +# 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 +filesystems_to_replicate=" +"