[Info-vax] How to retrieve file from LTO in OpenVMS

Christoph Gartmann gartmann at nonsense.immunbio.mpg.de
Fri Aug 6 03:09:04 EDT 2010


In article <02b26e46-062a-4512-98f9-ee2dcb9a35c9 at u26g2000yqu.googlegroups.com>, Gajendra <gp390008 at gmail.com> writes:
>I have taken backup in LTO tape and now i want to copy back one file
>to my server but i dont know commands please help me... or any manual
>or documentation in which this procedure indicated please give me
>suggestions


$ ! Restore a single file
$ ! This procedure must be run from MPI3 where the SDLT is connected to
$ ! and of course it must be modified for your specific case...
$ !
$ sourcedev = "mpi3$mkb100:"
$ savsetnam = "27JUL10DG.BCK"
$ datlabel  = "USR01"
$ !
$ SET VERIFY
$ ON ERROR THEN GOTO do_quit
$ MOUNT/FOREIGN 'sourcedev' 'datlabel' dat1
$ !
$ ! The following command performs a restore directly from tape
$ SET NOON  ! without /REPLACE, /NEW_VERSION or /OVERLAY may cause errors
$ BACKUP/REWIND/LOG/SELECT=[edv.ausleihe]ausleihe.txt -
  dat1:'savsetnam'/SAVE diski:[tmp] /NEW_VERSION/BY_OWNER=ORIGINAL !Overlay won't work like this...
$do_quit:
$ DISMOUNT/NOUNLOAD dat1
$ SET NOVERIFY
$ !
$ EXIT


Regards,
   Christoph Gartmann

-- 
 Max-Planck-Institut fuer      Phone   : +49-761-5108-464   Fax: -80464
 Immunbiologie
 Postfach 1169                 Internet: gartmann at immunbio dot mpg dot de
 D-79011  Freiburg, Germany
               http://www.immunbio.mpg.de/home/menue.html



More information about the Info-vax mailing list