On Sat, May 24, 2008 at 12:30:06PM +0200, Kern Sibbald wrote: > Hello, > > For those of you using the new Copy feature to make copies of backups, here > is > some information that may help: >
Thanks. I'm right now in the process of trying it out.. > From looking at the code, Bacula should be able to select disk or tape quite > easily if you specify a "pool=xxx" on your restore command line (in bat, one > simply selects from a drop down box). In that case, Bacula will restrict > finding JobIds to restore (for a current or time based restore) to those Jobs > that wrote to the specified pool. > Ok. Nice. > I haven't actually tested this, but it *should* allow you to relatively > easily > select which Copy you want to use for restore. > > Another option is to simply specify the JobIds manually (not very good if you > want to select the most current backup, which may be a number of jobids). > Hmm.. can you explain this in more detail? How can most current backup be multiple jobids? Full jobs + incremental jobs? > Although you can specify Storage=xxx on the restore command line, it does not > seem to be used in the selection of the JobIds, so specifying it may or may > not be useful. Before the final release, I will look into allowing a Storage > specification to select which backup is used as well. However, using pool is > probably a better choice. > > Finally, I am considering implementing an option equivalent to the SQL > command > that Ulrich is using so that you can "automatically" Copy only those jobs > that have not already been copied. I won't guarantee that this will be > implemented before the next release, but it is clearly needed. > Yep, this feature is needed. Thanks a lot! -- Pasi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
