1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +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
benchmark_cpu.rst.inc
benchmark_crud.rst.inc
borgfs.rst
borgfs.rst.inc
break-lock.rst.inc
change-passphrase.rst.inc
check.rst
check.rst.inc
common-options.rst.inc
compact.rst
compact.rst.inc
config.rst
config.rst.inc
create.rst
create.rst.inc
debug.rst
delete.rst
delete.rst.inc
diff.rst
diff.rst.inc
export-tar.rst.inc
extract.rst
extract.rst.inc
general.rst
help.rst
help.rst.inc
import-tar.rst.inc
info.rst
info.rst.inc
init.rst
init.rst.inc
key.rst
key_change-algorithm.rst.inc
key_change-location.rst.inc
key_change-passphrase.rst.inc
key_export.rst.inc
key_import.rst.inc
key_migrate-to-repokey.rst.inc
list.rst
list.rst.inc
lock.rst
mount.rst
mount.rst.inc
notes.rst
prune.rst
prune.rst.inc
recreate.rst
recreate.rst.inc
rename.rst
rename.rst.inc
serve.rst
serve.rst.inc
tar.rst
umount.rst.inc
upgrade.rst
upgrade.rst.inc
usage_general.rst.inc
with-lock.rst.inc