Subversion Repositories zfs_utils

Rev

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

---
email:
  # From header on email reports
  from: root@example.com
  # who to send report to (one address/alias only)
  notify: tech@example.com
  # base subject line on e-mail
  subject: 'Server Sync Status'
target:
  # root of replication on the local server
  # the dataset to be backed up (keys from source/dataset)
  # are used as the target
  targetDataset: pool/backup
  # fully qualiifed path where encryption key should go
  encryptionKeyPath: /tmp/keyfile
  # if this file exists, will place us in maintenance mode
  maintenanceFlag: /tmp/maintenance
  # how long to wait for maintenance flag to show up
  waitTime: 300
source:
  # whether to recursively grab child datasets
  recursive: 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})
  # list of datasets to back up from target machine
  # key is name of dataset, value is location
  # full path is created by ip:value/target
  dataset:
    files-backup: storage/Backups
    iscsi-backup: storage/Backups
    nextcloud-backups: storage/Backups
  # IP or FQDN of remote machine
  server: 192.168.1.1
  # where the encryption key is stored on remote machine
  encryptionKeyPath: /root/keyfilename
  # location of maintenance flag on remote machine
  maintenanceFlag: /root/maintenance
# bandwidth limit to 40Mb/s (5MB/s)
bandwidth: 5M
# Only get the limited report from the replication
verbose: 1
# do not do a dry run
dryrun: 0
# testing non-zero, just print things
testing: 0