[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] Accept "spooldata" flag on bconsole "run" cmd

Hello Bastian,

Le Tuesday 04 November 2008 15:14:40 Bastian Friedrich, vous avez écrit :
> Hi,
> currently, Bacula accepts a "Spool data" flag for storages within job
> ressources, and in Run statements in a schedule. Modifying the Spooling
> statement while calling "run" inside bconsole is not available.
> Doing so is sensible in a number of cases; often, Full backups may be
> non-spooled, while incrementals should be spooled. Defining a Job as "to
> disk" per default, but enabling spooling when running the same job to tape,
> is quite sensible.
> The attached patch
> a) adds a "spooldata={yes|1|no|0}" to the run statement on the bconsole CLI
> b) adds a "Spool data" "mod" option (number 9)

I would say that it's a good idea to keep this menu simple as possible... 
Spooling or not a job depending on the time, the weather, or maybe the new 
american president is a quite advance feature. (i like it, i've added this 
option in other bacula places). But, i prefere keep this option only for 
command line.

What do you think ?


> c) displays the current "Spooling: {yes|no}" in the display_job_parameters
>    function
> I am not the only person with such a request; quite a similar question was
> risen a few days ago on the user mailinglist.
> Feel free to use as usual :)
> Sorry: The patch was created against an SVN snapshot of 2008-10-14. I will
> be happy to re-create such a patch against current SVN if required.
> ua_run.c (which is the only file modified) has not been changed for some
> months now, though; the patch should apply cleanly.
> Thx & Best regards
>    Bastian

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Bacula-devel mailing list

This mailing list archive is a service of Copilot Consulting.