Skip to content
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

Improve handling of removed/unavailable media during backup or restore #766

Open
t-m-w opened this issue Oct 3, 2024 · 0 comments
Open

Comments

@t-m-w
Copy link
Collaborator

t-m-w commented Oct 3, 2024

TODO: How does this affect e.g. WebDAV? That's a more likely scenario for this to be a legitimate problem than a USB drive being unplugged.

Backup

If a backup location becomes unavailable during the backup of user data (of apps), the notification may appear to keep going, especially for apps with nothing to back up. This looks very odd. Then, when it reaches an app with something to back up, it appears to hang.

Restore

If a backup location is unavailable or becomes unavailable during restoration, throw a user-visible error or complaint. Currently, for example, if a USB drive becomes unavailable before the restore-data phase, then when that phase starts, the restore process hangs on "System package manager", with the spinning progress thing next to it. Unclear if this will ever time out or not. (Edit: After about 30 minutes, there has been no timeout; it's still like this.)

Screenshot

If the restore has already started, however (progressed past the system package manager), and the media is removed (USB flash drive in this case), the remaining apps fail quickly, and an error is shown, so that case is fine, I think.

@t-m-w t-m-w changed the title Improve handling of removed/unavailable media during restore Improve handling of removed/unavailable media during backup or restore Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant