Clone hass.io sd card?

Hi guys,
When I was running hassio on a Hassbian or Raspian (I can’t remember which one it was) I was able to load my sd card into my windows system and make a clone copy, which I then loaded into a fresh SD card.

this allowed me to trail updates or make changes that if anything went wrong I could re-insert my original SD card.

now I’ve moved over to HASS.IO I found that my windows doesn’t register the SD, preventing me from making a copy.

do you guys know how I can get around this?

I don’t think you can… I just keep copies of recent snapshots on my laptop and delete them as I progress through new versions and I am happy that everything is working correctly

1 Like

Agree with @sparkydave - with Hass.io the best thing is to make snapshots. Use Daniel Welsh’s dropbox addon any you can have daily snapshots backed up off your system.

Okay cheer guys

I spent a few ‘days’ with a lot of problems, which i want to share :

  • Snapshots are NOT Always working fine. Why? If there is a new version with changes of user authorisations, backup methods, you are simply not able to restore an old snapshot in a new version. I also tried to downgrade to an earlier version without succes.

  • Snapshots are fine as long as you have a reachable HA version, but if not, you have to restore a local (or cloud) snapshot, what means a new installation, activate sambe/ssh and then pray you are able to transfer the snapshot, to the same version, incl. add-ons passwords etc. Last week there were for instance probs with mosquitto (user authorisation) and you will not be able to restore in a simple way.

So a 1:1 hardcopy of an sd-card would be a good solution (you need 2!) or 2 sd cards, 1 with the complete version and 1 of the same version with samba installed (with same user en passwords) to restore the snapshot saved local/cloud.

Agree with @Ron but what would be a reliable 1:1 cloning tool?
I did try Win32 Disk Imager and this one is just burning image on sd-card, and not the other way around (backup sd-card to img file).

edit: Win32 Disk Imager can indeed also read sd-card, I was kinda fooled by gui.

I used this procedure to clone my SD Hassio install of HassOS.

https://www.howtogeek.com/341944/how-to-clone-your-raspberry-pi-sd-card-for-foolproof-backup/

2 Likes

Thanks GaryK, that helps.