1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00
borg/docs/usage
Thomas Waldmann 6bfdb3f630 refactor hardlink_master processing globally
borg now has the chunks list in every item with content.
due to the symmetric way how borg now deals with hardlinks using
item.hlid, processing gets much simpler.

but some places where borg deals with other "sources" of hardlinks
still need to do some hardlink management:
borg uses the HardLinkManager there now (which is not much more
than a dict, but keeps documentation at one place and avoids some
code duplication we had before).

item.hlid is computed via hardlink_id function.

support hardlinked symlinks, fixes #2379
as we use item.hlid now to group hardlinks together,
there is no conflict with the item.source usage for
symlink targets any more.

2nd+ hardlinks now add to the files count as did the 1st one.
for borg, now all hardlinks are created equal.
so any hardlink item with chunks now adds to the "file" count.

ItemFormatter: support {hlid} instead of {source} for hardlinks
2022-05-18 14:20:01 +02:00
..
general refactor hardlink_master processing globally 2022-05-18 14:20:01 +02:00
benchmark.rst docs: usage: add benchmark cpu and key change-location 2022-03-26 23:40:03 +01:00
benchmark_cpu.rst.inc docs: usage: add benchmark cpu and key change-location 2022-03-26 23:40:03 +01:00
benchmark_crud.rst.inc build_usage 2019-09-07 00:27:17 +02:00
borgfs.rst [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:06:00 +01:00
borgfs.rst.inc build_usage (master) 2017-11-25 14:35:52 +01:00
break-lock.rst.inc python setup.py build_usage 2017-07-23 17:12:01 +02:00
change-passphrase.rst.inc build_usage (master) 2017-11-25 14:35:52 +01:00
check.rst docs: split usage 2017-06-07 00:38:48 +02:00
check.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
common-options.rst.inc build_usage 2021-05-11 22:33:55 +02:00
compact.rst compact: move --cleanup-commits description from examples to docs 2019-05-06 23:10:07 +02:00
compact.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
config.rst Add borg config command (fixes #3304) 2017-11-23 14:51:54 -08:00
config.rst.inc build_usage 2019-09-07 00:27:17 +02:00
create.rst add examples for --paths-from-stdin, --paths-from-command, --paths-separator (#5644) 2021-01-27 00:15:14 +01:00
create.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
debug.rst docs: split usage 2017-06-07 00:38:48 +02:00
delete.rst Add a --list switch to borg delete (#5503) 2020-12-11 19:11:47 +01:00
delete.rst.inc build_usage 2022-02-19 18:47:47 +01:00
diff.rst add --json-lines option to diff command 2021-03-13 11:50:55 -05:00
diff.rst.inc build_usage 2022-02-19 18:47:47 +01:00
export-tar.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
extract.rst docs: extract: move cwd note to --help 2017-06-21 00:16:25 +02:00
extract.rst.inc build_usage 2022-02-19 18:47:47 +01:00
general.rst documented workaround for getting help for sub-sub-commands (#6346) 2022-05-13 18:29:43 +02:00
help.rst docs: split usage 2017-06-07 00:38:48 +02:00
help.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
import-tar.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
info.rst docs: info: update and add examples 2017-06-29 11:49:27 +02:00
info.rst.inc build_usage 2019-09-07 00:27:17 +02:00
init.rst Remove scp syntax for locations (#6697) 2022-05-15 21:55:19 +02:00
init.rst.inc build_usage 2022-04-17 00:07:12 +02:00
key.rst Argon2: documentation and changelog (#6560) 2022-04-11 11:21:07 +02:00
key_change-algorithm.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
key_change-location.rst.inc docs: usage: add benchmark cpu and key change-location 2022-03-26 23:40:03 +01:00
key_change-passphrase.rst.inc build_usage (master) 2017-11-25 14:35:52 +01:00
key_export.rst.inc build_usage 2022-02-05 17:52:25 +01:00
key_import.rst.inc build_usage 2020-10-04 20:32:38 +02:00
key_migrate-to-repokey.rst.inc python setup.py build_usage 2017-07-23 17:12:01 +02:00
list.rst docs: clarify pattern usage with commands (#5959) 2021-08-21 16:02:11 +02:00
list.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
lock.rst docs: split usage 2017-06-07 00:38:48 +02:00
mount.rst docs: FUSE "versions" view is not experimental any more 2022-01-31 21:01:49 +01:00
mount.rst.inc build_usage 2022-02-05 17:52:25 +01:00
notes.rst Fix typos 2021-01-07 17:54:33 +01:00
prune.rst update docs about separated compaction 2018-07-14 14:53:23 +02:00
prune.rst.inc build_usage 2022-01-23 15:52:21 +01:00
recreate.rst docs: recreate: fix wrong "remove unwanted files" example 2017-07-21 11:51:46 +02:00
recreate.rst.inc build_usage 2022-02-05 17:52:25 +01:00
rename.rst docs: split usage 2017-06-07 00:38:48 +02:00
rename.rst.inc docs: use DOM ready event, not document loaded event 2017-06-20 15:48:30 +02:00
serve.rst borg serve: improve ssh forced commands docs (#6083) 2021-12-10 18:11:25 +01:00
serve.rst.inc build_usage 2019-02-24 20:39:42 +01:00
tar.rst import/export-tar: --tar-format=BORG: roundtrip ALL item metadata, fixes #5830 2022-04-02 22:25:44 +02:00
umount.rst.inc docs: use DOM ready event, not document loaded event 2017-06-20 15:48:30 +02:00
upgrade.rst remove PassphraseKey code and borg key migrate-to-repokey command 2022-03-06 15:26:18 +01:00
upgrade.rst.inc python setup.py build_usage 2022-04-14 21:25:12 +02:00
usage_general.rst.inc [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:22:59 +01:00
with-lock.rst.inc build_usage 2019-02-24 20:39:42 +01:00