> 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

Wonderchat automatically stores a version history of your chatbot’s data, so you can revisit past states, compare changes, or roll back to a previous version if needed.

#### ✅ 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="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2FVD69FYStcPGqoQfh8kOM%2Fimage.png?alt=media&amp;token=aa21de88-6f8e-4cd6-accd-57efa37c62fa" 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="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2FrWomnA0mFxW9uNNJZPdt%2Fimage.png?alt=media&amp;token=98c8a500-3bc2-4c47-98ad-a84289a5f418" 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="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2FkoCp00NPhzSBMu2cN7Xg%2Fimage.png?alt=media&amp;token=a31a85c3-862d-4b01-8390-079d58de472a" 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="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2FXwOm9kA8finwwF5pcz4a%2Fimage.png?alt=media&amp;token=407f1eab-7e62-4943-a690-91b436ae1fee" 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.
