How do I back everything up? SOLVED

I’ve just setup a new RPi3 under hass.io, I’ve added in SSH/SAMBA/Mosquitto addons, now I need to restore a snapshot I took before my SD card died.
Is there supposed to be a method to import a previous .tar snapshot file? I have copied it back into the “backup” share, but it doesn’t show up in the hass.io GUI where I could RESTORE it from?
Or should I just expand the backup and copy the files in individually to the “config” share?
Thanks

Hit the refresh icon in upper right corner and the backup will show up in the list.

4 Likes

What @NotoriousBDG said should work. Once you upload the .tar file to the backup share folder, you should be able to select it from the same control panel you create backups from.

Thanks that worked…hard to believe I missed that refresh icon :wink:

1 Like

Thanks alot, missed the little refresh button too. :sweat_smile:

1 Like

Regarding restoration, is the routine as follows:

  • Backup from the Snapshot menu.
  • Preserve backup file away from SD card.
  • If system should need to be restored, download the most recent HASS.IO image and start fresh on your SD card.
  • Setup Samba.
  • Copy the backup to the backup folder.
  • Use the Restore in the Snapshot screen.

Is the version of HASS.IO installed at the time of the backup critical to a successful restore, or does the backup only contain configuration information for HA? Thanks!

5 Likes

I think I’m missing a step. Where do you do Snapshots from? I’ve been looking for a tool called Backup or Snapshots as a Hass.io add-on or option on the control panel and can’t seem to locate one.

1 Like

Click the Hass.io link in the left menu. Then, click the hamburger menu all the way in the upper right.

1 Like

It’s so built in an obvious I looked right past it. Doh!

Noob Here - Be Warned!

Where would one find the back up file? i was able to create one and accidentally tested it. It works!

What i can’t do is find where it is located so i can save it away from the card. I know i have seen a blank back up file somewhere, but finding it proves difficult. It almost seems that it should be where the config file is located. It almost seems that what was once is now gone. Lost to the ether by an accidental deletion?

BTW, the community is great and i do appreciate the help.

Disregard. Found it. I was looking in the config file. Not in the entire file. They need to take my computers away.

2 Likes

ok i got the snapshot made and I thought I could just scp it over but no. So I have to install the samba addon, im just wondering how safe it is to have samba as compared to other available options, if there are any?

1 Like

Why can’t you scp it over? I can

1 Like

I get permission denied. And I’m using root

I did scp root@myip:/backup/filename.tar /

Where / is my root directory on my mac

@DavidFW1960 any idea what I might be missing?

Careful with snapshot, they do not back up everything. I recently had to re-install hassio, I thought it would be piece of cake as I had plenty of backups, but when I wanted to restore I found that pieces are missing. I ended up re-imlementing the whole thing, took me a week. My python scrips were gone, the www directory, packages and few other files. Or is it just me?
Since then, I do backup, but I also copy the files via robocopy to my cloud account.

2 Likes

Just you. I’ve restored snapshots maybe 10 times and they have absolutely everything in them.

2 Likes

Robocopy is a hass.io addon?

1 Like

It is a windows command line tool

1 Like