I can not access my Supervisor (hass.io menu) or SSH on my system. I want to try to restore a snapshot to see if that will recover my Supervisor and SSH. I obviously can’t use Supervisor or SSH to restore the snapshot, but I see in the Services dev tools their is a service called hassio.restore_full
. But I can’t figure out what to put in the Service Data field. Does anyone know what I would enter in the service data field to restore the snapshot file backup/2f39b3ed.tar
?
Frustratingly I think you need the snapshot’s name rather than the filename. Can you manually access http://YOUR_IP:8123/hassio/snapshots ?
Nope, I can’t access anything at http://YOUR_IP:8123/hassio/*
I usually follow the same naming scheme for backups. So the backup is probably called “9-28-19”. Assuming that’s the backup name, what would I put in the data field?
name: "9-28-19"
I found the name of the snapshot. I used 7-zip to extract the snapshot file. There is a file inside that called “snapshot.json”. The top part of that file shows:
{
"slug": "8250126f",
"name": "9-29-19",
"date": "2019-09-28T20:29:55.533399+00:00",
"type": "full",
"addons": [
{
"slug": "core_samba",
"name": "Samba share",
"version": "8.1",
"size": 0.0
},
So, I used this for my service data:
{
"name": "9-29-19"
}
I’m still getting the message
Failed to call service hassio.restore_full
Is there something else I need to add?
Dunno, that’s about as far as my guesswork extends on this one I’m afraid.
I’m thinking move the backup somewhere safe, rapid fresh install, move it back, restore.
I had luck with this syntax:
{
"snapshot": "8250126f"
}
Where “8250126f” is the name of the snapshot slug and filename.
Hi @bphillips921 – I’m trying to do something similar since my Supervisor is failing to boot. How did you manage to call a service without accessing your Home Assistant UI?