Link to home
Start Free TrialLog in
Avatar of janhoedt
janhoedt

asked on

XBMC on Raspberry Pi - Open Elec, howto backup this SSD correctly?

Hi,

I have a working config of XBMC on a SSD, how can I correctly backup this config and (if needed) make a new ssd in case of a crash?

Thanks!
J.
Avatar of thelug
thelug
Flag of United States of America image

To Back Up Configuration/settings
1. Login to the pi and, from the /home/pi/ dir, type: tar -czf backup.tar.gz .xbmc/  
2. Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)

to Restore the backup on the system:
1. Return the tar file you copied to the Raspberry Pi
2. Run the following commands:  sudo initctl stop xbmc; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo initctl start xbmc

Let us know if this helps.
Avatar of janhoedt
janhoedt

ASKER

Thanks, but please advise on howto do this on Openlec There is no home-folder + what are the commands to transfer to ftp?

openelec:/ # ls
berryboot-init  flash           proc            storage         var
bin             lib             run             sys
dev             media           sbin            tmp
etc             opt             splash          usr
Avatar of Gerwin Jansen
Hi, the raspberry has an SD card that it is running from, right? I'd just take that memory card and use some USB stick image tool to create an image of the memory card. You would need to have an SD to USB adapter for that. For example, this is a tool you could use:

http://dottech.org/8980/easily-backup-and-restore-your-usbflash-drives-with-usb-image-tool/
ASKER CERTIFIED SOLUTION
Avatar of Merete
Merete
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial