Config .sbk extract from SD-Card

Einrichtung, Nutzung und Hilfe zu YAHM

Moderator: Co-Administratoren

Antworten
Peacebrother
Beiträge: 4
Registriert: 02.02.2014, 16:35

Config .sbk extract from SD-Card

Beitrag von Peacebrother » 19.06.2017, 13:40

Hi,

my Raspbian Jessie with YAHM crashed and will not boot anymore. Is it possible to extract the config file (.sbk) of the CCU2 from the SD-Card?

Thank you

Thomas

Peacebrother
Beiträge: 4
Registriert: 02.02.2014, 16:35

Config .sbk extract from SD-Card

Beitrag von Peacebrother » 19.06.2017, 14:34

So, I have mounted the Linux Filesystem under windows. But I can't find the Folder with the Config Files. Does anybody knows the path?

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Config .sbk extract from SD-Card

Beitrag von leonsio » 20.06.2017, 09:14

you can find the container inside /var/lib/lxc folder
just backup yahm folder, and you can restore it on a new sd card

the ccu2 configuration are stored here: /var/lib/lxc/yahm/root/usr/local/etc

Peacebrother
Beiträge: 4
Registriert: 02.02.2014, 16:35

Re: Config .sbk extract from SD-Card

Beitrag von Peacebrother » 20.06.2017, 14:14

Thank you. I found these files.

If I copy only the ccu2 config files in the new directory, it takes no effect.

After I copied the whole yahm directory, the container won't start anymore.

Is there any trick to start it?

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Config .sbk extract from SD-Card

Beitrag von leonsio » 20.06.2017, 17:13

you have two options

1. backup&restore configuration
backup /var/lib/lxc/yahm/root/usr/local/etc
install yahm (quickinstall)
copy the files to the new yahm installation

2. backup&restore yahm
backup /var/lib/lxc folder
install yahm (quickinstall)
remove /var/lib/lxc folder
restore /var/lib/lxc from backup
(attention take a look on permissions)

you can find lxc logs inside (/var/lib/lxc/yahm folder)
the yahm logs (console) can be find in /var/lib/yahm

Antworten

Zurück zu „YAHM“