trying to open these files with another program (Notepad++) results in a “cannot open file” error message and a An error was detected on device during a paging operation. warning in the windows event viewer.
It may well be that my drive is on its way out, but I’d still like for urbackup to perform backups of all the other files. I know I could just add these files to the exclusion list, but is it possible to treat these errors as warnings instead?
I have archives going back years, so I’m not too worried about corrupted files being backed up. I’d just rather have unreadable files skipped (and a warning generated for such an event) than a backup job not being completed at all (which results in no files being backed up at all)
As a workaround I’ve added the affected files to the ignore list. I’ve already tried chkdsk etc, but that’s beyond the scope of this thread.
Urbackup may not be designed for this edge case, but also does not fail catastrophically when encountering unreadable files. I’m just not sure failing the entire backup job is better than skipping unreadable files.
Think about it from the alternative angle, where a backup skips files and doesn’t report as failing [the dodgy files] and you wanted to go back to recover…only to find it’s borked…
This is actually similar to something I had to point out to some permanent staff when I was doing a project piece a few years ago - albeit they were cancelling the BExec job so they could get the tape taken off-site…
Guys were so worried about getting the tape out, they didn’t even consider that the backup was pretty pointless, as was unable to ensure the files could be recovered…ended up getting the manager to agree to retaining the last tape on-site for an extra day, as the tape guy arrived about 5 hours before the [long] daily job completed…
Anyway, you should be able to add the file/s that are having issues to the exclusion list (in Settings) so that the job can complete the files that aren’t FUBAR and you can have the success results…
Yeah, I’d just delete those files (after inspecting if they need to be rescued). Changes are they are actually causing issues with e.g. Thunderbird. If you restore them from backup etc. it’ll just reload the mail data from IMAP.
There is also the advanced setting on the server named Do not fail backups in case of hash mismatches or read errors …
thanks for the suggestion. Thunderbird has not had any (obvious) issues with the unreadable files until now. I’ll try deleting and restoring the files from backups and see what happens
the drive died before I could try the Urbackup Server option and restoring unreadable files suggestions, but thanks to the ignore list workaround I have backups up until the failure.