QNX RTOS v4 Knowledge Base
     
    
  
QNX RTOS v4 Knowledge Base
  
    
      
        
          
            | Title  | 
            How to use a tape backup | 
           
          
            | Ref. No.  | 
            QNX.000001067 | 
           
        
          
            | Category(ies)  | 
            Utilities | 
           
          
            | Issue  | 
            What are the steps involved in making a tape backup?
 
 
 
 
  | 
           
          
            | Solution  | 
            This is a basic run-through of making a backup of an entire mounted partition.
  Start a new tape archive and save all files to tape:    pax -w -t/dev/tp0 /  Append files that have changed since the date of the file lastsave to the end of an existing archive tape. After the save, update the time of last save:    tape forward  find / -newer lastsave | pax -w -t/dev/tp0  touch lastsave  Restore all the files on a tape under the directory /home/xxx:    tape rewind  pax -r "/home/xxx/*" -t/dev/tp0 | 
           
         
       |