[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of Netcat



Hi,

Jason and I have just backed up and checked frisch's dos
partition, using netcat.

To backup, we did:

	morris:/dumps# nc -l -p 5050 > un.image
	frisch:/dos# nc morris 5050 < /dev/hda1

To check the files were ok, we did:

	frisch:/dos# nc -l -p 5050 | md5sum -c
	morris:/path/to/mnt/image# find . -type f -exec md5sum {} \; | nc frisch 5050

See Jason's email, subject: Backup addendum for information
on how to do a restore from amanda using netcat.

Thanks,
Brad
-- 
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
|Brad Marshall                    |           Plugged In Software|
|Senior Systems Administrator     |     http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com   |  GPG Key Id: 47951BD0 / 1024b|
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
 Fingerprint:  BAE3 4794 E627 2EAF 7EC0  4763 7884 4BE8 4795 1BD0