Forum
backup for upgrade - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: backup for upgrade (/thread-2183.html)



backup for upgrade - coco163 - 16th Mar, 2014 11:17 PM

Hi all,

I tried to go throu all topics but nothing relevant to what I exactly need.

I'd like to upgrade to beta 2 as a fresh install.
I'd like to know if i can save the folders that contain addons and settings that I can paste directly after the fresh installation to retrieve all my settings and addons configurations.


RE: backup for upgrade - mk01 - 17th Mar, 2014 11:32 PM

@coco163

in general yes, this is possible. there are few ways:

1. there is XBMC-BACKUP addon for XBMC
2. you can save /home/xbian/.xbmc/ content and copy it back after installing fresh img.

after you put .xbmc folder back, reinstall xbian-package-config-xbmc as depending on version/distro of your current setup with these steps you would remove some important components - but this is not issue if you just reinstall the package after.

Code:
sudo -i
apt-get install --reinstall xbian-package-config-xbmc



RE: backup for upgrade - coco163 - 18th Mar, 2014 01:26 AM

Wonderful, I was not sure about the usr share and other folders.
Perfect and thank you

I just installed the new beta2 using the .img, worked very well and i restarted my raspberry with the wizard, all good.
Then I plugged my SD card on my Ubuntu but it can mount only one partition.
Here is the dmesg:

[ 166.285961] mmc0: new SDHC card at address aaaa
[ 166.333980] mmcblk0: mmc0:aaaa SD08G 7.40 GiB
[ 166.337330] mmcblk0: p1 p2 p3
[ 166.917422] Btrfs loaded
[ 166.918665] device label xbian-beta2 devid 1 transid 68 /dev/mmcblk0p2
[ 166.919740] btrfs: disk space caching is enabled
[ 166.919743] BTRFS: couldn't mount because of unsupported optional features (20).
[ 166.932079] btrfs: open_ctree failed
[ 238.232739] device label xbian-beta2 devid 1 transid 68 /dev/mmcblk0p2
[ 238.233840] btrfs: disk space caching is enabled
[ 238.233844] BTRFS: couldn't mount because of unsupported optional features (20).
[ 238.248066] btrfs: open_ctree failed
[ 263.568378] mmc0: card aaaa removed
[ 265.010361] mmc0: new SDHC card at address aaaa
[ 265.010664] mmcblk0: mmc0:aaaa SD08G 7.40 GiB
[ 265.014680] mmcblk0: p1 p2 p3
[ 265.449920] device label xbian-beta2 devid 1 transid 68 /dev/mmcblk0p2
[ 265.455224] btrfs: disk space caching is enabled
[ 265.455227] BTRFS: couldn't mount because of unsupported optional features (20).
[ 265.472055] btrfs: open_ctree failed


RE: backup for upgrade - mk01 - 18th Mar, 2014 02:25 AM

you would need matching kernel for BTRFS reads.
XBian is 3.12 so any kernel you install to Ubuntu in the versioning of 3.12.x should be ok.


RE: backup for upgrade - coco163 - 18th Mar, 2014 02:39 AM

My kernel is 3.2 on Ubuntu 12.04.4 LTS

I stopped xbmc service to prevent any read files and scp worked perfectly.

Thanks for your help


RE: backup for upgrade - mk01 - 18th Mar, 2014 04:17 AM

(18th Mar, 2014 02:39 AM)coco163 Wrote:  My kernel is 3.2 on Ubuntu 12.04.4 LTS

I stopped xbmc service to prevent any read files and scp worked perfectly.

Thanks for your help

I was running 12.04 LTS until 3 weeks ago (recently upgraded to 13.10) but specially for XBian cards reading I'm running Ubuntu's 3.11.10.42 (it's code-named Saucy) and BTRFS is compatible there already.

So grab it.