Bacula-users

Re: [Bacula-users] [Bacula-devel] New feature request - comma operators in schedules

2014-04-12 04:45:37
Subject: Re: [Bacula-users] [Bacula-devel] New feature request - comma operators in schedules
From: Kern Sibbald <kern AT sibbald DOT com>
To: Heath Petersen <Heath AT HPetersenFamily DOT com>, bacula-users AT lists.sourceforge DOT net, bacula-devel AT lists.sourceforge DOT net
Date: Sat, 12 Apr 2014 10:38:44 +0200
Hello Heath,

Thanks for using Bacula.

I guess it is not much fun to read such a large manual, so perhaps I could suggest that it is fun to go off to a Bacula Admin I course -- all students love it, and in that course you learn about Bacula without having to read the manual.  You also learn that commas between items such as Months and days of the week are perfectly well handled by Bacula.  The same is true for ranges of months and days by separating the start and end days with a hyphen.

Bottom line: this has been implemented in Bacula from the beginning.

By the way, the best place to file a feature request is in the bugs database (features section).

Best regards,
Kern

On 04/12/2014 12:22 AM, Heath Petersen wrote:
Item 1:   Allow combinations of parameters separated by commas
          in job schedules
  Date:   11 April 2014
  Origin: Heath Petersen <Heath AT HPetersenFamily DOT com> 
  Status: 

  What:   The ability to allow combinations of parameters
          separated by commas would clean up some schedule
          definitions. 

  Why:    An example is the easiest way to explain this -

          Schedule {
            Name = "dailyWithFullEveryOtherMonth"

            Run = Level=Full          Jan                      1st Sun      at 23:05
            Run = Level=Differential  Feb                      1st Sun      at 23:05
            Run = Level=Full          Mar                      1st Sun      at 23:05
            Run = Level=Differential  Apr                      1st Sun      at 23:05
            .
            . Shortened for readability.
            .
            Run = Level=Differential  Dec                      1st Sun      at 23:05
            Run = Level=Differential                           2nd-5th Sun  at 23:05
            Run = Incremental                                  Mon-Sat      at 23:05
          }

          Could be simplified to -

          Schedule {
            Name = "dailyWithFullEveryOtherMonth"

            Run = Level=Full          Jan,Mar,May,Jul,Sep,Nov  1st Sun      at 23:05
            Run = Level=Differential  Feb,Apr,Jun,Aug,Oct,Dec  1st Sun      at 23:05
            Run = Level=Differential                           2nd-5th Sun  at 23:05
            Run = Incremental                                  Mon-Sat      at 23:05
          }

  Notes:  Comma operators could be allowed in the specification of the month,
          weekday, and time.  Program logic would have to expand to all combinations.
          Ex: Jan,Feb 1st Sun,Wed would have to expand to Jan 1st Sun, Jan 1st Wed,
          Feb 1st Sun, Feb 1st Wed.


----------

Heath Petersen

Email: Heath AT HPetersenFamily DOT com

Cell: 507-220-2485


American Red Cross

Health Services Leader

Southwest Minnesota Chapter, Worthington




------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


_______________________________________________
Bacula-devel mailing list
Bacula-devel AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users