1 ###########################################################################
2 # local configuration file for ZFS scripts
3 ###########################################################################
5 # setup your path here to find all the binaries the ZFS scripts call
6 PATH=/usr/sbin:/sbin:/etc/bin:.:$PATH
11 # specify the path to the zfs binary
14 # specify the path to your command line mailer
17 # specify the path to the logdir the ZFS scripts should dump their logs to
19 [[ ! -d "$logdir" ]] && mkdir "$logdir"
21 # specify the name of the lockdir used when performing ZFS admin operations
22 lockdir="/tmp/zfs-admin-lock"
24 # specify the user to send email reports to
27 # specifu the ssh command and any options needed for accessing a remote server
30 # specify the fqdn of the remote server to pull snapshots from to backup locally
31 # specify "localhost" if the remote server is the local machine
34 # specify the name of the local pool to store the $remote's snapshots into
35 # multiple pools can be specified by separating with a space
38 # import backup pool before replication and export backup pool after replication
39 import_export_backup_pool=0
41 # when this variable is set, local filesystems will be destroyed
42 # before receiving a full streams into them from the remote source.
43 # if it needs to do this, and this option is set to 0, it aborts.
44 destroy_local_filesystem_on_full_replicate=0
46 # set this to 1 if you want the snapshot script to run in "test" mode (not really take any snaps)
47 # leave blank if not under test
50 # Specify the maximum run time in minutes that the replicate script can run for (0=no limit)
53 # Setup throttling related parameters that will rate limit the zfs send | zfs receive pipe
54 # The maximum limit a local backup can handle to avoid excessive CPU load is 10MB/s
56 throttle_opt="-v -M 10"
58 # Specify the list of filesystems to replicate from the $remote to the $backup_pool (1 per line)
59 # The format of each line should be: pool/filesystem OR dst_pool:src_pool/filesystem
60 # NOTE: If dst_pool is not specified, the given pool/filesystem will be replicated to all pools in backup_pool
61 filesystems_to_replicate="