Bacula-users

[Bacula-users] migration

2010-03-12 02:16:43
Subject: [Bacula-users] migration
From: Andy Howell <AndyHowell AT austin.rr DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 12 Mar 2010 00:47:46 -0600
I'm trying to migrate from one disk based storage to another. I started with:

http://bacula.org/5.0.x-manuals/en/main/main/Migration_Copy.html

Following that, it seem that I need a new Pool, and that pool defines the new 
storage I'm
moving to. I can't get that to work.

I define my migrate jobs as:

Job {
  Name = "migrate-gizmo"
  Type = Migrate
  Level = Full
  Client = gizmo-fd
  FileSet = "Full Set"
  Messages = Standard
  Pool = gizmoPool
  Maximum Concurrent Jobs = 4
  Selection Type = Volume
  Selection Pattern = "gizmo"
  Priority = 9
}

And define the storage and pools as below, I get the error when I try to load 
the config.

gizmo-dir JobId 0: Fatal error: No storage specified in Job "migrate-gizmo" nor 
in Pool.
gizmo-dir JobId 0: Error: Please correct configuration file: 
/etc/bacula/bacula-dir.conf
gizmo-dir JobId 0: Error: Resetting previous configuration.

If I add the new Storage to the pool I'm trying to move FROM, gizmonPool, the 
config
loads. Running that though, results in all the jobs showing a status:

migrate-gizmo.2010-03-12_00.19.09_07 is waiting on max Storage jobs

Also, as I would expect, its reading and writing to the same storage:

Run Migration job
JobName:       migrate-gizmo
Bootstrap:     *None*
Client:        gizmo-fd
FileSet:       Full Set
Pool:          gizmoPool (From Job resource)
Read Storage:  gizmoStore2 (From Pool resource)
Write Storage: gizmoStore2 (From Storage from Pool's NextPool resource)
JobId:         *None*
When:          2010-03-12 00:33:57
Catalog:       MyCatalog
Priority:      9

I've been fiddling with this for several hours. I'm sure its something simple 
and stupid
on my part, but I can't figure out what. I'm running Bacula 5.0.1 on Centos 5.4.

Thanks,

        Andy

Storage {
  Name = gizmoStore
  Address = gizmo                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "asdf"
  Device = gizmoStorage
  Media Type = FileGizmo
  AllowCompression = Yes
}

Storage {
  Name = gizmoStore2
  Address = caprica                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "asdf"
  Device = gizmoStorage2
  Media Type = FileGizmo
  AllowCompression = Yes
}

Pool {
  Name = gizmoPool
  Volume Use Duration = 23 h
  Pool Type = Backup
  LabelFormat = "gizmo-"
  AutoPrune = yes
  VolumeRetention = 6 months
  Maximum Volumes = 181
  Recycle = yes
  Recycle Oldest Volume = yes
  Next Pool = gizmoPool2
  Action On Purge = Truncate
}

Pool {
  Name = gizmoPool2
  Storage = gizmoStore2
  Volume Use Duration = 23 h
  Pool Type = Backup
  LabelFormat = "gizmo2-"
  AutoPrune = yes
  VolumeRetention = 6 months
  Maximum Volumes = 181
  Recycle = yes
  Recycle Oldest Volume = yes
  Storage = gizmoStore2
}


------------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] migration, Andy Howell <=