example of include
This commit is contained in:
parent
e3de722cb0
commit
d7f6a4f013
2
sample.config.snippet.xml
Normal file
2
sample.config.snippet.xml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<path>/abc</path>
|
@ -19,6 +19,9 @@
|
|||||||
<!-- Each path entry is a path to back up.
|
<!-- Each path entry is a path to back up.
|
||||||
See https://borgbackup.readthedocs.io/en/stable/usage/create.html for examples of globbing, etc. -->
|
See https://borgbackup.readthedocs.io/en/stable/usage/create.html for examples of globbing, etc. -->
|
||||||
<path>/a</path>
|
<path>/a</path>
|
||||||
|
<!-- You can also include other snippets. Either absolute paths, paths relative to your backup.xml file,
|
||||||
|
or a URL. -->
|
||||||
|
<xi:include href="sample.config.snippet.xml"/>
|
||||||
<!-- Each exclude entry should be a subdirectory of a <path> (otherwise it wouldn't match, obviously).
|
<!-- Each exclude entry should be a subdirectory of a <path> (otherwise it wouldn't match, obviously).
|
||||||
See https://borgbackup.readthedocs.io/en/stable/usage/create.html for examples of globbing etc. -->
|
See https://borgbackup.readthedocs.io/en/stable/usage/create.html for examples of globbing etc. -->
|
||||||
<exclude>/a/b</exclude>
|
<exclude>/a/b</exclude>
|
||||||
|
Loading…
Reference in New Issue
Block a user