Manually created subdecks disappeared and are missing from all backups

On November 21, I spent several hours writing my own Anki cards and creating custom subdecks under my existing AnKing deck (AnKing → Block 2 → Block 2 W2). One of these subdecks was called Gram Negative Rods. These were cards I wrote myself, not existing AnKing cards that I reorganized. I had not started studying any of these cards yet.

I recently noticed that all of my newly created subdecks and cards were missing. Around this time, I used the Push One Day add-on on my main deck. I also received a sync conflict asking me to upload to or download from AnkiWeb. I believe I selected Download on my phone, but I am not completely sure.

I have already tried the following:

  • Checked automatic backups from November 18–23 on my Mac, iPhone, and iPad.

  • Checked AnkiWeb and all my devices.

  • Restored backups into a separate profile.

  • Ran Check Database.

  • Checked deleted.txt, which did not contain any recent deletions.

  • Had my collection.anki2 database and backup files examined for missing cards and deck records.

None of these attempts have recovered my custom cards or subdecks. Since I wrote these cards myself, I cannot simply retrieve them from the original AnKing deck.

Is there any way to recover these cards or access an older server-side collection? Could the Push One Day add-on or a one-way sync have caused this? Are there any temporary files, database logs, or other recovery methods I could try?

I would greatly appreciate any help, as I spent hours writing and organizing these cards for medical school and would really like to avoid having to rewrite everything from scratch.

Anything that was overwritten during that one-way sync should still be in your automatic backups. Those are made every 30min while Anki is in use (unless you changed the defaults?), so if you spent hours adding those notes/that deck, you should have several backups during, and even more since then. Your device also would have made a fresh backup immediately before accepting that one-way sync. So, how closely did you check them, and did you check the right ones?

[Based on what you said, I’m assuming you did actually overwrite what you’re looking for, but just in case you didn’t, run Tools > Check Database first.]

Starting from the beginning – Which device did you add those notes/create that deck on? That’s the device where you should be looking at the backups. If you didn’t sync during or after that time, they never existed anywhere else.

If you added all the notes on 21 Nov, you don’t need to check any backups before that. When did you overwrite your collection? You don’t need to check any backups after that, and it’s the most recent, so that’s the best place to start.

Importing them into a fresh (temporary) profile is the right approach. You should go one-by-one through them until you find the most recent that has what you created. Export just that deck, as APKG, including media, and then you can import that into your main profile (and delete that temp profile).

A one-way sync overwrites the collection database on one device with the database from another device/the server. You’d lose anything that wasn’t already synced before that.

I don’t know anything about that add-on. If it does what it sounds like, pushes all of your due dates indiscriminately by a day?), add-ons like that are among the worst ways to deal with overdue cards. Aside from any of the general drawbacks, some of them are known to not work very well. Nothing about a scheduling add-on should force a one-way sync, so if it did that as well, that’s especially concerning. [I suppose it’s not too surprising that a short-sighted and ill-considered add-on would also have design issues.]