Subversion Repositories zfs_utils

Rev

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

Rev Author Line No. Line
2 rodolico 1
---
2
email:
3
  # From header on email reports
4
  from: root@example.com
5
  # who to send report to (one address/alias only)
6
  notify: tech@example.com
7
  # base subject line on e-mail
8
  subject: 'Server Sync Status'
7 rodolico 9
target:
2 rodolico 10
  # root of replication on the local server
7 rodolico 11
  # the dataset to be backed up (keys from source/dataset)
12
  # are used as the target
2 rodolico 13
  targetDataset: pool/backup
14
  # fully qualiifed path where encryption key should go
15
  encryptionKeyPath: /tmp/keyfile
16
  # if this file exists, will place us in maintenance mode
17
  maintenanceFlag: /tmp/maintenance
18
  # how long to wait for maintenance flag to show up
19
  waitTime: 300
7 rodolico 20
source:
21
  # whether to recursively grab child datasets
22
  recursive: 1
23
  # custom filter for datasets to replicate. 4 digits, a non-digit, 
24
  # 2 digits, a non-digit, etc... (a YYYY-MM-DD_HH-MM timestamp)
25
  filter: (\d{4}\D\d{2}\D\d{2}\D\d{2}\D\d{2})
26
  # list of datasets to back up from target machine
27
  # key is name of dataset, value is location
28
  # full path is created by ip:value/target
2 rodolico 29
  dataset:
30
    files-backup: storage/Backups
31
    iscsi-backup: storage/Backups
32
    nextcloud-backups: storage/Backups
33
  # IP or FQDN of remote machine
7 rodolico 34
  server: 192.168.1.1
2 rodolico 35
  # where the encryption key is stored on remote machine
36
  encryptionKeyPath: /root/keyfilename
37
  # location of maintenance flag on remote machine
38
  maintenanceFlag: /root/maintenance
7 rodolico 39
# bandwidth limit to 40Mb/s (5MB/s)
40
bandwidth: 5M
41
# Only get the limited report from the replication
42
verbose: 1
43
# do not do a dry run
44
dryrun: 0
45
# testing non-zero, just print things
46
testing: 0