Started explanation of config file
parent
af61e281e9
commit
f3cc26f86d
|
@ -0,0 +1,38 @@
|
|||
# This is an example config file for the backup tool.
|
||||
|
||||
# Here, you can set defaults which apply to all specs
|
||||
defaults:
|
||||
# This option applies to all categories
|
||||
all:
|
||||
notify:
|
||||
title: "title"
|
||||
events:
|
||||
- 'random'
|
||||
|
||||
# These are category-specific & take precedence of the all group
|
||||
volumes:
|
||||
notify:
|
||||
title: "volume"
|
||||
directories:
|
||||
|
||||
# This is where we define the specs
|
||||
specs:
|
||||
# There are 3 categories: volumes, directories & containers
|
||||
volumes:
|
||||
# Each spec has a name, which can be used in the destination field
|
||||
# e.g. in the default value
|
||||
test-spec:
|
||||
source: '/some/path'
|
||||
destination: '/some/other/{name}'
|
||||
limit: 7
|
||||
|
||||
test-2:
|
||||
source: '/path/to'
|
||||
destination: '/to/some/other/path'
|
||||
limit: 2
|
||||
|
||||
containers:
|
||||
nextcloud_app:
|
||||
cmd: ''
|
||||
extension: 'tar.gz'
|
||||
directories:
|
|
@ -1,26 +0,0 @@
|
|||
defaults:
|
||||
all:
|
||||
notify:
|
||||
title: "title"
|
||||
events:
|
||||
- 'random'
|
||||
volumes:
|
||||
directories:
|
||||
|
||||
specs:
|
||||
volumes:
|
||||
test-spec:
|
||||
source: '/some/path'
|
||||
destination: '/some/other/path'
|
||||
limit: 7
|
||||
|
||||
test-2:
|
||||
source: '/path/to'
|
||||
destination: '/to/some/other/path'
|
||||
limit: 2
|
||||
|
||||
containers:
|
||||
nextcloud_app:
|
||||
cmd: ''
|
||||
extension: 'tar.gz'
|
||||
directories:
|
Loading…
Reference in New Issue