Subversion Repositories zfs_utils

Rev

Rev 2 | Rev 10 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 4... Line 4...
4
  from: root@example.com
4
  from: root@example.com
5
  # who to send report to (one address/alias only)
5
  # who to send report to (one address/alias only)
6
  notify: tech@example.com
6
  notify: tech@example.com
7
  # base subject line on e-mail
7
  # base subject line on e-mail
8
  subject: 'Server Sync Status'
8
  subject: 'Server Sync Status'
9
localMachine:
9
target:
10
  # root of replication on the local server
10
  # root of replication on the local server
-
 
11
  # the dataset to be backed up (keys from source/dataset)
-
 
12
  # are used as the target
11
  targetDataset: pool/backup
13
  targetDataset: pool/backup
12
  # fully qualiifed path where encryption key should go
14
  # fully qualiifed path where encryption key should go
13
  encryptionKeyPath: /tmp/keyfile
15
  encryptionKeyPath: /tmp/keyfile
14
  # if this file exists, will place us in maintenance mode
16
  # if this file exists, will place us in maintenance mode
15
  maintenanceFlag: /tmp/maintenance
17
  maintenanceFlag: /tmp/maintenance
16
  # how long to wait for maintenance flag to show up
18
  # how long to wait for maintenance flag to show up
17
  waitTime: 300
19
  waitTime: 300
-
 
20
source:
-
 
21
  # whether to recursively grab child datasets
18
remoteMachine:
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})
19
  # list of datasets to back up from remote machine
26
  # list of datasets to back up from target machine
20
  # key is name of dataset
27
  # key is name of dataset, value is location
21
  # value is location
28
  # full path is created by ip:value/target
22
  dataset:
29
  dataset:
23
    files-backup: storage/Backups
30
    files-backup: storage/Backups
24
    iscsi-backup: storage/Backups
31
    iscsi-backup: storage/Backups
25
    nextcloud-backups: storage/Backups
32
    nextcloud-backups: storage/Backups
26
  # IP or FQDN of remote machine
33
  # IP or FQDN of remote machine
27
  ip: 192.168.1.1
34
  server: 192.168.1.1
28
  # where the encryption key is stored on remote machine
35
  # where the encryption key is stored on remote machine
29
  encryptionKeyPath: /root/keyfilename
36
  encryptionKeyPath: /root/keyfilename
30
  # location of maintenance flag on remote machine
37
  # location of maintenance flag on remote machine
31
  maintenanceFlag: /root/maintenance
38
  maintenanceFlag: /root/maintenance
-
 
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