Subject Re: [firebird-support] Verify Backup
Author Eddie Bush
Awesome! That is EXACTLY what I was hoping to find! It's nice that they're available in C++/Delphi form, but I only have Delphi so ... :-)

Thanks a ton, Paul!

Eddie Bush
----- Original Message -----
From: Paul Vinkenoog
To: firebird-support@yahoogroups.com
Sent: Sunday, March 14, 2004 8:36 PM
Subject: Re: [firebird-support] Verify Backup


Hi Eddie,

> I have need to perform an invisible backup/restore to reduce user
> intervention for maintenance. The backup/restore is easy, but how
> can I actually, without human intervention, know that the operations
> completed successfully?

You can pick up ibapi.zip and/or ibapi_delphi.zip from
http://vinkenoog.nl/firebird/

These contain routines for backup/restore using the Services API. They
return boolean succes/failure as reported by the API. In case of
failure, the error message(s) can be returned too and presented to the
user (which I understand you don't want) or scanned for errcodes etc.

Source code (C++) is included so you can adapt them if you like.
Consult the API Reference if you want to introduce more functionality.


Greetings,
Paul Vinkenoog


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.620 / Virus Database: 399 - Release Date: 3/11/2004

[Non-text portions of this message have been removed]