Post Last Edited by jkw at 2014-10-6 20:26 |
Hey guys, if you are interested in backing/clone up your Pi, running Bananian you should check out this modified version of BillW's rpi-clone:
get it via git
or http download Copy the Code
- git clone https://github.com/KoljaWindeler/pi-clone.git
BillW outstand easy way cloning your actively running OS to your sd card isassuming that you just have one sd card installed via USB-cardreader (besides the one with your OS) Copy the Code
- wget https://github.com/KoljaWindeler/pi-clone/archive/master.zip
Besides renaming the script I've added a command mounting the boot partition before running the script, required for Bananian.
In addition you can now run that script from a cronjob by using the added "--yes-to-all" option or "-y" to skip all questions.
Also: If you don't have as many backup SD cards as Pi's, you could use this method I've added: use a flash drive instead of
a SD card in a cardreader and run as usuallyagain assuming that you just have one flash drive installed.
After you have successfully destroyed your pi, just power it down, grab the SD card and the flash drive and go to a different pi (or a pc) and runassuming that you have plugged in the backup flash drive first and than the card reader with the destroyed bananian on it.
Always be careful with a multidrive setup: For the restore mode the syntax is: pi-clone SOURCE DESTINATION
And as always: Never trust a script you downloaded from the Internet, so please read and understand the script.
Maybe we can add even more feature to it.