Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Christian Manal
Am 03.02.2011 12:04, schrieb Ronny Seffner:
 Hi list,
 
 I've a machine containig 2 different devices which I'ld like to use for
 backup. An RDX drive for full backups and an LTO drive for the differntials.
 
 So I defined:
 Jobs : full_Job and diff_Job
 FileSets : only one for both jobs togehter called data_FileSet
 Schedules : data_full_Schedule and data_diff_Schedule
 Storages : LTO_Storage and RDX_Storage
 
 Now I believed starting a full_Job to RDX_Storage allows to run a diff_Job
 to LTO_storage next time backing up only the difference. But my diff_Job
 makes also one full backup per schedule rotation.
 
 How it's possible to get both backups togehter, so that diff_Job's were
 based on last full_Job?


Hi,

you can't split full and diff backups into different jobs. When Bacula
makes a differential backup, it looks for a full backup of the same job
to base it on.

Just use the (Full|Differential|Incremental) Backup Pool options in a
*single* job definition to tell Bacula to put each level into a
different pool, then set the storage to use in the pool definitions.


Regards,
Christian Manal

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Ronny Seffner
To add some more; I saw parameters like Full Backup Pool and Differntial
Backup Pool for Job definition and also Run = Full ... or Run =
Differential ... for scheduling.

But how to difference the Storage-Device and RunBefore/AfterJob parameters
in such an only_on_job_definition_with_two_different_storages scenario?



Mit freundlichen Grüßen / With kind regards
     Ronny Seffner
-- 
Ronny Seffner  |  Alter Viehweg 1  |  01665 Triebischtal

www.seffner.de  |  ro...@seffner.de  |  +49 35245 72950


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Dan Langille
On 2/3/2011 6:56 AM, Ronny Seffner wrote:
 To add some more; I saw parameters like Full Backup Pool and Differntial
 Backup Pool for Job definition and also Run = Full ... or Run =
 Differential ... for scheduling.

Yes:

   Full Backup Pool = FullFile
   Differential Backup Pool = DiffFile
   Incremental  Backup Pool = IncrFile


 But how to difference the Storage-Device and RunBefore/AfterJob parameters
 in such an only_on_job_definition_with_two_different_storages scenario?

This is achieved with the Storage directive within the Pool Resource, 
for example:

Pool {
   Name = FullFile
   Pool Type= Backup
   Recycle  = yes
   AutoPrune= yes
   Volume Retention = 3 years
   Storage  = MegaFile
   Next Pool= Fulls

   Maximum Volume Bytes = 5G

   LabelFormat = FullAuto-
}
-- 
Dan Langille - http://langille.org/

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Ronny Seffner
 Just use the (Full|Differential|Incremental) Backup Pool options in a
 *single* job definition to tell Bacula to put each level into a
 different pool, then set the storage to use in the pool definitions.

I found the same thing the same time. I've postet new matching quesitions
the samt time you answered. In short and more specific now:

- I'll replace Pool = with Full Backup Pool = _and_ Differential Backup
Pool = in only one Job. This is an fact I understand.
- I have to move the Storage = parameter from Job to the Pool definitions?
- I have to decide for only one MaxStartDelay, this may be no problem.
- I remove the Level = parameter from Job because it is defined in
Schedule.
- What to do with RunBefore/AfterJob parameters which are different for
the Storages? I believe I can use only one per Job, so I have to decide the
action inside the script. Is there any posibillity to give a paramter like
full or differential to the script?

Am I right? Especially with moving the Storage parameter? And what to do
with the Job.

Thank you for your help.



Mit freundlichen Grüßen / With kind regards
     Ronny Seffner
-- 
Ronny Seffner  |  Alter Viehweg 1  |  01665 Triebischtal

