So yesterday i spent HOURS making loads of flashcards. i opened up anki today to see they arent there, and my latest back up doesn’t have these cards. is there a way i can get them back or do i just have to start again (i made 2000+ cards i think)? thank youu
Why do you think they are gone? Anki doesn’t just delete your cards; they are stored in a sqlite3 database. Did you check if you can see them in the card browser?
i checked, i think it’s because i never closed anki and had it open the whole time. when i went on my laptop this morning it had shut itself down so i must’ve not saved it although i thought i had synced it since then
Can you check your data folder for a file called collection.anki2 (it will be in your profile subfolder inside that data folder).
If it’s there and you know how to browse sqlite3 files you can check if the cards are safed there. Or you could try to send it here if it’s nothing personal.
Hi, im struggling to find the data folder and when i try upload my profile, this is the message “Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, heic, heif, webp, avif, mp4, webm, mov).” Any ideas what i should do next or how to find the data folder? Thank you for the patience!
Go to the link I provided above. There is says Windows, Mac, Linux. Choose your OS and follow what the paragraph says.
Do you mean your profile that is in the data folder? Or do you mean a anki package (the one you get when you hit export in anki)?
Maybe you can add the extension .jpg at the end and it will work. Just tell us what the real extension should have been. Or you can maybe upload it to some file sharing service.
I searched “%APPDATA%\Anki2” in the yellow folder but nothing came up unfortunately. Also yes, i mean the anki package as i clicked export!
Interessting. Maybe a windows user sees this and can help.
That should be fine too though. Did this help?:
You definitely don’t need to close Anki for it to save your notes and cards to the database. It’s there immediately, so leaving it open, or a crash wouldn’t affect your data.
Default file location
If you installed at the default location – yes, the folder you are looking for is %APPDATA%\Anki2
– but you can’t “search” for it. To open that folder, just paste it in the current-folder bar at the top of Windows Explorer.
But before you go poking around at your database –
Where did you check? Where are you looking for those notes/cards that you are not finding them? If these were created from scratch yesterday, search added:2
in the Browse window. Or did you import them from a packaged deck, or a text/CSV file?
It is very hard to lose data from Anki, but there are ways. When you synced today, did you accidentally do a one-way sync that downloaded from AnkiWeb and overwrote your local changes?
The first place you should look if you think you’ve lost something is in your automatic backups (which Anki makes every 30 minutes while it’s running, so there should be several from yesterday/overnight when you left Anki open). Restoring an Automatic Backup (Recovering from Data Loss) - Anki FAQs
Try restoring the last one from overnight, or any one from after you went to bed.
Thank you all for helping!! I got them back !!!