Hi, I have some strange behavior with the FbBackup and the FbRestore objects. >From what I have read in the mailing list archive, I think that their Execute() method should by synchronous, i.e. that the backup or the restore of the database is done when the method returns.
When I backup/restore a database with these objects and I set their verbose mode to false, then the method behaves asynchronously and returns immediately, while the database is stilled being backed up or restored. Then when I try to connect to the database, I get an exception because the database has been shut down. However, when I set their verbose mode to true, their behavior seems to become synchronous and the method returns only when the backup/restore is done. I'm not sure that the method is really synchronous in that case, or if it is luck or due to some side effect in the tracing. These two behaviors are reproduced each time I try to do this. There is this bug report (http://tracker.firebirdsql.org/browse/DNET-114 ) which might be related, but I'm not sure. Also, I haven't found any description of how these methods are supposed to behave, so I don't really know if that's a bug or their intended behavior. So, does anybody have an idea or an explanation about this? Thank you, Marc ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider