1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

Merge pull request #4600 from d7415/pattern_example

Add example of exclude-norecurse rule in help patterns
This commit is contained in:
TW 2019-06-02 22:06:54 +02:00 committed by GitHub
commit 35373b8b93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2181,7 +2181,9 @@ def do_break_lock(self, args, repository):
# include susans home # include susans home
+ /home/susan + /home/susan
# don't backup the other home directories # don't backup the other home directories
- /home/*\n\n''') - /home/*
# don't even look in /proc
! /proc\n\n''')
helptext['placeholders'] = textwrap.dedent(''' helptext['placeholders'] = textwrap.dedent('''
Repository (or Archive) URLs, ``--prefix``, ``--glob-archives``, ``--comment`` Repository (or Archive) URLs, ``--prefix``, ``--glob-archives``, ``--comment``
and ``--remote-path`` values support these placeholders: and ``--remote-path`` values support these placeholders: