Bacula-users

Re: [Bacula-users] Migration Job fails - Device "File" not in SD Device resources.

2012-07-10 03:03:43
Subject: Re: [Bacula-users] Migration Job fails - Device "File" not in SD Device resources.
From: Jürgen Echter <j.echter AT echter-kuechen-elektro DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 10 Jul 2012 09:00:34 +0200
Am 06.07.2012 13:36, schrieb John Drescher:
On Fri, Jul 6, 2012 at 6:43 AM, Jürgen Echter
<j.echter AT echter-kuechen-elektro DOT de> wrote:
Hi,

i try to migrate archivefiles to another server / pool.

when i run this job i get the following error:

06-Jul 12:37 bacula-dir JobId 14726: The following 1 JobId was chosen to be migrated: 8446
06-Jul 12:37 bacula-dir JobId 14726: Migration using JobId=8446 Job=mule.2012-03-08_21.04.48_38
06-Jul 12:37 bacula-dir JobId 14726: Bootstrap EintrÀge geschrieben nach /var/lib/bacula/bacula-dir.restore.1569.bsr
06-Jul 12:37 bacula-dir JobId 14726: Start Migration JobId 14726, Job=migration.2012-07-06_12.37.09_18
06-Jul 12:37 mule-sd JobId 14726: Fatal error: Device reservation failed for JobId=14726:
06-Jul 12:37 bacula-dir JobId 14726: Fatal error:
      Storage daemon hat Device "File" nicht akzeptiert weil:
      3924 Device "File" not in SD Device resources.
06-Jul 12:37 bacula-dir JobId 14726: Error: Bacula bacula-dir 5.0.3 (04Aug10): 06-Jul-2012 12:37:09
   Build OS:               x86_64-pc-linux-gnu ubuntu 10.04
   Prev Backup JobId:      8446
   Prev Backup Job:        mule.2012-03-08_21.04.48_38
   New Backup JobId:       14727
   Current JobId:          14726
   Current Job:            migration.2012-07-06_12.37.09_18
   Backup Level:           Full
   Client:                 bacula-fd
   FileSet:                "Bacula" 2012-06-29 12:19:47
   Read Pool:              "File" (From Job Ressource)
   Read Storage:           "File" (From Pool Ressource)
   Write Pool:             "File2" (From "NextPool"  Ressource des Job Pools)
   Write Storage:          "File2" (From Storage aus der "NextPool" Ressource des Pools.)
   Catalog:                "MyCatalog" (From Client resource)
   Start time:             06-Jul-2012 12:37:09
   End time:               06-Jul-2012 12:37:09
   Elapsed time:           0 secs
   Priority:               98
   SD Files Written:       0
   SD Bytes Written:       0 (0 B)
   Rate:                   0.0 KB/s
   Volume name(s):
   Volume Session Id:      1382
   Volume Session Time:    1340975000
   Last Volume Bytes:      0 (0 B)
   SD Errors:              0
   SD termination status:
   Termination:            *** Migration Fehler ***


my pool conf for the files to migrate:

Pool {
   Name = File
   Pool Type = Backup
   Recycle = yes
   Recycle Oldest Volume = yes
   Recycle Pool = File
   Auto Prune = yes
   Volume Retention = 2 years
   Volume Use Duration = 6 months
   Storage = File
   LabelFormat = file-
   Action On Purge = Truncate
   NextPool = File2
   Maximum Volume Bytes = 25G
   Maximum Volumes = 98
}

my pool definition for the new pool:

Pool {
   Name = File2
   Pool Type = Backup
   Recycle = yes
   Recycle Oldest Volume = yes
   Recycle Pool = File2
   Auto Prune = yes
   Volume Retention = 5 years
   Volume Use Duration = 1 year
   Storage = File2
   LabelFormat = file-
   Action On Purge = Truncate
   NextPool = File2
   Maximum Volume Bytes = 25G
   Maximum Volumes = 100
}

my device configuration for the new device on second server:

Device {
   Name = File2
   Device Type = File
   Media Type = File
   Archive Device = "/DATEN/BACKUP/bacula"
   LabelMedia = yes
   Random Access = Yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = Yes
   Spool Directory = /var/lib/bacula/spool
   Maximum Spool Size = 350gb
   Maximum Network Buffer Size = 65536
}

sotrage conf for the new storage:

Storage {
   Name = File2
   Address = 192.168.0.205
   SDPort = 9103
   Password = "pass"
   Device = File2
   Media Type = File
   Maximum Concurrent Jobs = 10
}

any hints what i did wrong?

You need a Device
{
Name=File

...

}

in the same SD that you are migrating. Remember that migration is
single SD only. You can not migrate across SDs.

John
Hi John,

then the easiest way would be to mount the dir on my bacula server and migrate to this one.

thanks for your answer!

have a nice day

juergen

--
Mit freundlichen Grüssen

Jürgen Echter
Logo
ECHTER Küchen & Elektro GmbH
Augsburger Str. 49

86529 Schrobenhausen

Tel: 08252 / 8976 - 0
Fax: 08252 / 8976 - 10
e-mail: info AT echter-kuechen-elektro DOT de
web: www.echter-kuechen-elektro.de
Reg.-Gericht: Ingolstadt Nr. HR B 101907

Ust.-Id. Nr.: DE234419866

Steuernummer:
124/125/51166

Geschäftsführer:
Thomas Echter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>