Kern (or anyone else), I think I've mentioned this before, Exchange has some additional requirements when restoring, beyond the simple selection of files. In particular:
. Log files matching the store must be selected . '.EDB' and '.STM' must be selected in pairs . DatabaseInfo file must be selected with the database too . If you don't want all the log files (eg you want to restore to a point just before something went wrong) then all the log files need to be in an unbroken sequence. I'm sure that MSSQL, Oracle, etc are going to have similar sorts of constraints. Doing such checks in the Exchange plugin is proving a little tedious. The restore can be halfway through before I get the wrong file and have to report an error (which is normally just a meaningless number as far as the user is concerned, and currently also often crashes the plugin which is what I'm working on now). The best thing to do would be to present a different interface to the user when selecting files for restore when a plugin is in use. For Exchange, the user would simply select the database they want to restore, select how they want the logfiles done, and then go. The next best thing would be for the director to pre-validate the restore selections before the user finishes selecting the files, eg "You must select file X if you select file Y" etc. As for some ideas for how that could be accomplished: . FD plugin also has a DIR plugin component . FD plugin writes some additional data that tell the DIR how to validate restores. I'm not sure that this could be flexible enough. . Some scripting language The other thing to consider is how all this would interact with BAT Any comments? It all sounds a bit hard at the moment... James ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
