Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: flavigny on October 28, 2012, 06:18:33 PM

Title: How I have done a "live backup" of my sdcard.
Post by: flavigny on October 28, 2012, 06:18:33 PM
Hello,
Anyboby reading this forum knows howto remove the sdcard and do a copy using linux dd command.

But supposing my O'box travelling to moon (or inaccessible for some reason, may be in uninterruptible process), I whish to obtain a backup of its sdcard.
roadmap:
- On my workstation (Ubuntu Live Cd, 12.04) at IP: 192.168.0.246 , I start listening nc, typing: 
   dump to file: sudo nc -l 69 > omaxi.dump
   copy to a new sdcard: sudo nc -l 69 | dd of=/dev/mmcblk0
- On OlinuxIno Maxi linked to network:
   nc 192.168.0.246 59 < /dev/mmcblk0

less than two hour later (for 4 Gb), check the file received

Nice ?
PO.