On 19 Oct 2006 at 22:01, Ross Boylan wrote:

> I have a new machine where I want to run bacula (that is the director,
> the storage pools, the database), and wonder if anyone has any advice
> on how to move over to it.
> 
> For example, would this work?
> 1) install bacula
> 2) copy configuration files (*.conf)  from old machine
> 3) migrate my database from the old machine (I'm using PostgreSQL).
> The old machine is using an older version of the database, so I'd like
> to migrate to the newer version at the same time.
> 4) copy the spool
> directory to which I write disk backups to the new machine.

Copy may not be necessary.  Just creating the directories should be 
enough. The pool directory should be empty when jobs are not running.

> The layout of of the two machines will be similar.  I'm using 
> bacula-director-pgsql 1.38.11-6 on Debian.  I backup to disk, and
> intermittently burn the disk files to DVD.
> 
> I see there's been some discussion of a migration feature, but that
> looks as if it's oriented to a different problem, and it seems only to
> be in 1.39.
> 
> Does bacula know (in the DB, presumably) what machine particular files
> or backups came from?  Put differently, if I go through the above
> procedure, will bacula running on the new machine think the records in
> the database are talking about the new machine, or the old one?

You'll also be moving the bacula-sd I think, because you're moving 
the volumes etc.

> If it thinks they are from the old machine (which seems likely), is it
> possible to fake it out by changing the value of 1 or more fields in
> the DB?  Would that be a good idea--for example, the new machine does
> not have exactly the same files as the old, so I could see bacula
> getting confused by fakes.

The Volumes are known by the Storage Daemon.  So long as you keep 
both the SD and the Volumes on the same machine (in general), you'll 
be fine.

Will the new box have a different hostname/IP address?  Remember to 
update the Address fields if so.

Will you be keeping both the old and new running at the same time, if 
only for a while?

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to