Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
need help with disk to disk migration

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Bacula
View previous topic :: View next topic  
Author Message
Andy Howell
Guest





PostPosted: Fri Mar 12, 2010 4:57 pm    Post subject: need help with disk to disk migration Reply with quote

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® 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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Bacula All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB