如何备份 IndexedDB
2025-8-26
| 2025-8-26
Words 190Read Time 1 min
type
Post
status
Published
date
Aug 26, 2025
slug
how-to-backup-indexeddb
summary
tags
Tech
Web
Chrome
category
Essay
icon
所有操作都是在浏览器的 Console 里进行的. 不包括数据恢复相关话题.

1. 找到数据库名称

从下面的地方找到数据库名称
Chrome DevTools: Application → Storage → IndexedDB
 

2. 将 dexie-export-import 包含到页面中

 

3. 将数据库导出为 blob

你会看到类似以下内容:
Blob {size: 6506, type: 'text/json'}
 

4. 生成下载链接以供点击下载

右键点击新生成的文字进行保存
notion image

参考来源

  • Tech
  • Web
  • Chrome
  • 我喜欢的 Notion Style 设置记忆闪回
    Loading...