| 
     
       |  |  |  | 
            
              | 
             
               | 
               
                 |  | UGU: Unix Guru Universe - Unix Tip #4522- July 29, 2025
 -  Home : Help
 : Today's Tip Unix Tip #4522- July 29, 2025
 
 
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
 4521
 - MAINTAINING LOG AND TMP FILE
 4520
 - FILES OPENED BY A PROCESS
 4519
 - MULTIPLE IP ADDRESSES
 4518
 - LINE # OF A PATTERN 
 4517
 - 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 
 |  |  |  |  |