[Bacula-users] Full/Differential with one job
With most of my jobs, Bacula handles the Full on an off day if required based on the previous status of the backup in the pool. So I have one job, and the schedule determines when the Full/Diff is done. I am trying to accomplish the same thing with my exchange backup which uses a RunBefore script to dump the db's to a NTBackup file. How can I pass variables, or expand variables in the command based on what Bacula determines it wants to do? Is that possible? The manual states variable expansion is for Volume Labels only, so I am at a loss for a way to manage this in one place versus choosing what to do on the exchange server. Thanks! jlc -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full/Differential with one job
Joseph L. Casale wrote: The manual states variable expansion is for Volume Labels only Really? Where does it say that, exactly? I looked at what I believe in the relevant section of the manual, and I came away with a completely different understanding. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full/Differential with one job
Really? Where does it say that, exactly? I looked at what I believe in the relevant section of the manual, and I came away with a completely different understanding. In the middle of general Functionality of http://www.bacula.org/en/dev-manual/Variable_Expansion.html But, now that I read it only says When using not only for. Problem is I can't make it work for anything else:) Thanks! jlc -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full/Differential with one job
Joseph L. Casale wrote: Really? Where does it say that, exactly? I looked at what I believe in the relevant section of the manual, and I came away with a completely different understanding. In the middle of general Functionality of http://www.bacula.org/en/dev-manual/Variable_Expansion.html But, now that I read it only says When using not only for. Problem is I can't make it work for anything else:) OK, I see the problem. Variable Expansion is a concept used mostly (exclusively?) by the LabelFormat directive inside Pool resource definitions: http://bacula.org/3.0.x-manuals/en/install/install/Configuring_Director.html#SECTION00615 Unfortunately, this is more or less irrelevant to what you're doing. You need to be looking at the section of the manual that details the Job resource, specifically the RunScript directive: http://bacula.org/3.0.x-manuals/en/install/install/Configuring_Director.html#SECTION0063 - Cedric -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full/Differential with one job
Unfortunately, this is more or less irrelevant to what you're doing. You need to be looking at the section of the manual that details the Job resource, specifically the RunScript directive: http://bacula.org/3.0.x-manuals/en/install/install/Configuring_Director.html#SECTION0063 Hi, I should have been more clear, I understand that the only variables it can use in the RunScript directive are the %%, %c - %v variables. I guess I could simply use %l = Job Level in the file name to call what I need, this way when bacula wants a Full versus Diff, it will tell my script so. I guess I dismissed those variables to quickly when reading! Thanks, jlc -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users