1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

Merge pull request #5266 from fantasya-pbem/docs/5165_recreate-list-item-flags_master

docs: point to borg create --list item flags in recreate usage, fixes #5165
This commit is contained in:
TW 2020-07-30 12:12:17 +02:00 committed by GitHub
commit 9d96d78d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2564,6 +2564,7 @@ def build_parser(self):
rst_plain_text_references = { rst_plain_text_references = {
'a_status_oddity': '"I am seeing A (added) status for a unchanged file!?"', 'a_status_oddity': '"I am seeing A (added) status for a unchanged file!?"',
'separate_compaction': '"Separate compaction"', 'separate_compaction': '"Separate compaction"',
'list_item_flags': '"Item flags"',
} }
def process_epilog(epilog): def process_epilog(epilog):
@ -3110,6 +3111,8 @@ def define_borg_mount(parser):
and not include any other contents of the containing folder, this can be enabled and not include any other contents of the containing folder, this can be enabled
through using the ``--keep-exclude-tags`` option. through using the ``--keep-exclude-tags`` option.
.. _list_item_flags:
Item flags Item flags
++++++++++ ++++++++++
@ -4118,7 +4121,7 @@ def define_borg_mount(parser):
Depending on the PATHs and patterns given, recreate can be used to permanently Depending on the PATHs and patterns given, recreate can be used to permanently
delete files from archives. delete files from archives.
When in doubt, use ``--dry-run --verbose --list`` to see how patterns/PATHS are When in doubt, use ``--dry-run --verbose --list`` to see how patterns/PATHS are
interpreted. interpreted. See :ref:`list_item_flags` in ``borg create`` for details.
The archive being recreated is only removed after the operation completes. The The archive being recreated is only removed after the operation completes. The
archive that is built during the operation exists at the same time at archive that is built during the operation exists at the same time at