Upgrading from 1.x to 2.x: Data Loss Issue and Recovery
ZHAO Xudong edited this page 2026-01-29 07:40:52 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Upgrading from 1.x to 2.x: Data Loss Issue and Recovery

English | 中文

English

Upgrading from 1.x to 2.x: Data Loss Issue and Recovery

Some users may experience data loss when upgrading from Electerm 1.x to 2.x. This guide provides steps to recover your data.

  1. Go to the Electerm data folder. The data folder locations for different operating systems are:

    • Mac: ~/Library/Application Support/electerm/users/default_user
    • Linux: ~/.config/electerm/users/default_user
    • Windows: C:\Users\your-user-name\AppData\Roaming\electerm\users\default_user
  2. In the data folder, check for old data backups. Rename all *.nedb.bak files to *.nedb.

  3. Download and run a 1.x version of Electerm from the releases page, or use any 1.x version you already have installed.

  4. With the 1.x version running, go to the data sync page and export all bookmarks to a JSON file.

  5. Run the 2.x version of Electerm, go to the data sync page, and import the JSON file you exported in step 4.

Chinese

从 1.x 升级到 2.x数据丢失问题及恢复

一些用户在从 Electerm 1.x 升级到 2.x 时可能会遇到数据丢失的问题。本指南提供恢复数据的步骤。

  1. 前往 Electerm 数据文件夹。不同操作系统的文件夹位置如下:

    • Mac~/Library/Application Support/electerm/users/default_user
    • Linux~/.config/electerm/users/default_user
    • WindowsC:\Users\your-user-name\AppData\Roaming\electerm\users\default_user
  2. 在数据文件夹中,检查旧数据备份。将所有 *.nedb.bak 文件重命名为 *.nedb

  3. releases 页面 下载并运行 1.x 版本的 Electerm或者使用您已安装的任何 1.x 版本。

  4. 运行 1.x 版本,进入数据同步页面,将所有书签导出到一个 JSON 文件中。

  5. 运行 2.x 版本的 Electerm进入数据同步页面导入您在步骤 4 中导出的 JSON 文件。