Hi, On 5/28/2007 2:13 PM, Arthur Emerson III wrote: > "Petcher, Daniel" <[EMAIL PROTECTED]> wrote: >> Best Practices questions: >> -How do I add a backup job that I intend never to run again? > > I don't know if I would call it a best practice, but I have a > handful of manual archiving jobs defined that all use the following > schedule resource: > > Schedule { > Name = "Manual" > # Run = Level=Full Pool=Default sunday at 10:05 > } > > Don't know if the commented-out "Run..." line can be safely > removed or not, but I'm including it here since it was in > my running bacula-dir.conf file.
You could remove that line. A schedule is not required for a job. > I also don't know if simply omitting the schedule definition line > from the job definition will have the same result, but I think > that it helps make my job configs more readable by saying that > it is a "Manual" schedule. (This will also work for jobs kicked > off via bconsole script input instead of the Bacula scheduler, > FWIW.) I think that it's possible to use a dynamic approach for these maual archiving jobs. Make the job read its fle list from a file which you could edit to contain the lines you need. The client definition could be in the job definition, as it probably won't change, or at least you'd need only one manual archive job per client. >> -How do I clean-up the database after this job is safely ensconsed on >> tape(s)? > > You could set a one-day retention period for this job, but my > $0.02 is to leave it in the catalog and keep the bootstrap file > around just in case you need to restore from it. Also, since > Catalog is defined per-client in the config file, you could make > a second catalog for this job so that it doesn't pollute your > default one with archived entries. I'd suggest to use a short file retention but long job and volume retention periods. The file list would probably not be very important for many archival setups. If you need it, you can extract it from the catalog after the backup and even keep it (printed or stored on CDR) with the tapes. Just some ideas how to refine this... Arno > Hope this helps..... > > -Arthur -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users