# File recovery

```yaml
aliases:
description: File Recovery helps protect your work from unintentional data loss by automatically saving snapshots of your notes at regular intervals.
mobile: true
permalink: plugins/file-recovery
publish: true
```

File recovery is a [core plugin](/content/help/plugins/index.html) that protects your work from accidental deletions, file corruption, or unwanted changes by automatically saving complete snapshots of your notes at regular intervals. File recovery is not a complete backup solution, and we recommend also [backing up](/content/help/backup/index.html) your Obsidian files separately.

To avoid taking up [too much space](/content/help/plugins/file-recovery#Storage%20and%20performance/index.html), Obsidian keeps snapshots for a certain number of days before deleting them. Snapshots capture the full content of your files, not just changes, allowing you to restore any previous version.

Info

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](/content/help/settings/index.html) → Core plugins → File recovery**.

Snapshots are kept in the [Global settings](/content/help/data-storage#Global%20settings/index.html), 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.

If you are using [Obsidian Sync](/content/help/sync/index.html) or [other syncing services](/content/help/sync-notes/index.html), File recovery snapshots will not sync between devices. Snapshots are device-specific and remain local to each device.

## Recover a snapshot

1. Open **[Settings](/content/help/settings/index.html)**.
2. In the sidebar, select **File recovery** under **Core plugins**.
3. Under **Snapshots**, select **View**.
4. In the file name field, start typing the name of the file you want to recover, and you will see a suggestion list.
5. Select the file, press Enter, and you'll see a list of snapshots available.
6. Select the snapshot you want to recover.

1. If you wish to copy and paste into a new note, select the **Copy** button.
2. If you wish to restore the file completely, select the **Restore** button.
3. You can optionally show the differences between snapshots by toggling **Show changes**. This displays what content was added, removed, or modified between snapshot versions.

## Clear snapshot history

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

1. Open **[Settings](/content/help/settings/index.html)**.
2. In the sidebar, select **File recovery** under **Core plugins**.
3. Under **Clear history**, select **Clear**.
4. Confirm that you want to delete all snapshots, by clicking **Clear**.

## Storage and performance

File recovery snapshots typically use minimal disk space, as they only store changed files. However, in vaults with many large files or frequent edits, snapshots can accumulate over time. Monitor your storage usage and adjust the retention period if needed.

## Limitations

- **Apple lockdown mode**: This feature is unavailable on Apple devices with [Lockdown mode](https://support.apple.com/en-us/105120) enabled unless Obsidian is exempted.
- **File types**: Only `.md` and `.canvas` files can be restored using File recovery.
- **Vault location**: If you move your vault to a different location without using the [vault switcher](/content/help/manage-vaults#Move%20vault%20to%20a%20different%20folder/index.html), existing snapshots may not be accessible.

Links to this page

[Back up your Obsidian files](/content/help/backup/index.html)

[Core plugins](/content/help/plugins/index.html)

[Note composer](/content/help/plugins/note-composer/index.html)

[Obsidian CLI](/content/help/cli/index.html)

[Status icon and messages](/content/help/sync/messages/index.html)

[Sync settings and selective syncing](/content/help/sync/settings/index.html)

[Troubleshoot Obsidian Sync](/content/help/sync/troubleshoot/index.html)

[Version history](/content/help/sync/version-history/index.html) 
 
File recovery

Not found

This page does not exist

Interactive graph

On this page

Recover a snapshot

Clear snapshot history

Storage and performance

Limitations

[Powered by Obsidian Publish](https://publish.obsidian.md/)
