seedvault-app / seedvault

A backup application for the Android Open Source Project.
1.25k stars 74 forks source link

Add bells and whistles when backup sync breaks #537

Open uniqx opened 1 year ago

uniqx commented 1 year ago

I've setup SeedVault (or actually "Backup" app on CalyxOS) to do backups to Nextcloud. My Nextcloud app (from F-Droid) seems to be working without any issues ever since I've set it up. However when I looked into SeedVault today to check if a particular app gets backed up or not, to my very big supersize I has to see that Seedvault didn't do any backups in 2 months!

I think there should be a very prominent warning when backups fail repeatedly!

nettnikl commented 1 year ago

This is depending on being able to even recognize this dangerous situation. So, this depends on https://github.com/seedvault-app/seedvault/issues/290 imo.

grote commented 11 months ago

Can you please post or send the output of adb shell dumpsys backup (it may include data considered private)?

uniqx commented 11 months ago

I've sent the dump on a private channel.

uniqx commented 11 months ago

Okay, here are some more screenshots. So here's what my list app backups looks like right now:

As you can see, a lot of apps are not getting backed up, they're in "waiting to get backed up ..." state.

Another peculiarity is that when I scroll through app backup status in SeedVault, I see "Waiting to back up ..." a lot. For only 4 apps I see "Backed up 21 hours ago". However in SeedVault settings it claims "Last Backup: 3 hours ago".

This is pretty confusing, I think it should track successful backups and backup attempts separately and display something that makes more sense ...

Inside my Nextcloud in the Uploads section there's a list of failed uploads from SeedVault. Juding from the error message it seems Seedvault might have already deleted the backup files, before Nextcloud had a chance to upload them?