Bacula-users

[Bacula-users] need help with disk to disk migration

2010-03-12 19:59:37
Subject: [Bacula-users] need help with disk to disk migration
From: Andy Howell <AndyHowell AT austin.rr DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 12 Mar 2010 18:56:51 -0600
I'm struggling to get migration to work in 5.0.1. I started afresh, making a 
test based on
the example in the docs.

When I run the job, its using the Device from the source's pool instead of the
destination. Below the remote storage daemon reports it can't reserve 
"TestFileStorage".
I expect it to use "TestArchive". That is in fact what the job error message 
indicates
below for "Write Storage"

I'm out of space on my main SD, so I can't do any backups until I get this 
sorted.

Thanks,

        Andy


2-Mar 18:00 gizmo-dir JobId 1838: Start Migration JobId 1838,
Job=migrate-volume.2010-03-12_18.00.38_36
12-Mar 18:00 caprica-sd JobId 1838: Fatal error: Device reservation failed for 
JobId=1838:
12-Mar 18:00 gizmo-dir JobId 1838: Fatal error:
     Storage daemon didn't accept Device "TestFileStorage" because:
     3924 Device "TestFileStorage" not in SD Device resources.
12-Mar 18:00 gizmo-dir JobId 1838: Error: Bacula gizmo-dir 5.0.1 (24Feb10): 
12-Mar-2010
18:00:40
  Build OS:               x86_64-redhat-linux-gnu redhat
  Prev Backup JobId:      1824
  Prev Backup Job:        Test.2010-03-12_12.55.01_06
  New Backup JobId:       1840
  Current JobId:          1838
  Current Job:            migrate-volume.2010-03-12_18.00.38_36
  Backup Level:           Full
  Client:                 gizmo-fd
  FileSet:                "Test Set" 2010-03-12 12:42:40
  Read Pool:              "TestPool" (From Job resource)
  Read Storage:           "TestFile" (From Pool resource)
  Write Pool:             "ArchivePool" (From Job Pool's NextPool resource)
  Write Storage:          "TestArchive" (From Storage from Pool's NextPool 
resource)
  Catalog:                "MyCatalog" (From Client resource)
  Start time:             12-Mar-2010 18:00:40
  End time:               12-Mar-2010 18:00:40
  Elapsed time:           0 secs
  Priority:               10
  SD Files Written:       0
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Volume name(s):
  Volume Session Id:      1
  Volume Session Time:    1268438306
  Last Volume Bytes:      0 (0 B)
  SD Errors:              0
  SD termination status:
  Termination:            *** Migration Error ***


FileSet {
  Name = "Test Set"
  Include {
    File = /etc
  }
}

# Define the backup Job
Job {
  Name = "Test"
  Type = Backup
  Level = Incremental                 # default
  Client=gizmo-fd
  FileSet="Test Set"
  Schedule = "WeeklyCycle"
  Messages = Standard
  Pool = TestPool
  Storage = File
}

# Default pool definition
Pool {
  Name = TestPool
  Pool Type = Backup
  AutoPrune = yes
  Recycle = yes
  Next Pool = ArchivePool
  Storage = TestFile
  LabelFormat = "File"
}

# Archive pool definition
Pool {
  Name = ArchivePool
  Pool Type = Backup
  AutoPrune = yes
  Recycle = yes
  Storage = TestArchive
}

# Definition of File storage device
Storage {
  Name = TestFile
  Address = gizmo
  Password = "test123"
  Device = "TestFileStorage"          # same as Device in Storage daemon
  Media Type = File        # same as MediaType in Storage daemon
}

# Definition of remote archive
Storage {
  Name = TestArchive
  Address = caprica
  Password = "test123"
  Device = "TestArchiveDev"      # same as Device in Storage daemon
  Media Type = File         # same as MediaType in Storage daemon
}

Job {
  Name = "migrate-volume"
  Type = Migrate
  Level = Full
  Client = gizmo-fd
  FileSet = "Test Set"
  Messages = Standard
  Pool = TestPool
  Maximum Concurrent Jobs = 4
  Selection Type = Job
  Selection Pattern = "Test.*"
  Storage = TestFile
}



------------------------------------------------------------------------------
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] need help with disk to disk migration, Andy Howell <=