Bacula-users

Re: [Bacula-users] Scratch Pool

2012-06-22 10:58:26
Subject: Re: [Bacula-users] Scratch Pool
From: Dan Langille <dan AT langille DOT org>
To: Bryan Harris <bryanlharris AT me DOT com>
Date: Fri, 22 Jun 2012 10:56:20 -0400
On 2012-06-19 19:57, Bryan Harris wrote:
> Hello all,
>
> I'm trying to place my volumes into a scratch pool of a custom name
> using these lines.  However, the volumes do not move into the scratch
> pool after usage.  Instead, they remain in the pool called
> "bryanslack-virtuals".  When I run "list volume" I get a volume in my
> scratch pool.  The listed volume says Recycle for VolStatus.
>
> I guess my question is, how can I move the volumes used by a job
> right after that job runs?
>
> Pool {
>   Name = bryanslack-virtuals
>   Storage = bryanslack-virtuals
>   Pool Type = Backup
>   Use Volume Once = yes
>   Recycle = yes
>   Recycle Oldest Volume = yes
>   Recycle Current Volume = yes
>   Purge Oldest Volume = yes
>   Auto Prune = yes
>   Maximum Volumes = 100
>   Volume Retention = 1 minute
>   Maximum Volume Jobs = 1
>   Label Format =
> 
> "${Client}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}-${Pool}-${JobId}"
>   Next Pool = bryanslack
>   Action On Purge = Truncate
>   Scratch Pool = bryanslack-scratch
>   Recycle Pool = bryanslack-scratch
> }
>
> Pool {
>   Name  = bryanslack-scratch
>   Pool Type = Backup
> }

After making these changes, did you run update in bconsole?  You need 
to update the volume definitions from the pool definition.

That is, you need to tell the existing volumes that their attributes 
have changes.

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>