Bacula-users

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

2009-10-17 17:54:10
Subject: Re: [Bacula-users] Renaming volumes...
From: Markus Falb <markus.falb AT fasel DOT at>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 17 Oct 2009 21:49:40 +0000 (UTC)
Bruno Friedmann wrote:

> 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)

There is also the relabel console command. Volume has to be Purged or 
Recycle Status for relabel to work, so you probably have to purge before 
relabel will work.

-- 
best regards,
markus


------------------------------------------------------------------------------
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>