文件恢复

文件恢复

依赖

首选,需要你在 设置 > 核心插件 > 文件恢复,将此能力打开

功能

文件恢复功能,可帮助您在工作中恢复对应的文档,或文档版本。

原理

通过定期保存笔记快照,防止意外数据丢失。帮助您在意外数据丢失的情况下恢复工作。

注意

为了避免占用太多空间,Obsidian 会在删除快照之前将其保留一定天数。

Note

By default, snapshots are saved a minimum of 5 minutes from each other, and kept for 7 days. You can configure both intervals under Settings -> File recovery.

Snapshots are kept in the system directory, outside of the vault, to account for vault-related data loss. This means that snapshots are stored with the absolute path to the note. If you’ve moved your vault recently, you may need to move it back to the location where it was when the snapshot was taken.

Recover a snapshot

  1. Open Settings.
  2. In the sidebar, click File recovery under Plugin options.
  3. Next to Snapshots, click View.
  4. In the top-right text box, search for the file you want to recover, and then press Enter.
  5. Select the snapshot you want to recover.
  6. Click Copy to clipboard to copy the snapshot.
  7. Paste the snapshot in the original note, or in a new note if you want to compare them.

Clear snapshot history

Caution: Clearing the snapshot history irreversibly deletes all snapshots in your vault.

  1. Open Settings.
  2. In the sidebar, click File recovery under Plugin options.
  3. Next to Clear history, click Clear.
  4. Confirm that you want to delete all snapshots, by clicking Clear.


反馈交流

其他渠道

版权声明