Bacula-users

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

2012-07-06 07:39:21
Subject: Re: [Bacula-users] Migration Job fails - Device "File" not in SD Device resources.
From: John Drescher <drescherjm AT gmail DOT com>
To: Jürgen Echter <j.echter AT echter-kuechen-elektro DOT de>
Date: Fri, 6 Jul 2012 07:36:29 -0400
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

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