> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://krystal-dev.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Restoring files or databases from a backup

You can restore either your entire site or parts of your site using an Onyx Backup.

1.  Log in to your [Onyx Dashboard](https://onyx.io/login)
2.  Click the site you would like to restore.

![](https://storage.crisp.chat/users/helpdesk/website/6c3c28e2a1b18400/7d297957-7c36-4dfd-88b7-15439c_132qm6a.png)

1.  Click on the **Backups** option on the left menu

![](https://storage.crisp.chat/users/helpdesk/website/e70c0304867fd800/625dddb1-b24d-4bf0-8298-6ce489_1spt9bf.png)

1.  Click **Details** for the backup you would like to restore from.

![](https://storage.crisp.chat/users/helpdesk/website/94fe5011dfd47800/28ff2a88-b913-4036-b2de-8c4c0f_y427yz.png)

1.  You will now see the actions that can be performed using this backup

![](https://storage.crisp.chat/users/helpdesk/website/aad65b2ddcbea000/34e9e2e6-62ed-4636-843a-1f3da9_1czawwi.png)

### Database restore

You have the option to Download or Restore each database.

Clicking **Download** will generate and download a `.sql` dump file of the database.

Clicking **Restore** will prompt for confirmation and then perform the restore - please ensure you read the warning before completing the restore.

![](https://storage.crisp.chat/users/helpdesk/website/321acfaba03d7a00/acf79f65-5fb2-4c45-a67c-93973e_1bg527w.jpeg)

### File restore (individual files)

Clicking **Browse files** will show a list of all site files for individual Download or Restore.

![](https://storage.crisp.chat/users/helpdesk/website/5d824f37cc972400/d72f57d9-3e7b-446b-851d-604a02_srp4re.png)

Clicking **Download** will save the file to your device.

Clicking **Restore** will prompt for confirmation and then perform the restore

![](https://storage.crisp.chat/users/helpdesk/website/ff19baa716d2d800/57aa015c-68be-4f47-9960-2fe31f_1vbcoiq.png)

please ensure you read the warning before completing the restore.

![](https://files.helpdocs.io/iveabsei6n/articles/15j6o9kbep/1576754067356/screenshot-236.jpg)

### File restore (all files)

You can click the **Restore all files** link to restore all your site files. You'll see a prompt for confirmation before the restore is completed.

![](https://files.helpdocs.io/iveabsei6n/articles/15j6o9kbep/1576754622432/screenshot-237.jpg)

### Full site restore

To fully restore a site to a previous state you'll likely need to restore both it's database and all it's files following the steps detailed above in this guide.

* * *

* * *