PROBLEMS RESTORING FROM A TAPE WITH MULTIPLE FILESYSTEMS

ITEM: RTA000028795



QUESTION:                                                                       
I am trying to write an automatic backup procedure. I want                      
to backup up two filesystems onto one tape. The commands I am using             
are:                                                                            
find ./home -print| backup-ivqf/dev/rmt0.1 2>/tmp/bke1|tail -20 >               
                                                             /tmp/bko1          
find ./z -print| backup-ivqf/dev/rmt0 2>/tmp/bke2|tail -20 > /tmp/bko2          
                                                                                
This appears to work fine. All the /tmp files have the expected                 
results. The problem occurs when I try to restore the files. I am{              
able to restore the first backup /home, but not /var. I have tried:             
                                                                                
  restore -s1 -Tvf/dev/rmt0.1                                                   
  restore -s1 -Tvf/dev/rmt0                                                     
                                                                               
In both cases, I get the filenames in the /home backup. How do I                
restore the second backup? Am I not doing the backup properly?                  
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:    Yes, you are doing the backup correctly, although to restore              
multiple filesystems from tape, a no-rewind tape device must be                 
specified.  I was able to backup up two filesystems and restore them            
by using the following commands:                                                
                                                                                
    tctl -f /dev/rmt0 rewind                                                    
    restore -s1 -Tvf /dev/rmt0.1                                                
    restore -s1 -Tvf /dev/rmt0.1                                                
    tctl -f /dev/rmt0 rewind                                                    
                                                                                
Please NOTE:  The no-rewind specified by ".1" in the above example             
              must be included in each restore command when using the           
              -s flag.  Depending on what type of backup media you              
              are using, the no-rewind specification may be different.          
              Please reference InfoExplorer under 'rmt Special file'            
              for this information.                                             
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q617997      BZMRV                      
                                                                                
Additional search words:                                                        
BACKED BACKUP BZMRV FEB93 FILESYSTEMS IX MULTIPLE OP OZNEW PROBLEMS             
RECOVERY RESTORE RESTORING REW REWIND RISCOSO RISCSYSTEM SOFTWARE               
SYS TAPE TCTL UP                                                               


WWQA: ITEM: RTA000028795 ITEM: RTA000028795
Dated: 11/1996 Category: RISCOSO
This HTML file was generated 99/06/24~12:43:11
Comments or suggestions? Contact us