[[Introduction to Obsidian Sync|Obsidian Sync]] keeps a history of all the changes made to your notes. Sync regularly checks for new changes to your notes and creates a new version.

If you accidentally delete a note, or you want to go back to a previous version of your note, you can restore a note from the version history.

Older versions of your notes for up to a year.

## View version history of a note

1. In the **File explorer**, right-click the note you want to restore.
2. Click **View Sync version history**.

## View version history of a deleted or renamed note

1. Open **Settings**.
2. In the sidebar, under **Plugin options**, click **Sync**.
3. Next to **Deleted files**, click **View**.
4. Click the note you want to view the version history for.

## Restore a previous version of a note

1. In the **File explorer**, right-click the note you want to restore.
2. Click **View Sync version history**.
3. In the list of versions to the left, select the version you want to restore.
4. Click **Restore this version**.

## Restore a deleted note

1. Open **Settings**.
2. In the sidebar, under **Plugin options**, click **Sync**.
3. Next to **Deleted files**, click **View**.
4. Click the note you want to restore.
5. In the list of versions to the left, select the version you want to restore.
6. Click **Restore this version**.
