Link to home
Start Free TrialLog in
Avatar of aravindtj
aravindtj

asked on

HrESEBackupPrepare Error - doesn't fills the INSTANCE_BACKUP_INFO structure

Hi all,

   I'm writing a small backup application using ESE Backup API.  When I call HrESEBackupPrepare it get executed successfully with return value S_OK. But the subsequent HrEseBackupSetup call fails with the following error in system event log.
System Event log message is:
---------------8<----------
Source   :  ESE Backup
Category : Callback
EventID  : 904

"Information Store (2568) Callback function call
ErrESECBPrepareInstanceForBackup ended with error 0xC7FE1F45 Instance
not found."
--------->8-----------

Although  HrESEBackupPrepare  was success , the INSTANCE_BACKUP_INFO's cDatabase and cIconDescription values was 0 (which i initialized  before the HrESEBackupPrepare call). But the instance_count (which was 1 - No of Information store in exchange server)  and hInstanceId ( valid integer) seems to be correct.

Any guess where I'm going wrong.

Regards,
Aravind T

 




   
Avatar of ksharma4
ksharma4
Flag of United States of America image

What happens if you run backup using NTBACKUP Util

Is this the first time you facing issues?? Did u change anything ?

Check for all the latest patches?

Check the link mentioned below:

http://www.eventid.net/display.asp?eventid=904&eventno=1905&source=ESE%20Backup&phase=1

Thanks
K
Avatar of aravindtj
aravindtj

ASKER

Hi sharma,
 
 Thanks for reply.

  NT Backup util performs backup/Restore without any problem.  

  I didn't change anything in my exchange server  2003 (sp2)  .

Regards,
Aravind
This issue is with backup software then. Please contact them.

Thnx
Hi  ,
 I use  esebcli2.dll to write small backup application.

Regards.,
Aravind T.
Hi,

 Solved this issue by sending  pointer to INSTANCE_BACKUP_INFO pointer  to  HrESEBackupPrepare  call.

 Thanks for ur time.

Regards.,
Aravind T.
Actually I declared teh function pointer for getting INSTANCE_BACKUP_INFO as pointer to pointers[INSTANCE_BACKUP_INFO**]. And then the problem is solved.
Thanks for support.

Moderator, can you refund my points please?

Regards,
Aravind
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial