Bacula-users

Re: [Bacula-users] migrating bacula server

2008-04-07 09:15:01
Subject: Re: [Bacula-users] migrating bacula server
From: Sebastian Perkins <sperkins AT alpes-controles DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 7 Apr 2008 15:14:45 +0200 (CEST)
Hello again,

I've migrated the database & bacula configs... I can connect to the clients.

But, when I backup using the new server, bacula upgrades everything to "full". odd... When I use the restore option I get the following error :


Select the Client (1-8): 6
Automatically selected FileSet: france
+-------+-------+----------+----------------+---------------------+--------------------+
| jobid | level | jobfiles | jobbytes       | starttime           | volumename         |
+-------+-------+----------+----------------+---------------------+--------------------+
|   880 | F     |  818,758 | 86,134,612,817 | 2008-04-06 00:41:17 | FullPoolFrance0102 |
|   885 | I     |      122 |     88,142,395 | 2008-04-07 02:32:16 | IncrPoolFrance0030 |
+-------+-------+----------+----------------+---------------------+--------------------+
You have selected the following JobIds: 880,885

Building directory tree for JobId 880 ...
Building directory tree for JobId 885 ...
There were no files inserted into the tree, so file selection
is not possible.Most likely your retention policy pruned the files

Do you want to restore all the files? (yes|no):

Seems like the database dump/load lost something. The only thing I changed was the dns to the server.  If I try restoring from the old server, the tree is built.

Any help ?

Sebastian Perkins
Responsable Informatique
sperkins AT alpes-controles DOT fr

ALPES CONTROLES
3 impasse des prairies
74940 Annecy le Vieux
Tél. 04.50.64.11.46 - Fax. 04.50.64.23.83
http://www.alpes-controles.fr 


----- Message Original -----
De: "Sebastian Perkins" <sperkins AT alpes-controles DOT fr>
A: bacula-users AT lists.sourceforge DOT net
Sent: jeudi 3 avril 2008 11 h 20 (GMT+0100) Europe/Berlin
Sujet: Re: [Bacula-users] migrating bacula server

Thanks for the DNS tip !

do I have to transfer the bootstrap files ?

Sebastian Perkins
Responsable Informatique

----- Message Original -----
De: "Mike Eggleston" <mikeegg1 AT mac DOT com>
A: "Sebastian Perkins" <sperkins AT alpes-controles DOT fr>
Cc: bacula-users AT lists.sourceforge DOT net
Sent: mercredi 2 avril 2008 18 h 24 (GMT+0100) Europe/Berlin
Sujet: Re: [Bacula-users] migrating bacula server

On Wed, 02 Apr 2008, Sebastian Perkins might have said:

> Hello,
>
> We are moving our bacula server to something more powerful.
>
> My checklist is :
>
>     ??? reinstall postgresql (using a shell script)
>     ??? reinstall bacula (same version / same directories) compiling from source (shell script too here)
>     ??? pgdump from the old server -> cat bacula.sql | psql bacula on the new one
>     ??? the volumes are mounted on a nas via nfs, so mountpoint (same directory as old server) is up and running
>
> I've just checked the conf files for directory coherence, looks ok.
>
> Am I missing something ? Is it that easy ? :o) what about the bootstrap (.bsr) files ?
>
> PS : all 4 checklist points have gone fine.
>
> Many thanks,
>
> Sebastian Perkins
> Responsable Informatique

Sounds like what I did moving bacula on mysql from one box to another. I
ran in parallel for a while just to make sure things worked ok. Oh,
and I have a DNS alias for the clients from my original installation,
so my client *.conf files didn't have to change.

Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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>
  • Re: [Bacula-users] migrating bacula server, Sebastian Perkins <=