Bacula-users

Re: [Bacula-users] MIGRATE from 2.4.2 to 5.0.1

2010-03-17 10:21:27
Subject: Re: [Bacula-users] MIGRATE from 2.4.2 to 5.0.1
From: Carlo Filippetto <carlo.filippetto AT gmail DOT com>
To: Juergen Koch <juergen.koch AT unister-gmbh DOT de>
Date: Wed, 17 Mar 2010 15:17:37 +0100
To backup the db I use the command 'mysqldump'
mysqldump [dbName] >  file.sql

In the same way I importa it after create the db and the tables as a
normal mysql db

mysql [NewDbName] < file.sql

All without error, and after I make all upgrade




2010/3/17 Juergen Koch <juergen.koch AT unister-gmbh DOT de>:
> Hi,
>
> I upgrade Bacula from 2.4.4 (Standard Debian Lenny) to 5.0.0 (Lenny
> Backport).
>
> I use the same steps, but I have two problems.
>
> The script to backup the Cataloge is now perl and is have a uncorrect
> umask-value. I must change this:
>
> In /etc/bacula/scripts/make_catalog_backup.pl (You must change this in
> your config - RunBeforeJob in the Cataloge-Job) I change
>
> sub dump_mysql
> {
>     my %args = @_;
>     umask(0077);
>
> to:
>
> sub dump_mysql
> {
>     my %args = @_;
>     umask(0022);
>
> The secend is, to manipulate Volumes (with the update-command), I can't
> use the Vol-ID. I receive a error. I use the Volumename and it works.
>
> Juergen
>
>
>
> Carlo Filippetto schrieb:
>> YES!!!
>>
>> I install sucessfully the 'dir' daemon,
>> use the script to create the database,
>> copy my dump in this one,
>> use the script to upgrade the table from version 10 to 11,
>> and later I 11 to 12..  (I think it was good to jump from version 10 to 12)
>>
>>
>> and it seems work fine!!
>>
>>
>> CIAO
>>
>> ---
>> Carlo Filippetto
>>
>>
>>
>>
>> 2010/3/17 Carlo Filippetto <carlo.filippetto AT gmail DOT com>:
>>> Hi all,
>>> I had to change the machine of mine old bacula, and I would take the
>>> opportunity to upgrade to 5.0.1.
>>> Obviusly I would like to import the old database and config files (the
>>> files should be compliant).
>>>
>>> Haw can I do?
>>>
>>> Thanks
>>>
>>> CIAO
>>>
>>> ---
>>> Carlo Filippetto
>>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users