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
Config .sbk extract from SD-Card
Moderator: Co-Administratoren
-
- Beiträge: 4
- Registriert: 02.02.2014, 16:35
Config .sbk extract from SD-Card
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?
Re: Config .sbk extract from SD-Card
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
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
-
- Beiträge: 4
- Registriert: 02.02.2014, 16:35
Re: Config .sbk extract from SD-Card
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?
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?
Re: Config .sbk extract from SD-Card
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
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