Bacula-users

Re: [Bacula-users] [Bacula-devel] Feature request: enter a JobId, automatically select dependents

2009-03-13 09:35:13
Subject: Re: [Bacula-users] [Bacula-devel] Feature request: enter a JobId, automatically select dependents
From: Kern Sibbald <kern AT sibbald DOT com>
To: bacula-devel AT lists.sourceforge DOT net
Date: Fri, 13 Mar 2009 14:23:14 +0100
On Friday 13 March 2009 13:00:37 Graham Keeling wrote:
> Hello,
> Here is a feature request.
>
>
> Item n: 'restore' menu: enter a JobId, automatically select dependents
>
> Origin: Graham Keeling (graham AT equiinet DOT com)
>
> Date: 13 March 2009
>
> Status: Proposing
>
> What: Add to the bconsole 'restore' menu the ability to select a job
> by JobId, and have bacula automatically select all the dependent jobs.

I assume that the JobId you enter is a Full backup, otherwise the rest of this 
doesn't make much sense to me.

>
> Why: Currently, you either have to...
> a) laboriously type in a date that is greater than the date of the backup
> that you want and is less than the subsequent backup (bacula then figures
> out the dependent jobs), or
> b) manually figure out all the JobIds that you want and laboriously type
> them all in.
> It would be extremely useful (in a programmatical sense, as well as for
> humans) to be able to just give it a single JobId and let bacula do the
> hard work (work that it already knows how to do).

It seems to me that this feature is already in bwx-console and bat, but in a 
way that the program presents you with the dates of all the full backups that 
you can choose from.  You choose a date and it does the rest.

If this is what you want, then I think it would be better to simply enhance 
the restore command to allow prompting from a list of dates.  The code 
already handles relatively small numbers of items, but might need to be 
adapted to paging if there are say 1000 dates to choose from.  Also given 
that bat and bwx-console are more appropriate for such kinds of choices, I 
would prefer to concentrate on making them even more user friendly.  That 
said, I don't have a problem with a project to add a more user friendly 
bconsole date selection mechanism.

Working directly with JobIds is possible, but from a user perspective, it is 
not really ideal.

Regards,

Kern

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users