Added fatal_and_exit routine so email will be sent on error
[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 # specify the path to the zfs binary
9 zfs=/sbin/zfs
10
11 # specify the path to your command line mailer
12 mailx=/usr/bin/mailx
13
14 # specify the path to the logdir the ZFS scripts should dump their logs to
15 logdir="/var/log/zfs"
16
17 # specify the name of the lockdir used when performing ZFS admin operations
18 lockdir="/tmp/zfs-admin-lock"
19
20 # specify the user to send email reports to
21 mailto="user@domain"
22
23 # specifu the ssh command and any options needed for accessing a remote server
24 ssh="ssh"
25
26 # specify the fqdn of the remote server to pull snapshots from to backup locally
27 # specify "localhost" if the remote server is the local machine
28 remote=
29
30 # specify the name of the local pool to store the $remote's snapshots into
31 backup_pool=
32
33 # import backup pool before replication and export backup pool after replication
34 import_export_backup_pool=0
35
36 # when this variable is set, local filesystems will be destroyed
37 # before receiving a full streams into them from the remote source.
38 # if it needs to do this, and this option is set to 0, it aborts.
39 destroy_local_filesystem_on_full_replicate=0
40
41 # set this to 1 if you want the snapshot script to run in "test" mode (not really take any snaps)
42 # leave blank if not under test
43 SNAP_UNDER_TEST=
44
45 # Specify the maximum run time in minutes that the replicate script can run for (0=no limit)
46 maxruntime=0
47
48 # Setup throttling related parameters that will rate limit the zfs send | zfs receive pipe
49 # The maximum limit a local backup can handle to avoid excessive CPU load is 10MB/s
50 throttle_enable=0
51 throttle_opt="-v -M 10"
52
53 # Specify the list of filesystems to replicate from the $remote to the $backup_pool (1 per line)
54 # The format of each line should be: pool/filesystem
55 filesystems_to_replicate="
56 "
57