GMS NOC Docs   restoring from tape UserPreferences
 
Help Search Diffs Info Edit Subscribe Print View
 GMS NOC Docs   FrontPage   RecentChanges   TitleIndex   Help 

  1. 3B2 tape restoral
  2. Stratus tape restoral

3B2 tape restoral

To restore a filesystem and an individual customer's data:

  1. If restoring data for a specific customer, determine the processor and filesystem of their home directory. For example, on any node processor type:
  2. cdflat account name
  3. Call site where processor is located and ask tech to put in tape with date of data which needs to be restored. Tell them in which tape drive, A, B or C (i.e. TOAU, TOBU or TOCU) to place the tape. All the processors on a 3B2 node should be able to access any available tape drive.
  4. Check to make sure correct tape is in the drive and it's readable.
  5. Verify spare slice is available and usable.

mount -Fs5 /dev/dsk/c6t6d0s8 /mnt 
ls -al /mnt 
umount /mnt 
  1. Restore:
  2. mount -Fs5 /dev/dsk/c6t6d0s8 /mnt
  3. Copy files.
    1. For an individual customer's files, advisable to create a .RESTORED directory under customer's home directory. Note that this is a "dot" directory; this will prevent mmcleanup from touching it.
    2. Copy files from /mnt/(path to customer's home directory minus filesystem)/(directory with files customer wants) to directory where saving files.
    3. Set permissions and ownership of files so Customer Service can access them. Tell Customer Service where the files have been restored to.

Stratus tape restoral

Example:

S-lxau_root > srestore 

<!> Use 301.srestore for non-upgraded nodes using older version of Unix, 301.0 not .1.

Enter tape device for restore(ie c4a1d5): c6a1d2 
Rewinding Tape 

tapedevicefilesystems
1c4a1d205000,10000
2c4a1d515000,20000
3c6a1d225000,30000
4c6a1d535000,40000
etc

Enter tape number(1-6[1]): 

<!> For POLO: drive 1 = c0a2d0, drive 2 = c0a2d1

tapecntl -w /dev/rmt/c6a1d2            
Enter   1       for /restore1 
        2       for /restore2 
   [1]:  
Backup made on Sat Feb 28 1998 at 04:05:43 GMT 
 
Enter   0       exit 
        1       lx25000 
        2       lx30000 
      : 1 
Enter   f       for full restore 
        d       to enter file or directory 
        i       for interactive 
      : i 
 
vxrestore > pwd 
/ 
vxrestore > ls     
.: 
 25000/         economaster/   junkmail/      mortician/     shared/ 
 autodeliver/   edi/           lost+found/    mtqueue/       surrogate/ 
 crdir/         fxcnvt/        mime/          pomaster/      uucp/ 
 dispatcher/    internet/      mm.compress    premigrate/ 

cd to customer directory or whatever directory to restore.

vxrestore > cd 10000/10850/10853 
   
vxrestore > pwd 
/25000/25050/25097 

add directory to restore

vxrestore > add in 
Warning: ./25000: File exists 
Warning: ./25000/25050: File exists 
Warning: ./25000/25050/25097: File exists 
Warning: ./25000/25050/25097/codes: File exists 
 
vxrestore > extract  
You have not read any tapes yet. 
Unless you know which volume your file(s) are on you should start 
with the last volume and work towards the first. 
Specify next volume #: 1 
set owner/mode for '.'? [yn] n 
vxrestore > quit 
Procedure Complete - Rewinding Tape 

It's done; copy the needed files over to .RESTORED/ in the customer directory.


PythonPowered EditText of this page (last modified 2003-07-16 20:53:36)
FindPage by title search or text search