ADSM-L

Re: URGENT ? ABOUT DB RESTORE

2001-02-22 12:36:37
Subject: Re: URGENT ? ABOUT DB RESTORE
From: "Kelly J. Lipp" <lipp AT STORSOL DOT COM>
Date: Thu, 22 Feb 2001 10:38:40 -0700
The problem isn't the fact that the volume is marked as VAULT, but rather
that the library can't find it during the restore operation.

Here's what I do:

Ensure that the volhist.out and devconfig.out files are in the right place.

Edit the devconfig.out file.

Notice at the bottom of this file a library inventory.  Also notice that the
db backup tape in your hand is not listed in this inventory.  Further notice
that dsmserv restore db does not do an audit library.  So all it knows about
is the volumes that were in it the last time the devconfig file was written.

Take a tape out of the library and replace it with the db backup tape in
your hand.

Find the entry in the devconfig.out library inventory section and change the
number of the tape you just removed to the number of the tape you just put
in.  Now this file believes the db backup tape is in the library.

Open the volhist.out file.  Find out the exact date and time of the db
backup on the tape you just put in the library.

Issue the following command:

dsmserv restore db todate=thedate totime=thetime

If you have DRM, look in the planfile for the perfect syntax.  If you are
restoring the TSM server in the server1 directory (remember, there can be
multiple instantiations of TSM on a single hardware platform), you need to
be in this directory to do the restore.  Your syntax changes slightly to
reflect this:  I'll assume NT.

c:>\progra~1\tivoli\tsm\server\dsmserv restore db todate=thedate
totime=thetime

Another way to do this is to edit the devconfig.out file and create a manual
library with one drive in it.  Then issue the restore command.  This will
cause TSM to prompt you to load the tape in the drive.  In some libraries,
this is easy.  In some, not so easy.  I like the first method the best.

Hope this isn't too late to help.

Thanks,

Kelly J. Lipp
Storage Solutions Specialists, Inc.
PO Box 51313
Colorado Springs CO 80949-1313
(719) 531-5926
Fax: (240) 539-7175
Email: lipp AT storsol DOT com or lipp AT storserver DOT com
www.storsol.com
www.storserver.com


<Prev in Thread] Current Thread [Next in Thread>