User Tools

Site Tools


gentoo:netcat_disk_copy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gentoo:netcat_disk_copy [2010/01/26 12:17] devagentoo:netcat_disk_copy [2013/10/28 08:19] (current) deva
Line 33: Line 33:
 The client (the computer on which the image is to be stored) must run the following as someuser: The client (the computer on which the image is to be stored) must run the following as someuser:
 <code bash> <code bash>
-nc -l -p 10000 > files.bz2+nc -l -p 10000 > files.tar
 </code> </code>
  
Line 57: Line 57:
 TODO TODO
  
 +=====Restoring disk from bz2 archive=====
 +Sender:
 +<code>
 +bzcat -d centos_6.4_minimal_desktop.dd.bz2 | nc -q 0 192.168.0.51 10000
 +</code>
 +
 +Receiver:
 +<code>
 +nc -l 10000 | dd of=/dev/sda
 +</code>
gentoo/netcat_disk_copy.1264504643.txt.gz · Last modified: 2010/01/26 12:17 by deva