Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102449

Server crashed- Reinstalling Home Assistant- no backup folder

$
0
0

@stevemann wrote:

My server crashed and I spent the past two days getting Ubuntu and Docker reinstalled.

I used the following command to install Home Assistant on Docker:

sudo docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /usr/share/hassio/homeassistant:/config --net=host homeassistant/home-assistant:stable

No errors, so restart Home Assistant:

sudo docker restart home-assistant

Now, open Home Assistant on my browser:
http://192.168.1.54:8123

And I get the very basic Home Assistant page asking to create an account and set my location, etc.

Now, I want to restore from a snapshot before the crash.
But, there is no backup folder. In fact in /usr/share/hassio the only thing present is the homeassistant folder. No json files, no other folders like share and backup, nothing.

Did I do something wrong in the installation or have I missed a step?
Can I simply copy the files and folders from a backup of the /usr/share/hassio/ folder that I made just before the crash?

This is my new configuration.yaml has:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

This is the basic screen that I get:

Any assistance at this point would be appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>