Hassio Config Backup Strategy

Hi,

I recently moved to Hass.io from a Hassbian install.

One thing I miss is the ability to backup my config to git/ bitbucket.

What’s the recommended way to backup your config to version control with Hassio?

Cheers.

Yeah, that would be great.
Just need to be able to define a message, URL, username, password.

Cheers.

How do you do that?

Thanks for the heads up. I ended up doing the same thing. :+1:

I can’t rely get the gitupdate.sh script to work, can you share yours @jurriaanpro ?

Thanks that worked!

How do you run the scripts? Is SSH in, change dir and runt the script the only option or is there a better way?

I’ve submitted a feature request for automatic backups here:

1 Like

To get to the config directory where you need to create the git repo, after SSHing into HASSIO:
cd /config

Would it be possible to add an automation/script to run this script every 24 hours, say, and to make the “comment” something like “DATE_OF_BACKUP auto-backup” (Where we replace DATE_OF_BACKUP with the date!)

Any suggestions/advice appreciated.