# Version Control and Restoring Files

Every time you delete or change a configuration, rule set or data file, the console automatically creates an internal backup so that it can be retrieved later.

To restore a file, select the type of file to restore by clicking its type *(configuration, rule sets, test data or data files)* in the administration tree.

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-deace9631791ce29317a729e29693312e4908b23%2Fimage.png?alt=media" alt=""><figcaption><p>New Rule Set</p></figcaption></figure>

Select the appropriate repository to restore to and click on **Restore**. The restore options panel appears as shown:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-8d74355004f6eaa4f386b9728776fd70372a4dd7%2Fimage.png?alt=media" alt=""><figcaption><p>Restore Rule Sets</p></figcaption></figure>

To restore a file, select the timestamp that is closest to the time you wish to restore to, and a list of available files for that timestamp will be shown. Select all of the files you wish to restore *(hold down the Ctrl key to select multiple files)* and click on **Restore**. The system will automatically backup any files you may be overwriting and will restore the older version.

If you wish, you can clear the repository prior to performing the restore.
