Bacula-users

Re: [Bacula-users] I have one 750G volume - How to migrate all the jobs off this volume into split volumes?

2011-01-17 11:09:48
Subject: Re: [Bacula-users] I have one 750G volume - How to migrate all the jobs off this volume into split volumes?
From: Mister IT Guru <misteritguru AT gmx DOT com>
To: Dan Langille <dan AT langille DOT org>
Date: Mon, 17 Jan 2011 16:08:09 +0000
On 17/01/2011 15:50, Dan Langille wrote:
> On 1/17/2011 10:44 AM, Mister IT Guru wrote:
>> Due to a typo in my configuration, I have one 750G volume! (arrgh!) I
>> forgot to add
>>
>> Maximum Volume Bytes = 50G          # Limit Volume size to something
>> reasonable
>> Maximum Volumes = 50               # Limit number of Volumes in Pool
>>
>> Now, that I've added these extra directives - I assuming that the
>> current mega volume will be closed with an EOF, and a new volume
>> created, which will max out in size @ 50G.
>
> Did you run the update command after making those changes?

I reloaded the bacula-dir - I assumed that this would be enough?

>
>> Problem I currently have is, I think it'll be a good idea to move jobs
>> out of this massive file, I'm probably a bit paranoid, but I've debated
>> hours over volume sizes! We almost made it standard to 4G volumes, so
>> that they can be copied onto DVD if need be. Hmm... Maybe, I'll start a
>> new thread about best volume size for disk based storage, which needs to
>> be rsynced to somewhere else.
>>
>> Back to my problem. It seems to me, that a few migrate jobs are in
>> order; my understanding of the migrate job process is as follows
>>
>> Bacula reads old job from the pool
>> Bacula stores this data in new volumes
>> Bacula 'deletes' the old job?
>
> Yes.  Copy and Migrate are pretty much the same, except that Copy 
> migration removes the original job & files from the Catalog.  In 
> neither case is anything removed from the original Volume.  That is 
> left to normal recycling.
>
> Even though you are doing migrate, this might help, because Migrate 
> and Copy are so similar.
>
>   http://www.freebsddiary.org/bacula-disk-to-tape.php
Thanks for the link, I will check it out now.

>
>> Once I've moved all the jobs off this massive 750G volume, then I can
>> mark this volume to be recycled, and it should rewrite this volume, and
>> cap it at 50G?
>
> Yes
>
Brilliant, as the weeks pass, I begin to enjoy bacula more, as I see it 
working, and begin to 'understand' how it works. Right now, I only have 
a sort of "If I push this button, then this happens" type of knowledge 
with bacula, and I'm trying to move to a sort of, "If I had to, I could 
recode this from the ground up with the same functionality, and 
features, and then some" type of knowledge. Sure it's a really, REALLY 
high bar to reach, but even if I only get 10% of the way, that means I'd 
be pretty awesome using bacula. (which is where I want to get really :))

Anyway, I have about 10 jobs to migrate away from a badly configured 
volume, am I glad that it wasn't to real tapes, otherwise that data 
woulda been bye bye!

-- 
The Solo System Admin - Follow me - I follow you
http://solosysad.blogspot.com/
Latest Entry: Bacula - Building from source
--
Mister IT Guru At Gmx Dot Com


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users