readme: added examples for xtraLocations
This commit is contained in:
parent
fa84894a7d
commit
2d1040bc47
13
README.md
13
README.md
@ -167,6 +167,15 @@ like borg to include in the backup. The sample file, *'xtraLocations.borg'*
|
|||||||
contains the most likely files you'd want to include assuming you're using a
|
contains the most likely files you'd want to include assuming you're using a
|
||||||
standard setup like it outline in my blog.
|
standard setup like it outline in my blog.
|
||||||
|
|
||||||
|
The following would include all files in the home folder for users *'foo'* and
|
||||||
|
*'bar'* and any conf files in *'/etc/someProgram'*:
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
/home/foo/
|
||||||
|
/home/bar/
|
||||||
|
/etc/someProgram/*.conf
|
||||||
|
```
|
||||||
|
|
||||||
You can leave this line blank to tell borg to only backup your NextCloud data
|
You can leave this line blank to tell borg to only backup your NextCloud data
|
||||||
directory and the SQL dump. However, this is pretty unusual since you would not
|
directory and the SQL dump. However, this is pretty unusual since you would not
|
||||||
be including any configuration files, webserver configurations, etc. If you
|
be including any configuration files, webserver configurations, etc. If you
|
||||||
@ -178,8 +187,8 @@ This points to a plain-text file containing borg-specific patterns describing
|
|||||||
what files you'd like borg to ignore during the backup. The sample file,
|
what files you'd like borg to ignore during the backup. The sample file,
|
||||||
*'excludeLocations.borg'* contains a list of directories to exclude assuming a
|
*'excludeLocations.borg'* contains a list of directories to exclude assuming a
|
||||||
standard NextCloud install -- the previews directory and the cache directory.
|
standard NextCloud install -- the previews directory and the cache directory.
|
||||||
You need to consult the borg documentation to understand how to specify any
|
You need to run *'borg help patterns'* for help on how to specify any additional
|
||||||
additional exclusion patterns.
|
exclusion patterns.
|
||||||
|
|
||||||
##### purge timeframe options
|
##### purge timeframe options
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user