Added logging of messages when trying to import backup pool
[zfs-ubuntu/.git] / zfs-scripts.conf.dist
1 ###########################################################################
2 # local configuration file for ZFS scripts
3 ###########################################################################
4
5 # setup your path here to find all the binaries the ZFS scripts call
6 PATH=/usr/sbin:/sbin:/etc/bin:.:$PATH
7
8 # set our hostname
9 hostname=`hostname`
10
11 # specify the path to the zfs binary
12 zfs=/sbin/zfs
13
14 # specify the path to your command line mailer
15 mailx=/usr/bin/mailx
16
17 # specify the path to the logdir the ZFS scripts should dump their logs to
18 logdir="/var/log/zfs"
19 [[ ! -d "$logdir" ]] && mkdir "$logdir"
20
21 # specify the name of the lockdir used when performing ZFS admin operations
22 lockdir="/tmp/zfs-admin-lock"
23
24 # specify the user to send email reports to
25 mailto="user@domain"
26
27 # specifu the ssh command and any options needed for accessing a remote server
28 ssh="ssh"
29
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
32 remote=
33
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
36 backup_pool=
37
38 # import backup pool before replication and export backup pool after replication
39 import_export_backup_pool=0
40
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
45
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
48 SNAP_UNDER_TEST=
49
50 # Specify the maximum run time in minutes that the replicate script can run for (0=no limit)
51 maxruntime=0
52
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
55 throttle_enable=0
56 throttle_opt="-v -M 10"
57
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="
62 "
63