2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

040_backup.rst: quote wildcard characters

This doesn't really matter for --exclude in most cases, but it avoids
spreading bad ideas.
This commit is contained in:
Oliver Gerlich 2018-03-18 17:05:53 +01:00
parent 0279fd7212
commit 624a2d8305

View File

@ -93,7 +93,7 @@ Basic example:
*.go
# exclude foo/x/y/z/bar foo/x/bar foo/bar
foo/**/bar
$ restic -r /tmp/backup backup ~/work --exclude=*.c --exclude-file=exclude
$ restic -r /tmp/backup backup ~/work --exclude="*.c" --exclude-file=exclude
Please see ``restic help backup`` for more specific information about each exclude option.