Subversion Repositories zfs_utils

Rev

Rev 14 | Rev 20 | 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
14 rodolico 14
  # if set, assume target dataset is encrypted and we need
15
  # to decrypt with this key. path is
16
  # [server:]/path/on/server/filename
17
  # THIS IS BROKEN, DON'T USE
18
  # encryptionKeyPath: 0
19
  # If set, gives a path to a file on target. If that file exists
20
  # exit immediately to command line (no processing)
21
  maintenanceFlag:
7 rodolico 22
source:
10 rodolico 23
  # list of datasets to back up from source machine
7 rodolico 24
  # key is name of dataset, value is location
10 rodolico 25
  # full path is created by ip:key/target
2 rodolico 26
  dataset:
10 rodolico 27
    backups: storage
28
    iscsi: storage
29
    nfs: storage
17 rodolico 30
  # IP or FQDN of remote machine. Empty if source is local
10 rodolico 31
  server: nas
14 rodolico 32
  # If set, gives a path to a file on source. If that file exists
33
  # exit immediately to command line (no processing)
34
  maintenanceFlag:
10 rodolico 35
# whether to recursively grab child datasets
36
recurse: 1
37
# custom filter for datasets to replicate. 4 digits, a non-digit, 
38
# 2 digits, a non-digit, etc... (a YYYY-MM-DD_HH-MM timestamp)
39
filter: (\d{4}\D\d{2}\D\d{2}\D\d{2}\D\d{2})
7 rodolico 40
# bandwidth limit to 40Mb/s (5MB/s)
13 rodolico 41
bandwidth: 5M
10 rodolico 42
# Verbosity level 1, only get the limited report from the replication
7 rodolico 43
verbose: 1
10 rodolico 44
# do not do anything, just show what would be done
7 rodolico 45
dryrun: 0
17 rodolico 46
# if non-zero, do not do most things, just tell what would have been done
7 rodolico 47
testing: 0
17 rodolico 48
# if set to 1, will shut down the machine after job complete
10 rodolico 49
shutdown: 0
12 rodolico 50
# if set to a valid path, will put stats in this file. No cleanup
51
# if not full path, will place in current directory
52
stats: sync.stats.csv