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)'
Return to : Unix System Administration
Hints and Tips