For this to work, you must enable the SSH server add-on and have done a snapshot before making any changes to Home Assistant. While not ideal, it will get you back to a previous working config without
From the Home Assistant GUI –
click on Hass.io
click on Snapshots
Snapshot can be restored from the GUI by clicking on an Available Snapshot
Best practice to do a config check before rebooting
From the Home Assistant GUI –
click on Configuration
click on General
click on Check Config
CLI commands
hassio snapshots list (lists the snapshots available)
core-ssh:~# hassio snapshots list
{
“result”: “ok”,
“data”: {
“snapshots”: [
{
“slug”: “9d170a1e”,
“name”: “12-29 Base Snapshot”,
“date”: “2018-12-29T22:47:26.966864+00:00”,
“type”: “full”,
“protected”: false
}
]
}
}
core-ssh:~# hassio snapshots restore –slug 9d170a1e
You will loose your SSH session after issuing the command. Home Assistant should come online shortly after that.
Command line option to do a snapshot – hassio snapshots new –name “test”. Replace test with what you want the name of the backup to bee.
================================================
*** Show Notes, Links and Resources ****
Here are the items mentioned in this video –
*===============================*
Become a Patreon supporter
*===============================*
Please click on the Subscribe button to get notified when there is new content
To view all of the videos in this series, please click on this link –
Subscribe to TechbytesRN here: https://www.youtube.com/TechbytesRN
To listen to an audio version of this episode while trying, TechBytes with Ron Nutter is available on
iTunes, Google Podcasts, Stitcher and TuneIn. Go to TechByteswithRonNutter.com to subscribe today!
To subscribe to the TechbytesRN newsletter, click here – http://ronaldnutter.com/sample1
In return for subscribing to the newsletter, I will send you a chapter from my first DIY Smart Home Guide Book.
Visit http://www.ronaldnutter.com to see all the books Ron has written
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for the support!
#TechBytesRN #home_assistant #RPi #smarthome #IoT
Podcast: Play in new window | Download
Subscribe: Apple Podcasts | TuneIn | RSS