I know this is an unusual question, but is there a way to modify the parameters of a job on-the-fly from the console?

the server I'm running has an autochanger (to be used for scheduled daily/weekly/monthly backups), as well as a standalone tape drive, which we'd like to use if we suddenly need to do a full backup of specific files (ie: if evacuating for a hurricane, we'd need to backup our databases and accounting data).

what i'm thinking is, say I have a job like the following:

Job {
  Name = ManualBackup
  Type = Backup
  Level = Full
  Client = dell6300
  FileSet = ManualFileset
  Messages = Standard
  Pool = ManualPool
  Storage = ManualDrive
}
FileSet {
  Name = "ManualFileset"
  Ignore FileSet Changes = yes
  Include {
    Options {
      Signature = "MD5"
      Exclude = yes
    }
    File = "/"
  }
}

i'd like to, from the console, be able to change the Client for this job, and the list of files for the given fileset, so that a full backup would be done on whatever path(s) the specified.

the only way i've figured so far would be to write a script to edit bacula-dir.conf, then restart the daemons and run the job.  is there a better way?

Reply via email to