HOW TO - Migrate Home Assistant (SD CARD TO SSD)

Sdílet
Vložit
  • čas přidán 25. 08. 2024

Komentáře • 68

  • @mackflix
    @mackflix Před 3 lety +4

    Thanks for the Hand-Holding, it's great for Us that just lack that bit of confidence to tackle this stuff on our own. Your channel is making a difference, keep it up!

    • @MarkWattTech
      @MarkWattTech  Před 3 lety +1

      Thank you! Glad to have helped. Plenty more to come 😁

  • @ChrisCraft184
    @ChrisCraft184 Před 3 lety +2

    I did it! It took me a while and I often referred to your SSD install video, but it works now! I officially decommissioned the SD card and am running my Pi4 on just the SSD for a few days now and it's perfect. Thank you so much!

  • @tiagosaavedra439
    @tiagosaavedra439 Před 3 lety +1

    Guys a little tip, this got me fighting for 3 hours, I was loosing access to my HA everytime I try to restore. Im using fixed IP and duckdns. Everytime the upload started i loose the connection and never got back to my HA (waited more than 1h, im starting now it was about 15mb backup) without flash everything again so:
    - make the normal account when you log in for the first tim
    - install samba or ftp addon,
    - upload the snapshot to the backup folder then do the restore
    Took me 2 min restoring everything. My guess is during the upload from the computer to the RaspberryPi the coonection was lost and leave the configuration at the middle
    (noob tips, sorry for my english )
    Keep on the great work Mark

  • @brinsleymanzi4437
    @brinsleymanzi4437 Před 3 lety +5

    You make no mention of the boot loader.....does this now work on an Rpi4 without an SD card inserted and just a USB SSD

    • @MarkWattTech
      @MarkWattTech  Před 3 lety +3

      Hey Brinsley. You can now boot directly from an SSD with no SD card (if that's what you mean). I have covered this in a couple of installation videos on my channel. This is booting directly from the SSD and not using the datactl move method. I may create a video showing the SSD setup using the datctl method if enough people where interested. Cheers.

  • @craigw4644
    @craigw4644 Před 3 lety +1

    Found it, nice to watch versus trial and error.

  • @bowentz
    @bowentz Před 3 lety +1

    Just what I was waiting on... Thanks!!

  • @rbolden
    @rbolden Před 3 lety

    Thanks Mark, greeting from Australia. Worked like a treat.

  • @botialoach1
    @botialoach1 Před 10 měsíci

    Excellent video thank you the recap was really helpful

  • @wizake
    @wizake Před 3 lety +1

    One thing that drove me crazy for about 4h was MariaDB which got corrupted during the migration. Upon restoring the snapshot, the recorder and logbook were not working. I had lost all my history data. I could get HA back online if I uninstalled and reinstalled mariaDB addon.
    The secret is to stop the addon prior to creating the snapshot. Worked like a charm in the end, and I only lost those 4h.

  • @davebareham1075
    @davebareham1075 Před 3 lety

    Great video Mark (and great channel)

  • @dejanvirijant3970
    @dejanvirijant3970 Před 3 lety +1

    Just a note - if you have Pi close to your wifi router or zigbee stick plugged directly into Pi you (as have i) might have some troubles with interferences. I found out that SSD over USB 3.0 is "emitting" some kind of signal on 2.4 GHz so using extending cable for zigbee stick and eventually moving Pi away from router fixed the connectivity problem. Hope it helps :)

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Great tip. I forgot to mention this. I actually have a Conbee II attached via a usb 3.0 extension cable directing it away from the Pi.

    • @bergmannlights5149
      @bergmannlights5149 Před 3 lety

      @@MarkWattTech how far away does the stick need to be from the SSD? Also could this impact zwave signals as well?

  • @kristianwind2755
    @kristianwind2755 Před 3 lety +2

    Hello Mark - and thank you for these videos!
    I have a Pi4 with SD card running with 110+ Zigbee devices on a CC2531 stick. I have tried moving to an UDOO with with Win10 and VirtualBox before but didn't seem to work for me as the devices were not updated or reconfigured. Perhaps I was not patient enough... Could be I should be looking into the SSD upgrade of the Pi instead.
    Have you any advice? Should I move the CC2531 to the new host or can I use my spare (don't know if the devices are store on the USB stick or in HA).

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hey Kristian. The hardware is entirely up to you. The Pi is a great place to start and you can always switch up once you outgrow the Pi. Im currently running my setup on a Pi with an SSD and am more than happy with it.
      As far as I am aware, The Zigbee configs are all stored with HA so you should be able to just move or restore that config and have now worry with moving the USB between.
      Hope that makes sense.
      Cheers.

  • @Bertjegassel1
    @Bertjegassel1 Před 3 lety +1

    Cheers Mark for your great work. One question: is it mandatory to put the deconz stick in the same USB port as before, to be recognized after the fresh install?

  • @EyalOren
    @EyalOren Před 3 lety +1

    Might have missed it but you mentioned a process for automating snapshot creation. Is there a video for that?

  • @franktechniek
    @franktechniek Před 3 lety +1

    Entire video about snapshots and restoring, and not a word about the actual SSD which is still sitting on my desk waiting for things to happen.

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hey Frank.
      This video is just meant to show you how to migrate from an SD card to the SSD.
      In this video I’m presuming you have an SSD already setup with a clean HA image on it.
      I do have videos that show how to install HA on an SSD if your interested. Cheers

  • @adrianfarrell4072
    @adrianfarrell4072 Před 2 lety

    Hi, followed this and the various online guides and it didnt work for me, once the restore was done it lost too many of my customisations (most annoying was the network settings)
    My simple view of it worked, i used Etcher to 'Clone' the SD card to my SSD and simply booted from the SSD (Raspberry pi 4 native boot), worked like a charm with the only gripe was it stating that it had been turned off for several hours while i figured it out

  • @techanical
    @techanical Před 3 lety +1

    I have not been able to get duck dns working on the new system could you do a vid with changing up address to match old system and getting duck dns back up and running ?

  • @davidc4162
    @davidc4162 Před 2 lety

    Tried this but can't get the new install on the SSD to boot. I have HA 7.6 running on a Pi 4 4gb but it won't boot from the new etch of 7.6 on an ssd plugged into a USB 3 enclosure (ASIN

    • @davidc4162
      @davidc4162 Před 2 lety

      Nvm found a compatibility list, its the usb. Its like a 50/50 chance apparently....

  • @diederikmaes2367
    @diederikmaes2367 Před 3 lety

    I've had to roll back to SD unfortunately.
    After migration to SSD everything looked OK excpet for ZWave JS. Turned out I had forgot to disable Bluetooth in the boot file on the new restored install.
    However then it turned out that ZHA looked OK but I had nog control on any device anymore. Rebooting didn't help. Waiting a full night to let it sort out itself either. So I gave up for now and returned to the SD card. Immediately everything worked, so it's not the new flashed Pi that is the problem.

  • @MaxGoddur
    @MaxGoddur Před 3 lety

    Great video. I am a bit challenged when it comes to tech but getting better. I know how to get a fresh image installed onto the Micro SD card but not sure I followed how you install it onto the SSD Drive. Can you please elaborate?

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Thanks :) sure happy to help. So are you just trying to do a clean install on the SSD?

    • @MaxGoddur
      @MaxGoddur Před 3 lety +1

      @@MarkWattTech yes would like to move away from MicroSD card and start fresh with SSD drive. Do you have a video for such a change? I don't have a lot of stuff I want to carry over, in fact, looking forward to redoing it as it should help to solidify into memory the steps to get to that point. Thank you in advance. Do you have a coffee fund?(never mind found it)

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@MaxGoddur no worries. I have a link in the description to my installation playlist. In the playlist there are 2 videos (Quick and Easy) which are both installation videos for clean SSD setups. Also link for my coffee in the description if you want that too :)
      Give me a shout if you need a hand.

  • @spr0k3t
    @spr0k3t Před 3 lety +1

    One thing you should do is recommend previous videos for those who don't know how to set up specific components. Specifically these two (Quick) czcams.com/video/WDCE4_sP5_E/video.html (Descriptive) czcams.com/video/WDCE4_sP5_E/video.html. #5:05 . This will give you more views for your other videos as well as provide easy references for those following along. Don't go overboard in your referencing other videos though... stick to the topic if it's directly related.

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Thank’s Kent. I did reference them in the description but I will be sure to reference / promote them better in the future. Appreciate the feedback as always :)

  • @MrNrbarker
    @MrNrbarker Před 3 lety

    So have I (as a newly) missed something here? I watched the videos on quick and easy installs of HA on an ssd. They use Pi Imager which is limited to the 32 bit Pi. I was hoping to install the 64 bit versions of Pi and HA. This video (please excuse a beginner) seems to pick from when Pi os 64 is already on the ssd.
    How did you get Pi 64 onto the ssd? I have Pi 64 with ha 64 running on my ssd card fine.

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hi Neil.
      In this video example I am taking a working Home Assistant instance on an SD card. The SD card image is running a 32bit version of Home Assistant. I then make a snapshot of this instance.
      (You can use the Pi Imager for 64 bit installs too)
      If you do a clean install of a 64bit Home Assistant onto an SSD you can then import your previous Home Assistant snapshot (In this demo case the 32bit Snapshot). So you can move from 32bit to 64bit.
      Hope that makes sense?

    • @MrNrbarker
      @MrNrbarker Před 3 lety +1

      @@MarkWattTech Thanks Mark. Makes sense with a few other things I read.

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@MrNrbarker no worries. Any issues give me a shout :D

    • @MrNrbarker
      @MrNrbarker Před 3 lety

      @@MarkWattTech Thanks. I’m reading and watching lots on this. I expect I can easily follow your instructions to copy the snapshot. I have read though www.tomshardware.com/how-to/boot-raspberry-pi-4-usb
      But to add HA you need the lite version so I have discovered. So I am still stuck on how to create a clean 64 bit HA install on an ssd. Your latest video picks up from this point. But how do I make that clean 64 bit install from scratch (ie blank ssd and ssd) on an ssd that will boot. I have a Pi 4 2G and a 120G Wd Ssd.
      It’s 12:30am here in Brisbane. Time for a nap. Ps. I really appreciate your help.

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@MrNrbarkerNo problem :) Enjoy your nap. In my install video (If you haven't seen it) I do show how to install HA on a blank disk.
      Have a look at : czcams.com/video/WDCE4_sP5_E/video.html
      That specific timestamp shows the flashing of a 64bit image to an SSD and the rest of the steps you will need to do.
      This is just a clean install. Let me know if that helps.

  • @tomm2289
    @tomm2289 Před 2 lety

    sorry I'm late to the party. Any plans on doing an updated video? Will this still work just looks slightly different?

    • @MarkWattTech
      @MarkWattTech  Před 2 lety +1

      Hey Tom, I do touch on this in some of the later HA install videos ive done

    • @tomm2289
      @tomm2289 Před 2 lety +1

      @@MarkWattTech thank you for reply. I'll Subscribe and check them out

  • @MrBobWareham
    @MrBobWareham Před 3 lety

    I know this sounds stupid but did you do all this from the shortcut on your computer as that is how I run my HA from my raspberry pi 3 I log in from my laptop and can I change over to an SSD on my raspberry pi 3? And is the Kinstone the best drive to use? thanks, Bob in the UK

    • @MarkWattTech
      @MarkWattTech  Před 3 lety +1

      Hey Bob. Do you mean did I do it all remotely? (if so then yes - that's essentially what SSH is). Kingston drives are very affordable and run well. Any SSD will do to be honest. I would go for a cheap well know branded one. There's not much point spending loads on one as the Pi wont be able to utilize it.

    • @MrBobWareham
      @MrBobWareham Před 3 lety +1

      @@MarkWattTech Thanks for the reply very helpful so I will get a cheap drive from eBay and move over my HA from the memory card to the SSD

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@MrBobWareham You will see a noticeable difference :)

  • @kraddoomsters
    @kraddoomsters Před 3 lety

    I was just thinking about doing this. Does the full snapshot backups conbee/deconz stuff too?

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hey! I have an updated version of this that will be live in about half an hour if your interested :)
      But yes! Conbee/deConz is all backed up.
      Cheers

    • @kraddoomsters
      @kraddoomsters Před 3 lety

      @@MarkWattTech I'll have a look. Is there any point of having an 8gb rpi4 over a 4gb one since HA is gonna be installed on a ssd?

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@kraddoomsters if you plan on having a lot of add-ons etc then yes. If its just light automation etc 4GB is plenty. The beauty if HA is that its so scalable. If you start with 4 then want or need extra grunt you can just upgrade :)
      Then you can use that 4GB pi in another HA project 😆

  • @Wieczor178
    @Wieczor178 Před rokem

    How long should the Upload backup screen show for ? 40 min and still uploading :(

    • @MarkWattTech
      @MarkWattTech  Před rokem

      Have you tried refreshing your browser?

    • @Wieczor178
      @Wieczor178 Před rokem

      It just fails uploading backup, keep spinning even when I try to restore from superuser :( doesn't even give me option to select what to restore its 7GB :(

    • @Wieczor178
      @Wieczor178 Před rokem

      @@MarkWattTech sorted it, I had to upload backup via samba share but it looks OK now, thanks :)

    • @MarkWattTech
      @MarkWattTech  Před rokem +1

      @@Wieczor178 glad you sorted it out! Happy Hom Assistatnt-ing 👍🏻

  • @Lezcarr
    @Lezcarr Před 3 lety

    Hi, I followed your video and booted on the SSD ok, the home assistant screen loaded and I had the choice to reinstall snapshot or created account tried both methods but still no joy, left it for ages still would not boot or load HA login screen again after each attempt, I had to write again with each attempt the image to get a fresh HA just no joy what so ever

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hey Lez. So you can get HA working on the SSD but your snapshot is failing?
      I recently created a new video on the SSD install/migration that uses a different approach. And I talk about a few issues in that video.

    • @Lezcarr
      @Lezcarr Před 3 lety +1

      @@MarkWattTech do you have a link to that video

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      Hey Lez. The video can be found at : czcams.com/video/HA1C1wgyJfI/video.html

    • @Lezcarr
      @Lezcarr Před 3 lety +1

      Hi Mark, something to add to your video, as I now have mine up & running, if you have installed an ssl you will need to add add the https: to get it to loadup

    • @MarkWattTech
      @MarkWattTech  Před 3 lety

      @@Lezcarr thanks for the Update Lez. I will pin a post about it to help anyone else that might have this issue. Cheers

  • @andreapastore4009
    @andreapastore4009 Před rokem

    Great ! The only (the only!) problem I have is that after switching from sd card to ssd I can no longer access homeassistant.local:8123, and neither ip of the raspberry!