On 03/20/13 15:28, Sergio Belkin wrote:
> Hi,
> 
> I've readn an example in the documentation as follows:
> 
> 
>   RunBeforeJob = "/home/kern/bacula/bin/make_catalog_backup"
>   RunAfterJob  = "/home/kern/bacula/bin/delete_catalog_backup"
> 
> I don't understand it performs a backup and then  deletes it? Am I
> missing something?
> 
> Thanks in advance
> --
> Sergio Belkin  http://www.sergiobelkin.com

Sergio, the RunBeforeJob script dumps the catalog database tables to a file.

It does this as it says "Before the Backup job runs". Then when the backup job
runs, it backs up the files in the defined "Fileset" for the job.

The Fileset defined in that Job should include the directory where the make
_catalog_backup script writes the db dump out to.

Then, once the job has finished, the RunAfterJob script deletes the dumped
database file from the hard drive to save space I imagine.

Personally, I re-write that default/included delete_catalog_backup script to
make sure that the latest db dump or two are always available on the hard
drive in case I need them.

Hope this helps.

-- 
Bill Arlofski
Reverse Polarity, LLC

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to