Bacula-users

Re: [Bacula-users] Renaming volumes...

2009-10-16 16:17:45
Subject: Re: [Bacula-users] Renaming volumes...
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Fri, 16 Oct 2009 22:13:49 +0200
John Doe wrote:
> Hi,
> 
> I use a USB disk as storage and at first I had volumes labeled like this:
> 
>   Label Format = "${Client}.${Year}-${Month:p/2/0/r}.full.v${NumVols}"
>   Label Format = "${Client}.${Year}-${Month:p/2/0/r}.diff.v${NumVols}"
>   Label Format = "${Client}.${Year}-${Month:p/2/0/r}.incr.v${NumVols}"
> 
> But, after seeing that the date is useless/confusing with the recycling, I'd 
> like to use this:
> 
>   Label Format = "${Client}.full.v${NumVols}"
>   Label Format = "${Client}.diff.v${NumVols}"
>   Label Format = "${Client}.incr.v${NumVols}"
> 
> Is there a list of steps to follow or is it a nightmare?
Not a nightmare, but lots of sql digging ...

> Or, at worse, how can I restart from 'zero'?
> Delete from the console and then the files?

You can use the delete volume on bconsole ( this ensure not leaving orphaned 
file/jobs/volumes in db )
After that you can delete corresponding volumes.
(I would tend to prefer this one)

> 
> Thx,
> JD
> 
> 
>       
> 

-- 

     Bruno Friedmann

Ioda-Net Sàrl
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760
  www.ioda-net.ch

 Centre de Formation et de Coaching En Ligne
 www.cfcel.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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>