--- email: # From header on email reports from: root@backup.example.org # who to send report to (one address/alias only) notify: user@example.com # base subject line on e-mail subject: 'Replicate Report' geli: # if set, will use geli to decrypt source dataset # this is the path to the keyfile on the source server # path is [server:]/path/on/server/filename # local key path (where to put the key on the local machine) # this path should include the filename # keyPath: /media/keys/keyfile # server we will get key from # server: IP_or_FQDN # remote server path (where to get the key on the remote machine) # remoteKeyPath: /path/to/keyfile # name of the pool which the geli will make up # zpool: storage # Drive list to decrypt. This is a list of drives as a space-separated string # drives: da0 da1 target: # root of replication on the target server # the dataset to be backed up (keys from source/dataset) # are used as the target dataset: storage/backup # if set, and file exist on local machine, exit immediately to command line (no processing) # maintenanceFlag: /path/to/flagfile # Number of seconds to wait for user to place maintenance flag on target # waitTime: 300 source: dataset: # list of datasets to back up from source machine # key is name of dataset, value is location # full path is created by server:key/target backups: storage iscsi: storage nfs: storage # IP or FQDN of remote machine. Empty if source is local server: IP_or_FQDN # If set, gives a path to a file on source. If that file exists # exit immediately to command line (no processing) # maintenanceFlag: /path/to/flagfile # whether to recursively grab child datasets recurse: 1 # leave target dataset unmounted unmount: 1 # do full receive, ie rollback to most recent snap and remove any snaps # that do not exist on target basically, turn the backup server into a mirror # of the data on the active server mirror: 1 # custom filter for datasets to replicate. 4 digits, a non-digit, # 2 digits, a non-digit, etc... (a YYYY-MM-DD_HH-MM timestamp) filter: (\d{4}\D\d{2}\D\d{2}\D\d{2}\D\d{2}) # bandwidth limit in BYTES per second, ie 40Mb/s is 5MB/s bandwidth: 5M # Verbosity level 1, only get the limited report from the replication verbose: 1 # do not do anything, just show what would be done dryrun: 0 # if non-zero, do not do most things, just tell what would have been done testing: 0 # if set to 1, will shut down the machine after job complete shutdown: 0 # if set to a valid path, will put stats in this file. No cleanup # if not full path, will place in current directory # stats file is a CSV file with the following fields: # startTime, endTime, elapsedTime, source, target, dataset, size, status stats: sync.stats.csv