How to Migrate Home Assistant To Another Computer
7,779 views
0

 Published On May 17, 2023

In this video, we show you how to migrate Home Assistant to another computer

This can save you a lot of time compared to building a new instance from scratch

=============================
SUPPORT THE CHANNEL
Donate through Paypal:
https://paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
https://buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
  / dmckone  
Become a monthly contributor on YouTube:
   / techtutorialsdavidmckone  
==============================

=============================
MY RECORDING HARDWARE:
Blue Yeti USB Microphone
https://amzn.to/3IfL3qm
Blue Radius III Custom Shockmount for Yeti and Yeti Pro USB Microphones
https://amzn.to/3G3f89P
RØDE PSA1 Professional Studio Arm
https://amzn.to/3Z3lPBF
Aokeo Professional Microphone Pop Filter
https://amzn.to/3VuZl9H
Logitech StreamCam
https://amzn.to/3WyZTwl
Elgato Key Light Air - Professional 1400 lumens Desk Light
https://amzn.to/3G81OB9
Neewer 2 Packs Tabletop LED Video Light Kit
https://amzn.to/3CcuN5O
Elgato Green Screen
https://amzn.to/3CoJBOL
=============================

==============================
MEDIA LINKS:
Website - https://www.techtutorials.tv/
Twitter -   / dsmckone1  
Facebook -   / dsmckone  
Linkedin -   / dmckone  
Instagram -   / david.mckone  
==============================

Overview:
We'll backup Home Assistant on our original computer and then restore that backup onto another one

You do still have to install a fresh copy of Home Assistant onto the new computer, but this still saves us a lot of time

Build New Computer:
First install Home Assistant onto a new computer

All you need to do is to complete the initial installation and on boarding Wizard though so that you can then login and perform a restore

NOTE: The new computer needs to have a different IP address, at least to begin with, as you can't have two computers on the same network with the same IP address

Also, make sure both computers are up to date, or at least running the same version of Home Assistant, Core and Supervisor if necessary, otherwise we could run into incompatibility problems

Backup Original Computer:
On the original computer we need to take a backup of Home Assistant

But first try to make sure everything looks to be working

If you don't check you might spot a problem on the new computer, not realise this problem was always there and then try and revert back to the original computer, which just wastes time

To take a backup, navigate to Settings | System and then select Backups

Now click Create Backup

Provide a name for this backup then click Create and it will backup Home Assistant and store the file on the local storage

Once finished, click the backup file, then select the Menu option in the lower right

From that select Download backup

Pay attention to where this file gets saved to as you'll need it shortly

Now shut down Home Assistant so you can use its IP address

This is especially important if you're using the MQTT broker for instance and/or have firewall rules set up for this IP address

Restore Onto New Computer:
Update the new computer with the IP address of the original computer

If you're using adaptors and/or controllers in Home Assistant you'll also want to transfer these over to the new computer

Now restore the backup onto this computer

Navigate to Settings | System and then select Backups

Click the menu in the top right corner and select Upload backup

Point Home Assistant to where the backup file is and double click on the file

Click the Restore button and then click Restore again to confirm

Wait for the restore to complete then reboot the computer for good measure

Now double check everything is working as expected

TIP: Moving the IP address can result in IP devices not connecting for a while. This is because the MAC address is different and it might take 5 minutes for instance for their cache to clear and then they will connect to the new computer

Chapters:
00:00 Intro
00:37 Overview
01:21 Build New Computer
02:39 Backup Original HA
07:13 Restore Onto New Computer

home assistant,how to migrate home assistant,migrate home assistant,migrate home assistant to another server,home assistant migrate to new server

show more

Share/Embed