Subversion Repositories zfs_utils

Rev

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

Rev 13 Rev 14
Line 9... Line 9...
9
target:
9
target:
10
  # root of replication on the target server
10
  # root of replication on the target server
11
  # the dataset to be backed up (keys from source/dataset)
11
  # the dataset to be backed up (keys from source/dataset)
12
  # are used as the target
12
  # are used as the target
13
  dataset: storage/backup
13
  dataset: storage/backup
-
 
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:
14
source:
22
source:
15
  # list of datasets to back up from source machine
23
  # list of datasets to back up from source machine
16
  # key is name of dataset, value is location
24
  # key is name of dataset, value is location
17
  # full path is created by ip:key/target
25
  # full path is created by ip:key/target
18
  dataset:
26
  dataset:
19
    backups: storage
27
    backups: storage
20
    iscsi: storage
28
    iscsi: storage
21
    nfs: storage
29
    nfs: storage
22
  # IP or FQDN of remote machine
30
  # IP or FQDN of remote machine
23
  server: nas
31
  server: nas
-
 
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:
24
# whether to recursively grab child datasets
35
# whether to recursively grab child datasets
25
recurse: 1
36
recurse: 1
26
# custom filter for datasets to replicate. 4 digits, a non-digit, 
37
# 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)
38
# 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})
39
filter: (\d{4}\D\d{2}\D\d{2}\D\d{2}\D\d{2})