mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
update docs about hardlinked symlinks limitation
(cherry picked from commit d535c6a25d)
This commit is contained in:
parent
131c37db59
commit
936fce91c6
2 changed files with 6 additions and 0 deletions
|
|
@ -633,6 +633,9 @@ Number of files: {0.stats.nfiles}'''.format(
|
|||
return 'b' # block device
|
||||
|
||||
def process_symlink(self, path, st):
|
||||
# note: we can not support hardlinked symlinks,
|
||||
# due to the dual-use of item[b'source'], see issue #2343:
|
||||
# hardlinked symlinks will be archived [and extracted] as non-hardlinked symlinks.
|
||||
with backup_io():
|
||||
source = os.readlink(path)
|
||||
item = {b'path': make_path_safe(path), b'source': source}
|
||||
|
|
|
|||
|
|
@ -94,6 +94,9 @@ Which file types, attributes, etc. are *not* preserved?
|
|||
Archive extraction has optional support to extract all-zero chunks as
|
||||
holes in a sparse file.
|
||||
* filesystem specific attributes, like ext4 immutable bit, see :issue:`618`.
|
||||
* For hardlinked symlinks, the hardlinking can not be archived (and thus,
|
||||
the hardlinking will not be done at extraction time). The symlinks will
|
||||
be archived and extracted as non-hardlinked symlinks, see :issue:`2379`.
|
||||
|
||||
Are there other known limitations?
|
||||
----------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue