Merge pull request #3780 from jkmw/fix/2578

Remove existing path before restoring a symlink
This commit is contained in:
Michael Eischer
2022-09-24 12:34:42 +02:00
committed by GitHub
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: Make sure that symlinks can be created during recovery
When restoring a symlink, restic reported an error if the target path already existed.
With this change, the potentially existing target path is first removed before the symlink is recreated.
https://github.com/restic/restic/issues/2578
https://github.com/restic/restic/pull/3780