Can't you also just pull the schedule line from the job def?

-----Original Message-----

From:  Dan Langille <[EMAIL PROTECTED]>
Subj:  Re: [Bacula-users] Creating filesets on-the-fly
Date:  Fri Nov 24, 2006 10:25 am
Size:  1K
To:  Ruben Lopez <[EMAIL PROTECTED]>
cc:  bacula-users@lists.sourceforge.net

On 24 Nov 2006 at 16:24, Ruben Lopez wrote:

> By the way, is there any way of schedule a backup to run only once? I
> didn't see how to specify the year...

For jobs that you don't want on a schedule, do this:

Schedule {
  Name = "Never"
}

Job {
  Name            = "laptop"
  JobDefs         = "DefaultJob"
  Schedule        = Never
  Client          = laptop-fd
  FileSet         = "laptop files"
  Write Bootstrap = "/home/bacula/working/laptop-fd.bsr"

  Reschedule On Error = yes
  Reschedule Interval = 12 hours
}


Then you can run the job from bconsole:

run job=laptop

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--- message truncated ---


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to