I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running (/showthread.php?tid=207550) |
I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running - Depei Bao - 2014-10-29 I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running. I tried dd if=/dev/mmcblk0 of=/home/pi/networkdrive/my.img bs=1M to copy the img to a nfs (the entire sdcard, both boot and the second partition). but after i dd the img to a new sdcard. it fails to boot up. What's the reason for its failure? anyway to fix? I also find this link http://cagewebdev.com/index.php/raspberry-pi-creating-a-backup-image-while-the-raspberry-pi-is-running/, it tells you to backup only partition 2 instead of entire disk. but how can I restore it to a rpi sdcard with two partitions? RE: I am trying to backup my raspberry pi sdcard (raspbmc img) while it's running - dandnsmith - 2014-10-29 I'm not surprised it fails - trying to make an image of a 'disk' which has 2 filesystems, and they are both in use, will result in inconsistencies. I wouldn't, either, like to try the process in that link while raspbmc or openelec was running. I suggest you find posts which tell you how to backup the configured parts of the system, and then restore these - that is the only reliable way, apart from doing a complete standalone image from another system. |