Bacula-users

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

2008-12-09 23:47:24
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:45:41 -0500
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"
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

This command will delete volume Volume-0018
and all Jobs saved on that volume from the Catalog
Are you sure you want to delete Volume "Volume-0018"? (yes/no): yes
*q
jmd1 backups # ls
Volume-0001  Volume-0011  Volume-0013  Volume-0014  Volume-0015
Volume-0017  Volume-0018  bootstrap  john.tar.bz2
jmd1 backups # rm Volume-0018

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