Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1918 posts

Uber Geek
+1 received by user: 123


#318028 8-Dec-2024 18:23
Send private message

My HA runs on a Yellow and I am about to upgrade the CM4 from a 2GB to a 8GB. It has a 256gb NVME. It seems I will have to boot the new module from a SD card and I am not sure if that wipes the NVME.

 

I will make a backup and move that to my desktop just in case but if I end up with a fresh install of HA, how do I go about bringing that external backup in to HA?

 

Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
timmmay
20923 posts

Uber Geek
+1 received by user: 5395

Trusted
Lifetime subscriber

  #3318127 8-Dec-2024 19:58
Send private message

I doubt it would wipe it. There's a tutorial on restoring from backup here.

 

I have HA running on Docker, with everything (config, automations, etc) checked into git daily. It works well. Runs on a Pi4. Next time I will get a larger computer, for cooling - Pi cases are terrible for cooling nvme SSDs, my case cooked one until it failed, now the case is split open in the cupboard with a heatsink on the nvme drive to help it stay cool. It's 48C now, previously it was around 90C.




peejayw

1918 posts

Uber Geek
+1 received by user: 123


  #3319018 11-Dec-2024 07:38
Send private message

I watched this video and he says the process will wipe the NVME 😒. If I have to do a fresh OS install and my data on NVME is wiped, how do I run the backup that will be on my PC? Can I put it on a thumb drive and get HA to back up from there?





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Handle9
12086 posts

Uber Geek
+1 received by user: 9914

Trusted
Lifetime subscriber

  #3319020 11-Dec-2024 07:46
Send private message

peejayw:

 

I watched this video and he says the process will wipe the NVME 😒. If I have to do a fresh OS install and my data on NVME is wiped, how do I run the backup that will be on my PC? Can I put it on a thumb drive and get HA to back up from there?

 

 

You upload the backup from your PC and restore it. You can do it from the GUI.




peejayw

1918 posts

Uber Geek
+1 received by user: 123


  #3319023 11-Dec-2024 07:54
Send private message

Ah, found it, thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Handle9
12086 posts

Uber Geek
+1 received by user: 9914

Trusted
Lifetime subscriber

  #3319027 11-Dec-2024 07:59
Send private message

It's extremely easy. I just spun up a new HA VM to double check and you get the option to restore on startup of a new instance. Just make sure you do a full backup.

 

 

 


peejayw

1918 posts

Uber Geek
+1 received by user: 123


  #3319029 11-Dec-2024 08:01
Send private message

Thats the bit I wondered about. Module arrives next week, fingers crossed.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).
Handle9
12086 posts

Uber Geek
+1 received by user: 9914

Trusted
Lifetime subscriber

  #3319045 11-Dec-2024 08:51
Send private message

timmmay:

I doubt it would wipe it. There's a tutorial on restoring from backup here.


I have HA running on Docker, with everything (config, automations, etc) checked into git daily. It works well. Runs on a Pi4. Next time I will get a larger computer, for cooling - Pi cases are terrible for cooling nvme SSDs, my case cooked one until it failed, now the case is split open in the cupboard with a heatsink on the nvme drive to help it stay cool. It's 48C now, previously it was around 90C.



You really don’t need to go through that sort of rigmarole for an HA OS installation docker is a little bit different.

It was one of the reasons I went to a VM instead of running everything in my docker environment.

timmmay
20923 posts

Uber Geek
+1 received by user: 5395

Trusted
Lifetime subscriber

  #3319055 11-Dec-2024 09:03
Send private message

I quite like the docker option. I'm running about eight containers to do various things on a single Raspberry Pi, and when I need to transfer to another machine it is much quicker - I do a Docker pull and then start everything with a script.

I ended up with Docker after having to reinstall everything a couple of times and got tired of all the dependencies and libraries and stuff for all the different things I run.

Handle9
12086 posts

Uber Geek
+1 received by user: 9914

Trusted
Lifetime subscriber

  #3319059 11-Dec-2024 09:10
Send private message

I get the use case - I’ve got 20 or 30 docker containers running on my homelab server as well as some VMs, including home assistant. I just found it much easier to run home assistant as a VM. I still have it’s influx db running as a docket though.

Having different ways to deploy is one of the nice things about the project.

timmmay
20923 posts

Uber Geek
+1 received by user: 5395

Trusted
Lifetime subscriber

  #3319064 11-Dec-2024 09:15
Send private message

Using the home assistant OS does have advantages, integrated with the store for example. I started off there but moved to Docker so I didn't need multiple raspberry pis.

reven
3748 posts

Uber Geek
+1 received by user: 874

Trusted

  #3319073 11-Dec-2024 09:46
Send private message

Handle9:

 

peejayw:

 

I watched this video and he says the process will wipe the NVME 😒. If I have to do a fresh OS install and my data on NVME is wiped, how do I run the backup that will be on my PC? Can I put it on a thumb drive and get HA to back up from there?

 

 

You upload the backup from your PC and restore it. You can do it from the GUI.

 

 

I migrated my HAOS install from a pc to a rpi4 last week.  Super simple.  Backup first, then restore from backup.  Everything was back up and running exactly the same.


 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).
Handle9
12086 posts

Uber Geek
+1 received by user: 9914

Trusted
Lifetime subscriber

  #3319074 11-Dec-2024 09:48
Send private message

timmmay: Using the home assistant OS does have advantages, integrated with the store for example. I started off there but moved to Docker so I didn't need multiple raspberry pis.


It’s not really an issue when you have 12 cores and 24 threads available.

The newer low power mini pcs available now make raspberry pi’s a bit redundant for these types of applications if you run enough services. Once you buy cases and power supplies etc you can get pretty close to N100 money.

timmmay
20923 posts

Uber Geek
+1 received by user: 5395

Trusted
Lifetime subscriber

  #3319077 11-Dec-2024 10:05
Send private message

Absolutely, my next hardware for this kind of thing will be a compact computer of some kind, maybe Intel maybe ARM, but the key thing is the nvme drive needs to be properly cooled. Raspberry Pi cases are terrible for disk cooling.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.