Hi. I’m writing an add-on that generates audio files and uses an external Python script. Since Anki creates a new backup every 5 minutes and opens a modal window (“Creating backup”), the add-on window completely loses focus, making it impossible to cancel the queue even if I want to. And the best part is that the backup window just stays there indefinitely.
I’m curious if there’s a way to pause backups while the add-on is running.
The default is 30 minutes, not 5 minutes – Backups - Anki Manual . And you should only see a “Creating backup” message if something has caused an undue delay in the process.
Are you sure this isn’t another add-on interfering?
It doesn’t matter what time period is set or what add-ons are enabled either. I just punched 9999 in there, disabled everything and still got the same pop-up.
It’s a wild guess, but I’m passing all the notes from the browser window to QueryOP. If I feed it one note at a time instead, that might fix the issue with the backup window hanging.
I’m guessing that QueryOp and whatever triggers the backup dialog share the same thread, so when I put all 3000 notes in the queue, the latter was politely waiting while QueryOp was doing its magic.
Now when I’m doing one note at a time, “Creating backup“ pops up, waits for QueryOp to finish and disappears right after.