=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX HOT TIP
UNIX GURU UNIVERSE
(http://www.ugu.com)
=-=-=-=-=-=-=-=-=-=-=-=

DUMP TO A FILE

Ever have the need to dump the contents of a partition
into a single file on a remote machine. The local 
machine does need to be trusted by the remote machine
for this to work.

Use the following command:

# dump 0fb - 126 [filesystem] | rsh [remote machine] \
	'(cd [destination dir];dd of=[destination file] os=126b)'

# dump 0fb - 126 /dev/root | rsh foo '(cd /usr2/tmp;dd of=root.dump os=126b)'


Copyright © 1994-2002 Unix Guru Universe - an Admin Labs Company