Subversion Repositories zfs_utils

Rev

Rev 12 | Rev 14 | 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
10 rodolico 4
  from: root@backup.example.org
2 rodolico 5
  # who to send report to (one address/alias only)
10 rodolico 6
  notify: user@example.com
2 rodolico 7
  # base subject line on e-mail
10 rodolico 8
  subject: 'Replicate Report'
7 rodolico 9
target:
10 rodolico 10
  # root of replication on the target server
7 rodolico 11
  # the dataset to be backed up (keys from source/dataset)
12
  # are used as the target
10 rodolico 13
  dataset: storage/backup
7 rodolico 14
source:
10 rodolico 15
  # list of datasets to back up from source machine
7 rodolico 16
  # key is name of dataset, value is location
10 rodolico 17
  # full path is created by ip:key/target
2 rodolico 18
  dataset:
10 rodolico 19
    backups: storage
20
    iscsi: storage
21
    nfs: storage
2 rodolico 22
  # IP or FQDN of remote machine
10 rodolico 23
  server: nas
24
# whether to recursively grab child datasets
25
recurse: 1
26
# custom filter for datasets to replicate. 4 digits, a non-digit, 
27
# 2 digits, a non-digit, etc... (a YYYY-MM-DD_HH-MM timestamp)
28
filter: (\d{4}\D\d{2}\D\d{2}\D\d{2}\D\d{2})
7 rodolico 29
# bandwidth limit to 40Mb/s (5MB/s)
13 rodolico 30
bandwidth: 5M
10 rodolico 31
# Verbosity level 1, only get the limited report from the replication
7 rodolico 32
verbose: 1
10 rodolico 33
# do not do anything, just show what would be done
7 rodolico 34
dryrun: 0
10 rodolico 35
# if non-zero, do not do most things
7 rodolico 36
testing: 0
10 rodolico 37
# if set to 1, will shut down the machine after job complete (air gap)
38
shutdown: 0
12 rodolico 39
# if set to a valid path, will put stats in this file. No cleanup
40
# if not full path, will place in current directory
41
stats: sync.stats.csv