NeoApplications / Neo-Backup

backup manager for android
GNU Affero General Public License v3.0
2.37k stars 120 forks source link

[Bug] backup stuck in 8.3 #729

Closed benoiton closed 1 year ago

benoiton commented 1 year ago

Description

Backup does not work anymore with 8.3.0. Backup seems to start, but the progress bar in status bar shows no progression. After a while, all seems stuck. System begins to alert about non responding apps.

Backup is OK with 8.2.5. (before upgrade and after downgrade)

I did not see anything in logcat.

Steps To Reproduce

  1. Install neobackup 8.3.0 from F-Droid
  2. Create a planned backup (user apps, apk and all data)
  3. Run it

System Information(please complete the following information):

hg42 commented 1 year ago

I guess, you have many packages.

For unknown reasons (probably depending on library versions), the Android WorkManger now starts backups for all packages at once, while it was about number of cores backups in parallel before.

It was kind of invisible, because it's not the number of threads, but coroutines.

Depending on device, Android version, ROM, etc. each system can run a different number of coroutines in parallel without crawling.

The issue is already solved. We now use a limited parallelism (can be changed via dev setting). You can try the pinned alpha version in the Telegram group (or one of the pumpkin apks).

benoiton commented 1 year ago

Great! I will test that ASAP. Thanks.

benoiton commented 1 year ago

I do confirm version 8.3.1 from F-Droid now works as expected for me. :+1:

hg42 commented 1 year ago

thanks