-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4620 from MichaelEischer/improve-irregular-file-h…
…andling Improve irregular file handling
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Bugfix: Improve errors for irregular files on Windows | ||
|
||
Since Go 1.21, most filesystem reparse points on Windows are considered to be | ||
irregular files. This caused restic to show an `error: invalid node type ""` | ||
error message for those files. | ||
|
||
We have improved the error message to include the file path for those files: | ||
`error: nodeFromFileInfo path/to/file: unsupported file type "irregular"`. | ||
As irregular files are not required to behave like regular files, it is not | ||
possible to provide a generic way to back up those files. | ||
|
||
https://github.com/restic/restic/issues/4560 | ||
https://github.com/restic/restic/pull/4620 | ||
https://forum.restic.net/t/windows-backup-error-invalid-node-type/6875 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters