Subversion Repositories zfs_utils

Rev

Rev 12 | Rev 14 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

---
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'
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
source:
  # list of datasets to back up from source machine
  # key is name of dataset, value is location
  # full path is created by ip:key/target
  dataset:
    backups: storage
    iscsi: storage
    nfs: storage
  # IP or FQDN of remote machine
  server: nas
# whether to recursively grab child datasets
recurse: 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 to 40Mb/s (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
testing: 0
# if set to 1, will shut down the machine after job complete (air gap)
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: sync.stats.csv