Addon Backup WebDAV--harel

AnkiWeb addon 237806660

Backs up add-on IDs via a synced deck and local add-on folders to WebDAV for restoration, optionally syncing selected decks to a self-hosted MCP knowledge base.
AI-generated summary; may contain mistakes.

sync-integrationbackup-maintenance

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
1 (👍 1 · 👎 0)
Updated
2026-10-13
Anki versions
2.1.1~
License
GPL-3.0 (from the headers of the Python files)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
zh

Maintenance

active

  • Last update or commit: 2026-10-13 (19 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-10-13
History across monthly snapshots

Loading…

Similar addons

(not working) AddonBackup archived

An experimental, currently non-working Anki 2.1 add-on that backs up add-on settings and configurations alongside notes, syncing them via AnkiWeb to restore and reinstall previously used add-ons.

backup-maintenanceobsoletebeta

10 votes 49% approval 👍 8 · 👎 2 ⭐ 15 Updated 2019-01-16
Addons Archived Backup

Backs up selected, enabled, or disabled add-ons into installable id.ankiaddon archives whose filenames include identifying details, sourcing files from AnkiWeb or local disk and creating missing manifest.json files when needed.

backup-maintenance

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.35~ Updated 2024-04-05
Addon Config Sync archived

Syncs add-on config files across devices by storing copies in Anki's media folder, with a manager to compare, save, overwrite, filter, and choose sync modes.

backup-maintenance

4 votes 51% approval 👍 4 · 👎 0 ⭐ 3 Anki 25.09.2~ Updated 2026-03-10

Description

插件备份(Addon Backup)

换电脑或重装系统时,帮你找回常用的 Anki 插件。你可以把 AnkiWeb 公开插件的数字 ID 保存到指定牌组,并通过 AnkiWeb 同步;也可以将本机插件目录打包到你自己的 WebDAV,备份插件文件及目录内配置,并在需要时恢复。

插件还提供可选的 Anki 个人知识库功能:选择卡组后,手动增量同步笔记到你自己部署的 MCP 服务,再由 Hermes 只读搜索。插件不会在后台自动扫描或持续上传笔记;只有你主动点击同步时才会读取所选卡组。云端 MCP 服务需要自行部署。

主要功能

  • 扫描已安装插件,将 AnkiWeb 插件 ID 保存到可配置牌组,并一键复制 ID,方便重新安装。
  • 将本机插件目录备份到 WebDAV,并查看或恢复已有备份。
  • 可选:手动增量同步选定卡组到个人 MCP 知识库,供 Hermes 按需只读检索。

注意事项:WebDAV 密码保存在本机插件目录的配置文件中;建议使用专用应用密码。恢复插件目录后需要重启 Anki。恢复前请确认备份来源可信。

作者:墨池有雨

微信公众号:棉花糖的神奇口袋

English

Addon Backup

Keep track of your Anki add-ons when you move to another computer or reinstall your system. Save the IDs of public AnkiWeb add-ons to a configurable deck and sync that deck with AnkiWeb. You can also package your local add-on folders and back them up to your own WebDAV server, including files and configuration stored inside those folders, then restore them when needed.

An optional personal knowledge-base feature lets you select decks and manually sync note changes to an MCP service that you host. Hermes can then search the synced notes with read-only tools. The add-on does not scan or upload notes in the background: it reads the selected decks only when you start a sync. The cloud MCP service must be deployed separately.

Features

  • Save public AnkiWeb add-on IDs to a configurable deck and copy IDs for easy reinstallation.
  • Back up local add-on folders to WebDAV, browse available backups, and restore them.
  • Optional: manually sync selected decks to your personal MCP knowledge base for on-demand, read-only search with Hermes.

Notes: Your WebDAV password is stored in a configuration file in the local add-on folder. Use an app-specific password when possible. Anki must be restarted after restoring add-on folders. Restore only from trusted backups.

Author: 墨池有雨

WeChat Official Account: 棉花糖的神奇口袋

AnkiWeb 详细说明

插件备份 (Addon Backup)

这个插件用于解决 Anki 插件迁移问题。

AnkiWeb 可以同步牌组和笔记,但不会同步本地插件目录。换电脑或重装系统后,用户往往需要重新寻找插件、重新安装插件、重新配置插件。这个插件提供两种备份方式:

  1. 插件 ID 备份到牌组

    扫描已安装插件,将 AnkiWeb 公开插件的数字 ID 保存到可配置牌组(默认 @插件备份@)。换电脑后,只要牌组同步回来,就可以一键复制插件 ID,再通过 Anki 官方“获取插件”功能重新安装。

  2. 插件目录备份到 WebDAV

    将本机已安装插件目录打包为 zip,上传到用户自己的 WebDAV 目录。这样不仅能保存插件文件,也能保存插件目录中的配置、缓存和运行数据。

菜单位置

工具 -> 插件备份

个人知识库入口位于“工具 → 插件备份 → Anki 知识库(Hermes)”。首次使用时配置 HTTPS 服务地址、同步令牌和卡组,手动同步完成后再打开 Hermes 读取。云端 MCP 没有网页数据面板,内容通过 Hermes 的 MCP 工具查询。

功能列表

  • 备份插件 ID 到牌组
  • 查看牌组中的插件 ID
  • 复制插件 ID 到剪贴板
  • 配置备份设置
  • 备份插件目录到 WebDAV
  • 查看 WebDAV 备份
  • 从 WebDAV 恢复插件目录

WebDAV 兼容服务

理论上支持标准 WebDAV 服务,例如:

  • 坚果云
  • Nextcloud
  • ownCloud
  • 群晖 WebDAV
  • Koofr
  • InfiniCLOUD
  • 其他标准 WebDAV 服务

具体兼容性取决于服务商的 WebDAV 实现。

安全说明

  • 当前版本使用 Python 标准库实现 WebDAV,不依赖第三方库。
  • WebDAV 密码会明文保存在本插件目录的 webdav_config.json。
  • webdav_config.json 不会进入备份包。
  • 建议使用应用专用密码。
  • 从 WebDAV 恢复插件目录前,请确认备份包来源可信。
  • 覆盖恢复会替换本地同名插件目录。

已知限制

  • 上传和下载为同步执行,大型插件目录可能造成 Anki 短暂卡顿。
  • 当前版本不会自动删除旧备份。
  • 不同电脑上的 Anki 版本或插件版本不同,恢复后个别插件可能仍需更新。