Post Last Edited by jkw at 2014-10-2 11:24 |
That worked for me, actually I use bananian and its important to mount the boot partition before you start the backup.
I've created a fork and added some more functionality (I don't have enough SD cards to have a "running" and a "backup" card for each pi, but I do have a lot of usb flash drives. So my idea was to use a flash drive instead of a card. The problem is obviously that, once I've messed up my OS, I can't boot from the flash drive, so I needed a kind of "restore mode".
Thats why I've added that to the script. So calling it "rpi-clone sda" will copy everything to my USB-flash drive. After destroying my system I just remove my SD card go to another pi, insert USB-flash drive and SD-Card(in cardreader) and run "rpi-clone sda sdb" to restore everything.
Just ensure the the first will be source and the second destination for your files).
I'm working on the extension right now, but it seems to be quite stable. ... I'll ask billw2 if I'm allowed to publish it, but if you want a first look, go to https://github.com/KoljaWindeler/pi-clone