ESE API sequence for Exchange server 2000 restore

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,
I am writing a backup and restore application for Exchange Server 2000
to work at storage group level. I am using API from ESEBCLI2.dll . Can
anybody out there tell me exact sequence of APIs to be called fro the
restore operation .
I am confused about the sequence of APIs like HrESE RestoreOpenFile()
and actual copying of DATABASE files. Which should be called first ??
Same for the Log Files and patch files . Whether to copy them in
destination folder first or call API HrESERestoreOpenFile on log and
patch FILES ??

Also in call HrESERestoreDatabase() what should be the 4 th parameter
wchar* wszDatabaseStreamsS ??? The senario is :

1: Temporary folder path given to HrESERestoreOpen() is
c:\exchangeserver
2: The database files extracted from backup set are : priv1.edb
and priv1.stm @ c:\ exchangeserver
3: The exchange server installation has set path for database
files @ c:\program files\Excsrvr\MDBDATA

So please tell me what "paths" should be passed to various ESE APIs for
Restoration operation. ..
Any help in this regard will be most appreciated..

Thanks,
UniUser

.



Relevant Pages

  • Re: restore a pst file from MS backup
    ... "From the document "Using Exchange Server 2003 Recovery Storage Groups": When you use Backup or another Exchange-aware backup program to restore databases in Exchange Server 2003, Exchange first determines whether a recovery storage group exists on the designated Exchange server and whether the database selected for restoration is present in the recovery storage group. ...
    (microsoft.public.exchange.admin)
  • Re: Quick and dirty recovery network
    ... I would call them to confirm but this would save you a lot of time and effort as I would not suggest bringing live production servers into a temp recovery network to restore your data from Exchange then moving them back. ... If you go this route, I would backup and restore images of your production environment in a lab environment, thus not affecting your production environment. ... These types of backups can't be restored to a recovery storage group or to an emulated server such as the third-party Ontrack Power Controls. ... During down time, use VMWare to convert the Exchange server we want to restore to to a virtual machine, move the VMWare server to the isolated recovery LAN and present this Exchange server with empty storage groups and newly generated MDB files once Exchange starts. ...
    (microsoft.public.exchange.misc)
  • Re: Restored Exchange, Cant delete e-mail from Outlook!
    ... After I did the restore, the backup still wouldn't start. ... So I ran ESEUTIL /p /ispriv...and after that the Store ... Microsoft Exchange Server Information Store database. ...
    (microsoft.public.exchange.admin)
  • Re: "The backup file contains unrecognized data and cannot be used"
    ... I backup the Exchange Server to abkf file on a mapped network drive. ... If I restore from the copy on the mapped drive before it goes to tape, ... You can try a popular BKF file recovery tool called Advanced BKF ...
    (microsoft.public.exchange.admin)
  • Test restore
    ... If you take a backup of the schema master System State ... the current exchange server. ... You can then restore the ...
    (microsoft.public.exchange.admin)