www.seffner.de  |  ro...@seffner.de  |  +49 35245 72950



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Dan Langille
On 2/3/2011 6:56 AM, Ronny Seffner wrote:
 To add some more; I saw parameters like Full Backup Pool and Differntial
 Backup Pool for Job definition and also Run = Full ... or Run =
 Differential ... for scheduling.

 But how to difference the Storage-Device and RunBefore/AfterJob parameters
 in such an only_on_job_definition_with_two_different_storages scenario?

One of the parameters to RunBefore/After scripts is the level.  You can 
take action based on that incoming parameter.

-- 
Dan Langille - http://langille.org/

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Dan Langille
On 2/3/2011 7:09 AM, Ronny Seffner wrote:
 Just use the (Full|Differential|Incremental) Backup Pool options in a
 *single* job definition to tell Bacula to put each level into a
 different pool, then set the storage to use in the pool definitions.

 I found the same thing the same time. I've postet new matching quesitions
 the samt time you answered. In short and more specific now:

 - I'll replace Pool = with Full Backup Pool = _and_ Differential Backup
 Pool = in only one Job. This is an fact I understand.
 - I have to move the Storage = parameter from Job to the Pool definitions?
 - I have to decide for only one MaxStartDelay, this may be no problem.
 - I remove the Level = parameter from Job because it is defined in
 Schedule.
 - What to do with RunBefore/AfterJob parameters which are different for
 the Storages? I believe I can use only one per Job, so I have to decide the
 action inside the script. Is there any posibillity to give a paramter like
 full or differential to the script?

Yes, please read the documentation on scripts.  :)


-- 
Dan Langille - http://langille.org/

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Ronny Seffner
 Yes, please read the documentation on scripts.  :)
I'll do so. Please provide an link because I can't find anything at
bacula.org or /usr/share/doc describing variables like %c or %l (I guess %c
= client name, %l = backup level).


Mit freundlichen Grüßen / With kind regards
     Ronny Seffner
-- 
Ronny Seffner  |  Alter Viehweg 1  |  01665 Triebischtal

www.seffner.de  |  ro...@seffner.de  |  +49 35245 72950


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Phil Stracchino
On 02/03/11 06:56, Ronny Seffner wrote:
 To add some more; I saw parameters like Full Backup Pool and Differntial
 Backup Pool for Job definition and also Run = Full ... or Run =
 Differential ... for scheduling.

Don't use Pool overrides in the Schedule.  They are deprecated because
they cannot be made to work properly in all cases.  Use Full Pool,
Differential Pool, Incremental Pool directives in the Job or JobDefs.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Dan Langille

On Thu, February 3, 2011 7:40 am, Ronny Seffner wrote:
 Yes, please read the documentation on scripts.  :)
 I'll do so. Please provide an link because I can't find anything at
 bacula.org or /usr/share/doc describing variables like %c or %l (I guess
 %c
 = client name, %l = backup level).

Rather than feed you a link, let me show you how I'd find this.

You want RunScript.  This you already know.  RunScript appears in a Job. 
Therefore, look at the Job Resource documentation.  Then search within
that page for RunScript.

One hint: start here:

  http://www.bacula.org/5.0.x-manuals/en/main/main/index.html

Also, specifying this in your google search helps to restrict the results:

  site:www.bacula.org/5.0.x-manuals/en/main/

If you need further help finding this documentation on RunScript
parameters, please ask, but I think people will start suggesting other
products instead of Bacula.  ;)

-- 
Dan Langille -- http://langille.org/


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and diff backups to differnt storages

2011-02-03 Thread Martin Simmons
 On Thu, 03 Feb 2011 07:52:10 -0500, Phil Stracchino said:
 
 Don't use Pool overrides in the Schedule.  They are deprecated because
 they cannot be made to work properly in all cases.

That's true, but I hope the functionality is never removed.  It is still
needed to make Full backups use different pools on different days such as
http://www.bacula.org/5.1.x-manuals/en/main/main/Automatic_Volume_Recycling.html#SECTION00286

__Martin

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users