> For the complete documentation index, see [llms.txt](https://docs.wonderchat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wonderchat.io/setup-guides/training-your-chatbot/checking-and-restoring-previous-data-source-version.md).

# Checking and restoring previous data source version

#### ✅ Step-by-Step Instructions

**1. Sign in to Wonderchat**

* Go to your Wonderchat chatbots page at *app.wonderchat.io* and sign in with your credentials.

**2. Open the Chatbot You Want to Edit**

* From your list of chatbots, find the bot whose version history you want to view.
* Click **Edit Chatbot** next to its name to open the chatbot editor.

<figure><img src="/files/TCAcDMI8eSkCHcGRBoJF" alt=""><figcaption></figcaption></figure>

**3. Navigate to the Data Source Section**

* Inside the editor, find the **Data Source** tab or section — this is where your training content (like website links, files, or documents) is managed.

<figure><img src="/files/Ha6XSeqcy8D3RSWWIlmQ" alt=""><figcaption></figcaption></figure>

**4. Open Version History**

* Look for a sub-tab or button labeled **History** or **Version History**.
* Click it to open the history panel.
* Here you will see a list of versions, including:

  * The **current version** (most recent)
  * Previous versions saved automatically or when you made changes
  * Date/time stamps and any notes (if available) associated with each version.

  <figure><img src="/files/g7W0Ovp2EHEMnAIJ5H0S" alt=""><figcaption></figcaption></figure>

**5. Review Previous Versions**

* Scroll through the list to review older versions of your chatbot’s data source.
* You may be able to:
  * **Preview** the content of each version
  * See what changes were made compared to other versions
  * Compare two versions side by side (if supported by the interface).

**6. Select a Version to Restore**

* When you find the version you want to revert to, click on it to highlight or open that version.
* Confirm that you’ve selected the right one based on the date, changes, or notes.

**7. Restore the Version**

* Click the **Restore** button next to the selected version.
* A confirmation dialog may appear asking you to confirm that you want to overwrite the current version with the selected one.
* Confirm the restoration. This action will **replace the current chatbot data** with the version you chose.

<figure><img src="/files/ogIGoUB7UZHfSYJYJXed" alt=""><figcaption></figcaption></figure>

**8. Review Your Chatbot After Restoring**

* Once restored, go back to the main editor and review your chatbot:
  * Check that the knowledge source reflects the older content
  * Test the chatbot responses to ensure it behaves as expected
  * If needed, make additional edits and save a new version.
