New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Backup aborts on files with Operation not permitted
.
#628
Comments
I'm wondering about the actual issue at hand:
|
Thanks, @ericzolf!
|
Holy cow, apparently Sophos AV can cause this: https://forums.centos.org/viewtopic.php?t=70024 |
Actually, if there is a way to catch such errors, this could save quite a few people the headache I got. |
We would require the exact Exception raise in such a scenario. Ideally if
you could run this backup using `-v 9` would be helpful.
…On Mon, Oct 18, 2021 at 2:15 PM Stan Schymanski ***@***.***> wrote:
Actually, if there is a way to catch such errors, this could save quite a
few people the headache I got.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#628 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHA5I5Z7R5FXAPCSJHPRS3UHRP5HANCNFSM5GF5M5MA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
IKUS Software inc.
https://www.ikus-soft.com/
514-971-6442
130 rue Doris
St-Colomban, QC J5K 1T9
|
Errno 1 ist errno.EPERM which we already ignore at rdiff-backup/src/rdiff_backup/robust.py Line 30 in cb01639
So this isn't the issue. There must be something else, and here I agree with Patrik, we'll understand it only with a full log in debug mode. |
@schymans Could you provide more details for this issue ? Otherwise we should close this ticket. |
Sorry, I'm travelling right now and cannot re-run the backup with the verbose option. Will try next week. |
Next week was a long time ago... |
Ooops, I'm really sorry about this. After I had de-activated my antivirus the backup ran smoothly and since then the error did not re-occur, even with the antivirus active. So unfortunately, I cannot reproduce the error myself any more. I will therefore close this issue and if the problem re-occurs, I will run it with |
Bug summary
My backup keeps aborting with the following error:
Version, Python, Operating System
Call
rdiff-backup info
(version >= 2.1) orrdiff-backup -v9
and replace the following line with the output, repeat for each environment impacted:rdiff-backup call
How did you call rdiff-backup, with which parameters:
What happened and what did you expect?
As it turned out, I could not actually open either of these files on my system, as they were some weird security-enabled Adobe pdfs I had been sent. Still, I expected the backup to proceed with the files that are accessible.
I removed the corrupted files and re-ran the backup, but it failed again on a similar file. It does not even produce a traceback, here is what I get in the terminal:
And then it just proceeds to the next backup in my script. Again, I cannot open the pdf on my system, but I am pretty sure that I was able to open it earlier. I can't check, as I cannot restore an older version of the file since my previous backup has failed.
More information
If you can, please repeat the action leading to the error, adding the option
-v9
and attach the output to this bug report.I cannot right now, as it takes hours and hours before the error occurs. Will run it over night again.
The text was updated successfully, but these errors were encountered: