-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
MacOS: Backup stuck. Command-line with same args works. Not sure how to debug. #486
Comments
Hey, not great. Is this reproducible e.g. every time you run a backup operation through backrest? And is it always stalling on the same file? I'd be curious if you can try killing Backrest itself and dumping the stack e.g. is backrest hung if you press ctrl+c on the process? If you send sigkill twice in quick succession backrest will forcefully exit and dump running coroutines to the console. It's possible something is deadlocking. Odd though, I use B2 on all of my systems and haven't seen this happen. Definitely interested to look into it. |
I've just noticed you're running on MacOS -- this is likely macOS's file permissions kicking in. It may be that your global restic install is trusted but Backrest and Backrest's managed version of restic are untrusted / getting blocked. Try running Will be very interested to hear what works for you, would like to add this to the readme if there are undocumented footguns here w/MacOS. |
Hey! Thanks for the considered answer. I suspect your hunch is correct. Other backups work just fine, it's only on this particular container. Here is what I tried in order:
I'm stuckon number 2, because its a document and not an executable I can't add it through the GUI. Any pointers? |
Hmm. Surprising that nothing pops up requesting access -- try chmod +x on the executable such that it'll show up in that UI. I should also go ahead and fix the restic installer to actually chmod the binary into an executable if I'm not doing that correctly. |
I can also confirm this is perhaps specific to |
Hey, did you have any ideas for this? I used Kopia which to see if that could reproduce the behaviour with permissions. It seems to also get blocked, but full disk permissions overcome it. |
Hey, I now have an apple silicon mac to test on. In the latest version of backrest, restic is now consistently installed at |
Describe the bug
Backing up my Apple photos to B2 is stuck indefinitely. Backing up via the command-line manually works as normal.
To Reproduce
Expected behavior
Backup should work like restic cli.
Screenshots
in this instance I've manually killed the backup via the GUI. This is all it ever shows. The sqlite file is only around 200mb.
Platform Info
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: