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

 




   
LVL 3
aravindtjAsked:
Who is Participating?
 
GranModConnect With a Mentor Commented:
PAQed with points refunded (250)

GranMod
Community Support Moderator
0
 
ksharma4Commented:
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
0
 
aravindtjAuthor Commented:
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
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
ksharma4Commented:
This issue is with backup software then. Please contact them.

Thnx
0
 
aravindtjAuthor Commented:
Hi  ,
 I use  esebcli2.dll to write small backup application.

Regards.,
Aravind T.
0
 
aravindtjAuthor Commented:
Hi,

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

 Thanks for ur time.

Regards.,
Aravind T.
0
 
aravindtjAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.