mirror of
https://github.com/ankitects/anki.git
synced 2026-07-28 13:49:05 -04:00
<!-- Title (for the Pull Request title field at the top): Use a short prefix so the change type is obvious. You do not need to repeat it in the body below. Examples: - fix: — bugfix - feat: — feature - refactor: — internal change without user-facing feature - docs: — documentation only - chore: — tooling, CI, deps, build housekeeping - test: — tests only --> ## Linked issue (required) closes #5018 <!-- Fixes #123 / Closes #123 / Refs #123 --> ## Summary / motivation (required) This prevents large diffs with prettier being used with the mintlify editor A caveat of this is that the docs generated by cog now have to be prettier compatible. Also for some reason prettier has problems with the {/* */} multi-line comment format so we have to use <!-- --> instead. Sadly I don't have a good way to check that the Prettier config does not differ between this PR and the editor. --------- Co-authored-by: Abdo <abdo@abdnh.net>
17 lines
945 B
Plaintext
17 lines
945 B
Plaintext
---
|
|
title: "Restoring an Automatic Backup (Recovering from Data Loss)"
|
|
---
|
|
|
|
Sometimes your collection may become very damaged. For instance:
|
|
|
|
- You accidentally deleted a card type or hundreds of cards and didn't notice in time to undo it.
|
|
- Your collection has become corrupted.
|
|
- There was a syncing error and you accidentally overwrote a large number of reviews that you did on another device.
|
|
- ...or anything else that leaves you with lost data.
|
|
|
|
Anki automatically backs up your collection every time you close Anki or sync (AnkiMobile backs up after fixed time intervals and before syncs), and by default it stores 30 backups. For information on restoring an automatic backup, please visit the relevant page:
|
|
|
|
- Restore a [backup made by Anki on your computer](/manual/backups)
|
|
- Restore a [backup made by AnkiMobile](/ankimobile/preferences#backups)
|
|
- Restore a [backup made by AnkiDroid](https://ankidroid.org/docs/manual.html#backups)
|