> For the complete documentation index, see [llms.txt](https://kb.linknlink.com/isg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.linknlink.com/isg/settings/backing-up-and-restoration/backup-and-restore-home-assistant.md).

# Backup and Restore Home Assistant

You have two ways to backup and restore Home Assistant:

## 1. Backup and Restore HA in iSG

### 1.1. Backup HA in iSG

Go to **Add-Ons > Home Assistant Server > Backup**.

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

After the backup is complete, click **Restore** to confirm that iSG has created a backup file for Home Assistant.

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

### 1.2. Restore HA in iSG

Go to **Add-Ons > Home Assistant Server > Restore**.

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

Select the backup file from the default backup folder, or click **Select File** to browse and choose one from an external drive.

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

Click **Start restoration** to restore from the selected backup file.

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

iSG will display *“Restoration is successful”* and then automatically exit the restoration page.

## 2. Backup and Restore HA in Home Assistant

### 2.1. Backup HA in Home Assistant

1\) Connect your computer to the same network as the iSG. Open a browser and enter: **iSG IP:8123**. Log in to Home Assistant and go to **Settings > System**.

<figure><img src="/files/1V1hPMp8eTLU4iypcAaH" alt=""><figcaption></figcaption></figure>

2\) Click **Backups**

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

3\) Click **BACKUP NOW**.&#x20;

<figure><img src="/files/9w8SXy0mhFkeE4u2N2jP" alt=""><figcaption></figcaption></figure>

If this is your first time using the backup function, you will be prompted to create and save an encryption key. Be sure to keep it in a safe place, as you may need it in the future.

<div align="left"><figure><img src="/files/4S4RmuR2181eCU0WfLT2" alt="" width="563"><figcaption></figcaption></figure></div>

After the encryption key is created, click **BACKUP** again and choose an option to backup (choose Automatic backup for a full backup).&#x20;

<div align="left"><figure><img src="/files/k2IPCHSLulUfksF7duvp" alt="" width="280"><figcaption></figcaption></figure></div>

It will show "Creating backup" on top. Wait a few minutes until the process is complete. Once the backup is successful, it will show "Backed up" on top.

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

Click Automatic backups to view the backup files.

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

You can click Download to download the backup file to your drive for safekeeping.

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

Click the file to download it, save it to your computer, and then copy it to a USB drive for safekeeping.

### 2.2. Restore HA in Home Assistant

Click the backup file, select **All Items**, and then click **RESTORE** to restore your Home Assistant to the backed-up state.

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