rustic_core icon indicating copy to clipboard operation
rustic_core copied to clipboard

More useful error message than "No such file or directory"

Open AlphaJack opened this issue 1 year ago • 0 comments

I have a profile that if I backup returns this error message:

error: opening file failed: `Os { code: 2, kind: NotFound, message: "No such file or directory" }`

How can I understand better the issue, i.e. of which file or directory it is talking about? The log file at DEBUG level isn't helpful in this regard:

# [...]

2024-10-03T02:38:22.758907955Z [DEBUG] (1) rustic_core::archiver::tree_archiver: changed   tree: "/home/jack/Documents" 2.1 kiB
2024-10-03T02:38:22.7590611Z [DEBUG] (1) rustic_core::archiver::tree_archiver: changed   tree: "/home/jack" 149 B
2024-10-03T02:38:22.759243073Z [DEBUG] (1) rustic_core::archiver::tree_archiver: changed   tree: "/home" 144 B
2024-10-03T02:38:27.20479552Z [DEBUG] (1) rustic_core::archiver::tree_archiver: changed   tree: "" 144 B

AlphaJack avatar Oct 03 '24 02:10 AlphaJack