restorer: Add a note on hardlink metadata
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
This commit is contained in:
parent
9e24154ec9
commit
c2bcb764cd
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue