|
|
|
|
UGU: Unix Guru Universe - Unix Tip #4094- April 27, 2012
- Home : Help
: Today's Tip
Unix Tip #4094- April 27, 2012
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)'
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
LAST 5 TIPS
4093
- MAINTAINING LOG AND TMP FILE
4092
- FILES OPENED BY A PROCESS
4091
- MULTIPLE IP ADDRESSES
4090
- LINE # OF A PATTERN
4089
- SPLIT SCREEN EDITING
I want to
SUBSCRIBE
and get a UGU Tip everyday.
I want to
UNSUBSCRIBE
and NOT get a UGU Tip everyday.
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
|
|
|
Copyright 1994-2024 Unix Guru Universe |
|
|
|
|