ADSM-L

Re: Volhist.out Need help urgent.....

1997-12-14 09:44:19
Subject: Re: Volhist.out Need help urgent.....
From: Longshot <longshot AT CYBERRAMP DOT NET>
Date: Sun, 14 Dec 1997 08:44:19 -0600
>Hi,
>    Does anyone have any info on the volhist.out  file ?  Is it possible
>to restore a database restore without this file ? And if so how did they
>go about that. Also what do you guys normally do to externalize this
>file ? I am running ADSM ver 3.0 on a Windows Nt4.0 server ( backing its
>ownself)
>    Please email me back if anyone has some info.....

You can restore the database without a valid volume history file, but it's
a pain.  You will have to perform an individual DSMSERV RESTORE DB command
for each volume, specifying all but the last to be "COMMIT=NO", and the last
to be "COMMIT=YES".  You will also have to specify the volume names of the
db volumes to be restored, or put them in a file and point the command to the
file.  Remember in this case that you will have to at least restore the last
volume you wish restored individually, so you can flag the rest Commit No and
that volume Commit Yes.

C:\ dsmserv restore db dev=devclassname vol=volume1,volume2,volume3 commit=no
C:\ dsmserv restore db dev=devclassname vol=volume4 commit=yes

------
Or, if you have a makeshift volume name list...
Or, if you have a makeshift volume name list...

C:\ dsmserv restore db dev=devclassname vol=file:volumenamelist commit=no
C:\ dsmserv restore db dev=devclassname vol=volume4 commit=yes

where volumenamelist contains:

volume1
volume2
volume3

-------
Don't forget at all times to restore the volumes in the order in which the
Don't forget at all times to restore the volumes in the order in which the
db backup was stored.


You can get around all this by backing up your volume history file with the
BACKUP VOLHISTORY command (BACKUP DEVCONFIG is a good one to keep on the same
floppy).  If the volume history file is wiped out, you can simply restore the
file you backed up to the filename taken by the previous volume history file.
If you make sure you have your volume history file backed up, you can chuck
all the above and simply type

C:\ dsmserv restore db

You can preview=yes to see the list of db backup volumes, but not restore the
database (good to remember which tapes to scramble for)

You can see most of the material I got this from in the Win NT ADSM 3.0 Admin
Reference, pp. 782-788, under "DSMSERV RESTORE DB".

Also, if you're generally unfamiliar with the volume history, it may be a good
idea to cruise through the Admin Guide and read what it has on it if you get a
few spare minutes.  Its ability to prevent potentially major restore
headaches is really spiff IMHO.

Good luck, and Merry Xmas!


Regards,

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