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

Schedued backups are started over and over #933

Open
5 tasks done
jochen-01 opened this issue Jan 1, 2025 · 9 comments
Open
5 tasks done

Schedued backups are started over and over #933

jochen-01 opened this issue Jan 1, 2025 · 9 comments

Comments

@jochen-01
Copy link

Guidelines

  • I have read the FAQ and it doesn't cover the issue.
  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I'm on the latest version.
  • I'm not using a test build (alpha/beta/release-candidate).
  • This issue contains only one bug.

Describe the bug

Configure a backup schedule, in my case at 0:05 once a week.

Expected Behavior

When a scheduled backup time approaches it is started multiple times. Backup processes are started until CPU is used 100%.
Phone heats up and is not usable any more.
To "solve" it I went back to 8.3.6, which works as expected.

Neo Backup's Version

8.3.10

Installation Source

Official F-Droid repo

Last Known Working Version

8.3.6

Relevant information

  • Device: Fairphone 4
  • Android Version: 11
  • ROM: (AOSP, CalyxOS, MIUI, GOS...) stock Android
@cy1der
Copy link

cy1der commented Jan 3, 2025

Experienced this today too, my scheduled backup isn't even enabled as well (I manually trigger it via intents in my Tasker automations).

@TheLastIteration
Copy link

I can confirm the issue. It starts just randomly in any time of day.

@machiav3lli
Copy link
Member

There seems to be some people effected by this and others who aren't (8.3.11 doesn't change much on this front), but it'll be the main topic for next release. For now just disable the schedules and run zhem manually when wished.

@cy1der
Copy link

cy1der commented Jan 11, 2025

Thanks for the heads up. I'd just like to reiterate that my schedule isn't even enabled when this happens (for me). I use Tasker to trigger the backup on specific conditions (screenshots provided). Now yes with this scenario it could be an "issue on my end" but I haven't edited the automation since I first installed Neo Backup several months ago. Not sure where the issue lies.

Screenshot_20250111-001533.png

Screenshot_20250111-001614.png

Screenshot_20250111-001630.png

Screenshot_20250111-001620.png

Honestly this is probably irrelevant when it comes to debugging, but whatever lol

@DJCrashdummy
Copy link

DJCrashdummy commented Jan 15, 2025

i have to confirm that this bug is still present in version 8.3.11 (fdroid build).

for me it even seems to be the case if i start a scheduled backup manually... at the latest - for sure after completing the backup - if i swipe Neo Backup away from the app-history (not even a force close via app-info) it starts over again.

...unfortunately i had to go back to version 8.3.8 to avoid the annoying filter-bug (#928) and this even more severe bug. 😦

@Dogora
Copy link

Dogora commented Jan 19, 2025

Confirmed with my Pixel 4a (sunfish) running LineageOS 21.0, F-Droid build 8.3.10.

You have to be quick to force close the app or it will just keep going.

I had set up schedules to make it easier for me to perform batch backups, but they were never enabled. Only one of three schedules was running free. On a whim, I toggled the enable boxes on then off, but that made it worse, as all schedules I configured started running amok.

@justasking435
Copy link

justasking435 commented Jan 23, 2025

something simmilar happens to me on android 15 (lineageOS 22.1) on a xiaomi redmi note 10 pro (sweet) with neo backup 8.3.11
i don't use automatic sheduled backups though
i manually start my backup

when i once made a backup manually, neobackup is starting the same backup again by itself in the background if i close the app (but only once i think) .
it doesn't matter if i just close the app or if i kill the app.
the same thing happens if i don't close the app but restart my phone.

that forces me to either abort the backup(in the notifications of my phone), wich leads to broken backup data or to let it just happen... wich leads to two practically identical backups and the loss of the previously made backup.

it also happened when i changed something in that backup preset(or backup plan?). i tried to set a time for this backup preset and activate the automatic backup for a certain time every day(hoping that i can avoid this behaviour). after making that setting and closing the app, the backup startet again too.
(lucky me i found this bug report wich made me deactivate the automatic scheduled backup again)

EDIT:
for some reason, the scheduled backup was not deactivated even though i deactivated it.
and the next morning i saw, that the backup was made once as it should be(as long as it was really selected)
so in my case i don't get this backup loop that is described in the original bug report when backups are scheduled.
in my case the manually triggered backups are the bigger problem.
but still random things happen. like right now. i started my phone again(for another reason) after one backup was completed. and it did a new backup again after the restart.

@jochen-01
Copy link
Author

Anything new on this? How can I help to solve it (without Android programming skills)?

@machiav3lli
Copy link
Member

The old logic was restored and the issue shall be fixed with the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants