mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
restorer: Add a note on hardlink metadata
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
This commit is contained in:
parent
9e24154ec9
commit
c2bcb764cd
@ -171,7 +171,8 @@ func (res *Restorer) restoreHardlinkAt(node *restic.Node, target, path, location
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "CreateHardlink")
|
||||
}
|
||||
return res.restoreNodeMetadataTo(node, target, location)
|
||||
// TODO investigate if hardlinks have separate metadata on any supported system
|
||||
return res.restoreNodeMetadataTo(node, path, location)
|
||||
}
|
||||
|
||||
// RestoreTo creates the directories and files in the snapshot below dst.
|
||||
|
Loading…
Reference in New Issue
Block a user