Long term backups

AnkiWeb addon 529955533

Keeps one backup per day for the last month, one per month for the past year, and one per year in the regular backup folder for accessing older collection versions.
AI-generated summary; may contain mistakes.

backup-maintenance

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
5 (👍 4 · 👎 1)
Updated
2019-07-08
Anki versions
unknown
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, Batchfile
Description language
en

Maintenance

abandoned

  • Last update or commit: 2020-08-02 (2282 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 2 open, 0 closed.
  • Pull requests: 1 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2019-07-08
History across monthly snapshots

Loading…

Similar addons

Reset review log

Clears review logs using preset time ranges—past hour through past year—or a custom deletion option accessible from the Tools menu.

backup-maintenance

20 votes 58% approval 👍 16 · 👎 4 Anki 2.1.26~ Updated 2020-06-05
Anki Time Warp

Rewrites card due dates via shifting, stretching, or daily caps, with filtered deck/tag selection, simulation previews, timeline charts, and single-step undo.

scheduling

2 votes 34% approval 👍 2 · 👎 0 ⭐ 1 Anki 25.02.1~ Updated 2026-09-16
scheduler: Dynamic Lapse Interval (alpha)

Adjusts a failed card's interval by applying a percentage that scales linearly from 100% for short prior intervals down to 25% for long ones, with user-adjustable values.

schedulingbeta

7 votes 49% approval 👍 6 · 👎 1 Anki <=2.1.33 Updated 2020-08-14
New Cards Learned Per Day

Adds a chart tracking how many new cards you actually learn each day, with selectable 1-month to all-time ranges and period totals on the deck overview and Congratulations screen.

statistics

1 votes 21% approval 👍 1 · 👎 0 Anki 25.09.2~ Updated 2026-03-14

Description

Ensure that you keep monthly and yearly backup, so that you can access to old version of collection if you need it one day.

README

Regular backups

Rationale

Sometime, I want to find an old version of my collection. For example, to see how a card type used to be. Sadly, my oldest back-up is usually two monthes old. Of course, this can be solved with a differential backup system; but that is not the point here.

This add-on ensures that we keep at least one back-up by day for the last month, one back-up by month for the past year, and one back-up by year. Those back-ups are saved in the same folder as regular backups.

Warning

Uninstalling the add-on

If you uninstall the add-on, or if you disable it, the current back-up will stay. If you are not interested in them, you'll have to delete them yourself.

It can't restore lost backups.

If you install this add-on today, you can be kind of sure that you'll have back-ups of your collection as it is this month/year for the future. However, it should be noted that this add-on can not help you to access your collection as it was before you installed the add-on. Indeed, this add-on can not create data which were already deleted. It only ensures that some data are kept.

Missing image

Anki's backup are far from perfect. For example, they do not contains image. Thus you'll see risk to lose images with this add-ons. Actually, this risk already exists if your images are not synced, and that you delete a note with an image, check media, and then restore a backup.

New computer

Back-ups are not synchronized. Which means that if you move to another computer, and don't copy the back-up folder, then this add-on become useless. Indeed, we won't have the back-up files.

Consider whether you really want to conserve data

As with any backup system, you may think about whether you really want to keep data. If, by accident, you added in anki some private data, and then that you remove it from anki, then those data may still be in the back-up. They will remains in there as long as the back-up exists. Without this add-on, you could be sure that the data would eventually be deleted. With this add-on, if the data are in a yearly backup, then they will never be removed.

Internal

This add-on change the method aqt.main.AnkiQt.backup, and calls the previous method.

Version 2.0

None

TODO

Allow to give more flexibility about how much to save

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki--old-backup
Addon number 529955533