Migrating from VirtualBox to HA Green

This might be a weird use case judging by how many posts I see about migrating from Green to something else, but I originally set up HA on VirtualBox on my Mac to experiment, and now want to get it on a dedicated server with UPS, etc. Green seemed the most cost-effective way to do this, and my needs are modest, so I ordered one.

Most migration instructions make use of Backup/Restore, which seems great, but I’m running into the requirement that the old disk must be smaller than the new one, and this is not the case for me (see https://www.home-assistant.io/common-tasks/general/#restoring-a-backup-during-onboarding).

In particular, the line about Free Space rather than Used Space is throwing me: “The target device must have more free space than the source device.”

HA reports 6GB for Disk Used, 48.5GB for Disk Total, and est DB size of 64GB. The VM allocated disk space is 50GB (actual space on host disk is 14GB).

Am I actually fine? Is there a better migration path than backup/restore for this situation? Are there procedures to shrink everything down to less than the 32GB of storage that HA Green has?

Thanks for your help!

32Gb minus 14Gb is going to fit with some wiggle room to spare. Check on the Green how much room HomeAssistant takes on there right now - it should be similar to the 6Gb on the old system.

Be aware that disk usage always tends to increase as time goes on, so prepare to upgrade in the future, after disk prices come back down from their unprecedented high right now.

Should be fine to go the restore route, the preferred way. Just restore your backup from the old to the new, close down cleanly, and restart. Verify you have network connectivity and check for any outstanding updates. Be prepared for them to take a while to update if there are any.

Check your disk space used and free after 24 hours have passed and housekeeping has settled in at the new location on the Green. Let us know the new figures for disk space.

Check your system log for any errors. Let us know if any found.

Once you are satisfied all is well, initiate a full backup on the Green so you have a baseline to revert to in case something goes wrong. Keep your old disk untouched for contingency backup should you need to revert to your old environment if something goes wrong. You can finally relax and re-use it after the upcoming April core update is successful.

Keep us posted on progress.

1 Like

I was worried for nothing. The migration went off without a hitch and I have been running on the Green box for a couple of weeks. Thank you so much for your help.

-Larry