Upgrade system drive

Hello,

I currently have home assistant installed on an x86 device. My current OS drive is running out of space and quite old. I would like to change it to a larger more current one and wanted to ask if the following is an approach that works?

  1. Full backup of current OS and move it to a different storage media
  2. Remove current drive, and install new larger drive
  3. Install home assistant, and perform basic config (network info / hostname)
  4. Copy the backup to the new larger OS drive
  5. Run a restore

Will this method work? If so, will all my devices connect back again, and my configuration be as it was prior to changing the drive?

Thanks.

Yes that will work. There is no need for this:

It will all restore from the backup. You could even restore the backup during onboarding if it was available on the PC you are using to view the onboarding process.

There’s not much in the way of a progress indicator. Just be patient.

1 Like

Thank you kind sir!

edit:
@tom_l , what’s the max size drive I can use?

On x86 this should bet 2tb
On x64 they can be much larger

Also I would suggest, not needed but suggest, setup ssh before restoring backup.
If you have the feeling the restore got stuck after hours you can check if the system is doing anything using ssh.

Thank you!

Another scenario, I have my HA installed onto an HP T630 thin client. I was thinking of getting a used HP EliteDesk 705 G4 Mini Desktop Computer, AMD Quad-Core Ryzen 5 Pro 2400GE.

Would I be able to restore the backup from the T630 to the new (used) HP EliteDesk 705 G4 Mini Desktop Computer, AMD Quad-Core Ryzen 5 Pro 2400GE?

Yes.
You can restore a ha backup regardless of the system. Core files are not in the backup.
Please keep in mind that not all add ons run on all architectures. So they might stop working.

If you can choose between 32and 64bit. Choose the latter. It’s much more stable.

Thank you very much!