[[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. The retention of your version history depends on your [[Plans and storage limits|Obsidian Sync plan]]. On the Standard plan your notes are retained for 1 month. On the Plus plan your notes are retained for 12 months. After this period of time the older versions of your notes are deleted. Older versions of [[Attachments|attachments]] are stored for two weeks. ![[Collaborate on a shared vault#^version-history-image]] ## Notes and attachments ### View version history of a note 1. In the **File explorer**, select the note you want to restore. 2. Select **View Sync version history**. 3. Select which version of the note you want to view on the left. The contents will be displayed on the right. ### View version history of a deleted or renamed note 1. Open **Settings**. 2. In the sidebar, under **Plugin options**, select **Sync**. 3. Next to **Deleted files**, select **View**. 4. Select the note you want to view the version history for. 5. In the version history pop-up, select which version of the note you want to view on the left. ### 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 version history pop-up, select which version of the note you want to view on the left. 4. Select the **Restore** button on the right. ### Restore a deleted note 1. Open **Settings**. 2. In the sidebar, under **Plugin options**, select **Sync**. 3. Next to **Deleted files**, select **View**. 4. Choose the note you want to restore. 5. In the list of versions to the left, select the version you want to restore. 6. Select the **Restore** button on the right. You can select multiple notes for bulk restoration by selecting the checkboxes, or using `shift+click`. ## Settings history Obsidian Sync also keeps track of the changes made to your vault configuration settings. > [!warning] Any time you restore these settings, you'll need to restart the Obsidian application on all devices after the restored file has synced to them. For more details, refer to the instructions in [[Set up Obsidian Sync#Adjust Obsidian Sync settings|Adjust Obsidian Sync settings]]. ### View version history of a setting 1. Open **Settings**. 2. In the sidebar, under **Plugin options**, select **Sync**. 3. Navigate down to **Vault configuration sync**. 4. Select the **View** button next to **Settings version history**. 5. In the **Settings File** pop-up, choose a settings file you want to view. ### Restore a previous version of a setting 1. Open **Settings**. 2. In the sidebar, under **Plugin options**, select **Sync**. 3. Navigate down to **Vault configuration sync**. 4. Select the **View** button next to **Settings version history**. 5. In the **Settings File** pop-up, choose a settings file you want to view. 6. In the changes window, select the **Restore** button.