Bacula-users

Re: [Bacula-users] File volumes and scratch pool

2014-10-01 17:03:32
Subject: Re: [Bacula-users] File volumes and scratch pool
From: Peter Wood <peterwood.sd AT gmail DOT com>
To: "Roberts, Ben" <ben.roberts AT gsacapital DOT com>
Date: Wed, 1 Oct 2014 14:00:38 -0700
Thank you Ben.

I applied the changes and I'll monitor the behavior to confirm I did it right.

If I have mix of recycled volumes and brand new, never used volumes in Scratch, which ones Bacula will grab first?

I'd really prefer to setup Bacula so it will reuse the old ones instead of grabbing brand new volumes. 

On Wed, Oct 1, 2014 at 1:07 PM, Roberts, Ben <ben.roberts AT gsacapital DOT com> wrote:

Hi Peter,

 

You need to set “Recycle Pool = Scratch” in your Scratch pool (and make sure you haven’t overridden it in any other poo)l. Note that this setting is applied to the volume when it’s created, so after changing the Scratch pool definition you will need to update all your volumes to re-apply the Recycle pool. It might be easiest to do this by directly modifying the catalog, else you can use a quick bash script to generate a sequence of “update volume…” commands to echo into bconsole.

 

Regards,

Ben Roberts

 

From: Peter Wood [mailto:peterwood.sd AT gmail DOT com]
Sent: 01 October 2014 20:56
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] File volumes and scratch pool

 

In Bacula-5.2.13 how do I setup expired volumes to go in the Scratch pool?

 

I create new file type volumes like this:

  label storage=File volume=vol001 pool=Scratch

 

When needed volumes are taken out of Scratch and assigned to the appropriate pool and used. Once in the pull they are never released back to Scratch after they expire.

 

After retentionperiod ends volumes are reused but only within the pool they have been originally assigned.

 

I see volume properties that may be related but I can't find documentation about them:

    scratchpoolid: 0

    recyclepoolid: 0

 

Any help in making volumes go in Scratch after retention period expire so they can be reused by any job.

 

Thank you,

 

-- Peter


This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529.


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users