[Bug] Apps, that will be backed up, will be killed
Describe the bug Apps, that will be backup app, and are running in background will be force closed. These can be for example, Tasker, MegaSync, and other important apps. Some of them will not be restarted even after restart of the device and needs to be restarted manually.
To Reproduce Steps to reproduce the behavior:
- Run a backup of an app that is running in background. In best case, the app should show a notification. Then you can immediatelly see, that notification disappears and app gets killed.
Expected behavior The app should continue running.
Screenshots nv
Smartphone (please complete the following information):
- Device: POCO F2 Pro
- OS: crDroid Android 14
- Version: crDroid 10.1 (Android 14)
Additional context nv
This is to prevent data changing while packaging them, or the data may be broken.
Same here, e.a Afwall+, Muzei or also Lucid Launcher force close after backup, need to restart the phone and launch manually these apps.
This is to prevent data changing while packaging them, or the data may be broken.
Okay, is there may be any way to work around it without stopping the apps? An idea would be, after a file is backed up - check it against the original one with a checksum, and if they differ - back it up again, until they are same.
Maybe pausing app processes would work? Like how Neo Backup does it (related FAQ entry and code).
pausing seems not working:(, I've tried it before
Hmm, maybe we can add an option for each app to decide killing
How can you be sure backuped data will be exactly same the original data if app keeps running and changing data? At backup moment, the app must stop completely. Once it finish, just reopen the app!
How can you be sure backuped data will be exactly same the original data if app keeps running and changing data? At backup moment, the app must stop completely. Once it finish, just reopen the app!
Sorry, but i dont agree. As already described, the apps dont restart by itself even after reboot of the device. And they completely not work - messangers dont send push notifications, cloud sync apps dont sync. To open every one to ensure that its working is not an option. Other backup apps implemented it somehow.
How can you be sure backuped data will be exactly same the original data if app keeps running and changing data? At backup moment, the app must stop completely. Once it finish, just reopen the app!
Sorry, but i dont agree. As already described, the apps dont restart by itself even after reboot of the device. And they completely not work - messangers dont send push notifications, cloud sync apps dont sync. To open every one to ensure that its working is not an option. Other backup apps implemented it somehow.
Who cares if you didn't agree? I just said how things are. If you start backuping data of a running app, the data will be changed before the backuping ends. THIS IS OBVIOUS. Just open the app again after the backuping finish and don't bother the dev.