# Backup & Restore Data

## Backing Up Your Instance

{% hint style="info" %}
Backups can only be performed by the **Platform Owner!**
{% endhint %}

Backing up your MOTAR Ghost instance is as simple as downloading a file.&#x20;

Simply login as the Platform Owner:

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2F5r8jtfm0UtDo0YJ4iaJA%2Fimage%20(13).png?alt=media&#x26;token=983c0495-3003-4304-a67d-42ac82bc2d74" alt=""><figcaption><p>Platform Owner Management Screen</p></figcaption></figure>

Go to the **ADMIN** Section > **Managed Data** tab and click "**Backup Data**".

{% hint style="info" %}
An information list will show each backup and when the backup was performed. Backups are NOT stored on the instance!
{% endhint %}

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2FnSzuzCIJIdoLvbmK4NWE%2Fimage%20(14).png?alt=media&#x26;token=3ad4ed60-ed65-4f1b-9946-a665631c1f21" alt=""><figcaption><p>Manage Data</p></figcaption></figure>

{% hint style="warning" %}
The backup file is saved locally! It is your responsibility to ensure this file is stored properly and in a secure location.&#x20;
{% endhint %}

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2FGv6hDhHmXv60mvPZQ7Ts%2Fimage%20(15).png?alt=media&#x26;token=221062ae-9df8-4b23-b088-09ac274a17db" alt=""><figcaption></figcaption></figure>

A save file dialog popup will prompt you to save the backup file locally. This file contains ALL of your instance data (all users, assets, etc).

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2Fv4F7bSPDaO19fzuT2KIR%2Fimage.png?alt=media&#x26;token=d8d49af4-5e26-407b-ac6a-221578b52931" alt=""><figcaption><p>Backup creation popup during loading...</p></figcaption></figure>

> Your **download time** may vary depending on the amount of data stored and your bandwidth, please **be patient** while the file is compressed and downloaded.

## Restore from Backup

{% hint style="danger" %}

### WARNING!

Restoring MOTAR Ghost from a backup is **ABSOLUTELY destructive**! ALL data will be restored to the backup version and **any data** entered since the backup **will be lost**.
{% endhint %}

Restoring your instance from a backup is performed from the same menu as backing up. It should be noted that restoring from a back is a **destructive** process, all data entered since the last backup will be lost!

#### As a Platform Manager navigate to the Manage Data tab:<br>

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2FnSzuzCIJIdoLvbmK4NWE%2Fimage%20(14).png?alt=media&#x26;token=3ad4ed60-ed65-4f1b-9946-a665631c1f21" alt=""><figcaption><p>Manage Data</p></figcaption></figure>

#### Select **Restore Data**

A popup will open. Read carefully and click "**Select File to Restore**"

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2FvDP7M1D9c9RZMO8DVprj%2Fimage%20(16).png?alt=media&#x26;token=d02a3851-b717-4734-8979-739fbf630cc3" alt=""><figcaption></figcaption></figure>

A file manager window will open. Select the backup file you would like to restore.&#x20;

{% hint style="warning" %}
If the \*.enc backup file downloaded does not show up in the file dialog, change your settings to **show "All Files"**
{% endhint %}

{% hint style="danger" %}

### WARNING!

&#x20;Restoring data from a backup will wipe out all existing data. This action is **completely destructive**. All previous data will be replaced by the backup. This includes assets, studios, and users.
{% endhint %}

{% hint style="warning" %}
During the restore process, your screen will **only** show a loading wheel.&#x20;

This process may take **several minutes**, depending on your bandwidth and data size. Please be patient and do not close the browser!
{% endhint %}

{% hint style="danger" %}
We are currently updating the system to give you feedback during the data restoration process. For now, you will need to **wait** up to 10 mintues and then **refresh** the page. You will be required to login to MOTAR.
{% endhint %}

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2F0osqSA82PGLzlVE1Slnn%2Fimage.png?alt=media&#x26;token=c89d456c-0e28-4e08-a495-6f7f2f40113e" alt=""><figcaption><p>Loading screen during a restore.</p></figcaption></figure>

#### Once the data is restored, you will be logged out of the system and will need to log back in.

If you have any questions or have issues restoring your data: [contact-us](https://docs.motar.com/support/contact-us "mention")
