gentoo:netcat_disk_copy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gentoo:netcat_disk_copy [2010/01/26 12:17] – deva | gentoo: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 |
</ | </ | ||
Line 57: | Line 57: | ||
TODO | TODO | ||
+ | =====Restoring disk from bz2 archive===== | ||
+ | Sender: | ||
+ | < | ||
+ | bzcat -d centos_6.4_minimal_desktop.dd.bz2 | nc -q 0 192.168.0.51 10000 | ||
+ | </ | ||
+ | |||
+ | Receiver: | ||
+ | < | ||
+ | nc -l 10000 | dd of=/dev/sda | ||
+ | </ |
gentoo/netcat_disk_copy.1264504643.txt.gz · Last modified: 2010/01/26 12:17 by deva