jXxztL
December 26, 2024, 8:42am
1
I have been using home assistant on a rock64 armbian for a year.
for some data corruption, the memory card won’t boot anymore.
I’ve reinstalled the OS on a new card.
Is it possible to get the config/settings everything from the old memory card?
I can browse and see all files in there.
please Let me know how I can do this, if it is possible.
Thanks.
koying
(Chris B)
December 26, 2024, 9:38am
2
If you can use that card on a linux machine, mount the 8-ish partition of the memory card (‘/dev/mmcblk0p8’, label ‘hassos-data’).
Assuming you mounted it as /mnt/data
, your config is in /mnt/data/supervisor/homeassistant
1 Like
jXxztL
December 26, 2024, 11:34am
3
sorry, I haven’t installed hassos.
it’s supervised install.
There’s just one partition.
there’s /home/homeassistant/
and /srv/homeassistant/
Should I just copy the /home/homeassistant/
to the new memory card?
koying
(Chris B)
December 26, 2024, 11:40am
4
What’s in “/home/homeassistant/.homeassistant”?
Anyway, the folder containing configuration.yaml
is the one you want to copy over to the new install (and be sure to copy hidden folders, e.g., .storage
as well)
1 Like
jXxztL
December 26, 2024, 1:09pm
5
debian@t9:/mnt/corrupted/home/homeassistant/.homeassistant$ ls -a1
.
..
automations.yaml
backups
blueprints
.cloud
configuration.yaml
deps
.HA_VERSION
home-assistant.log
home-assistant.log.1
home-assistant.log.fault
home-assistant_v2.db
home-assistant_v2.db-shm
home-assistant_v2.db-wal
scenes.yaml
scripts.yaml
secrets.yaml
.storage
tts
sorry for asking again, should I just copy configuration.yaml
and .storage
or the whole .homeassistant
folder?
or the whole /home/homeassistant
folder?
koying
(Chris B)
December 26, 2024, 6:10pm
6
The whole content of the folder
1 Like