How I have done a "live backup" of my sdcard.

Started by flavigny, October 28, 2012, 06:18:33 PM

Previous topic - Next topic

flavigny

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.