Bacula-users

Re: [Bacula-users] volume management on a storage File

2008-12-09 23:58:17
Subject: Re: [Bacula-users] volume management on a storage File
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Lukasz Szybalski" <szybalski AT gmail DOT com>
Date: Tue, 9 Dec 2008 23:56:45 -0500
On Tue, Dec 9, 2008 at 11:50 PM, Lukasz Szybalski <szybalski AT gmail DOT com> 
wrote:
> On Tue, Dec 9, 2008 at 10:45 PM, John Drescher <drescherjm AT gmail DOT com> 
> wrote:
>> On Tue, Dec 9, 2008 at 11:41 PM, John Drescher <drescherjm AT gmail DOT com> 
>> wrote:
>>>> I already have a new volume with full backup, so now I want to purge
>>>> the old volume, then delete it and then delete the actual file
>>>> (750GB). Is that how it works?
>>>>
>>
>> Here is an example:
>>
>> jmd1 backups # ls -al
>> total 12698624
>> drwxr-xr-x 3 root root         4096 Sep 12 08:41 .
>> drwxr-xr-x 9 root video         240 Dec  6 01:34 ..
>> -rw-r----- 1 root bacula 2147439475 Nov  5 23:10 Volume-0001
>> -rw-r----- 1 root bacula    6023623 Dec  9 23:10 Volume-0011
>> -rw-r----- 1 root bacula 2147461696 Dec  9 23:10 Volume-0013
>> -rw-r----- 1 root bacula  543222451 Dec  3 23:05 Volume-0014
>> -rw-r----- 1 root bacula 2147469390 Sep 28 23:05 Volume-0015
>> -rw-r----- 1 root bacula 2147435166 Nov 30 23:05 Volume-0017
>> -rw-r----- 1 root bacula 2147479768 Oct 20 23:10 Volume-0018
>> drwxr-xr-x 2 root root            6 Aug 31 23:28 bootstrap
>> -rw-r--r-- 1 root root   1716838400 Apr 30  2006 john.tar.bz2
>> jmd1 backups # bconsole
>> Connecting to Director jmd1:9101
>> 1000 OK: jmd1-dir Version: 2.4.2 (26 July 2008)
>> Enter a period to cancel a command.
>> *delete volume="Volume-0018"
>
> Thanks. I will do that then.
> I see you didn't do a purge before delete. Is that because delete will
> do the purge automatically ?
>

Yes, delete removes all records of the volume that are in the
database, including the file and job records. So purging is not
necessary.

BTW, If anyone sees this example. It is from my home computer and not
the work network that I talk about most. Here at home there is only 2
real backup jobs and the rest is just for testing things. That is why
I could easily delete a volume.

John

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users