Timo Neuvonen wrote: > Hello, > > Is there a *simple* way how I could force the next scheduled job to be > upgraded from incremental or differential to level full? > > My goal is to manually change a tape at a suitable time (day when either I > or someone else able to do that happens to be nearby etc, so *not* on any > exact preset schedule), and I'd like to have the first job on each tape to > be forced to be a full backup. > > Yes, scheduling manually an extra full backup manually is an alternative > (actually, the only one I know so far), but that would require plenty of > additional "unnecessary" typing of backup time etc, which obviously have to > be given in full format (YYYY-MM-DD HH:MM:SS... since it could not be run > immediately). It would sound nicer for an occasional tape-changer-operator > to give a simple commands without the need of thinking too much: > > - release > - <change the tape physically> > - mount > - <upgrade to full> > > Basically, I guess this could be possible. Is there any harmless console > command that would have a side effect of "breaking" the test required for > making incremental or differential backups? > According to manual, any (cosmetic) change to filesets would do this, but > simply eg. reloading the director conf where the filesets are defined (it > would be a harmlessa simple command) obviously doesn't do it? > > I tried to investigate the "run before job" and "run after job" job options. > Making the latter return non-zero, that job would be marked as failed and > the next backup obviously would be upgraded. But this would be only the > second job run onto the new tape. Making "run before job" to fail instead, > seems to have the actual job not run at all, so it isn't a solution > either... :-(
The short answer is, I cannot think of any simple and straightforward way to automate this. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users