mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-21 13:47:16 +00:00
Revert "docs: excluded parent dir's metadata can't restore. (#6062)"
This reverts commit 7e746e10e7
.
The commit was modifying auto-generated files instead of their sources.
See the next commit for the fix.
This commit is contained in:
parent
8b61fd308c
commit
1911c81cbb
2 changed files with 1 additions and 11 deletions
|
@ -118,8 +118,4 @@ pass over the archive metadata.
|
|||
.. note::
|
||||
|
||||
Currently, extract always writes into the current working directory ("."),
|
||||
so make sure you ``cd`` to the right place before calling ``borg extract``.
|
||||
|
||||
When parent directories are not extracted (because of using file/directory selection
|
||||
or any other reason), borg can not restore parent directories' metadata, e.g. owner,
|
||||
group, permission, etc.
|
||||
so make sure you ``cd`` to the right place before calling ``borg extract``.
|
|
@ -167,12 +167,6 @@ Examples::
|
|||
a directory, it won't recurse into it and won't discover any potential matches for
|
||||
include rules below that directory.
|
||||
|
||||
.. note::
|
||||
|
||||
It's possible that a sub-directory/file is matched while parent directories are not.
|
||||
In that case, parent directories are not backed up thus their user, group, permission,
|
||||
etc. can not be restored.
|
||||
|
||||
Note that the default pattern style for ``--pattern`` and ``--patterns-from`` is
|
||||
shell style (`sh:`), so those patterns behave similar to rsync include/exclude
|
||||
patterns. The pattern style can be set via the `P` prefix.
|
||||
|
|
Loading…
Reference in a new issue