Bacula-users

Re: [Bacula-users] "3924 Device not in SD Device resources" Error on Windows backups only

2009-12-29 12:29:44
Subject: Re: [Bacula-users] "3924 Device not in SD Device resources" Error on Windows backups only
From: "M. Sébastien LELIEVRE" <sebastien.lelievre AT aznetwork DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 29 Dec 2009 18:26:14 +0100
M. Sébastien LELIEVRE a écrit :
Greetings everyone,

I keep receiving the error I paste below. This error only occurs on Windows client saves ; Linux clients are saved just fine !

I do not understand line 4 below since it points to a tse01 volume (tse01 is another Windows server) ; configuration seems ok tough.

What am I missing ?

Note : this behavior occurs on bacula3 (compiled by myself) and bacula2 (lenny debs) and for all Windows machines I try to save. All linux saves go just fine.

Below are :
1- log file of a windows backup
2- bacula sd conf (password blanked for paste)
3- windows backup conf
(password blanked for paste)

# cat client-trt01.log
28-déc 17:43 abfsav01 JobId 10637: No prior Full backup Job record found.
28-déc 17:43 abfsav01 JobId 10637: No prior or suitable Full backup found in catalog. Doing FULL backup.
28-déc 17:43 abfsav01 JobId 10637: Start Backup JobId 10637, Job=trt01.2009-12-28_17.43.45
28-déc 17:43 abfstor1-sd JobId 10637: Failed command: 1998 Volume "tse01-diff05" status is Append, not in Pool.

28-déc 17:43 abfstor1-sd JobId 10637: Fatal error:
     Device "trt01-dv" with MediaType "file" requested by DIR not found in SD Device resources.
28-déc 17:43 abfsav01 JobId 10637: Fatal error:
     Storage daemon didn't accept Device "trt01-dv" because:
     3924 Device "trt01-dv" not in SD Device resources.
28-déc 17:43 abfsav01 JobId 10637: Error: Bacula abfsav01 2.2.8 (26Jan08): 28-déc-2009 17:43:48
  Build OS:               i486-pc-linux-gnu debian lenny/sid
  JobId:                  10637
  Job:                    trt01.2009-12-28_17.43.45
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "trt01"
  FileSet:                "trt01-fs" 2009-05-19 23:00:00
  Pool:                   "trt01-full" (From Job resource)
  Storage:                "trt01-sd" (From Pool resource)
  Scheduled time:         28-déc-2009 17:43:44
  Start time:             28-déc-2009 17:43:48
  End time:               28-déc-2009 17:43:48
  Elapsed time:           0 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):
  Volume Session Id:      23
  Volume Session Time:    1261666154
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:
  SD termination status:
  Termination:            *** Backup Error ***

~# cat /etc/bacula/bacula-sd.conf
Storage {
        Name = stor1-sd
        WorkingDirectory = "/var/lib/bacula"
        Pid Directory = "/var/run/bacula"
        Maximum Concurrent Jobs = 20
        SDAddresses = {
        ip = { addr = 192.168.254.13; port = 9103; }
        }
}

Director {
        Name = abfsav01
        Password = ""
}

Messages {
        Name = Standard
        Director = abfsav01 = all
}

Device {
        Name = trt01-dv
        Media Type = File
        Archive Device = /media/stor01/windows/trt01
        Random Access = Yes;
        AutomaticMount = Yes;
        Removable Media = No;
        AlwaysOpen = No;
}

Device {
        Name = tse01-dv
        Media Type = File
        Archive Device = /media/stor01/windows/tse01
        Random Access = Yes;
        AutomaticMount = Yes;
        Removable Media = No;
        AlwaysOpen = No;
}

Device {
        Name = catalog-dv
        Media Type = File
        Archive Device = /media/stor01/linux/catalog
        Random Access = Yes;
        AutomaticMount = Yes;
        Removable Media = No;
        AlwaysOpen = No;
}


Device {
        Name = oracle-dv
        Media Type = File
        Archive Device = /media/stor01/linux/oracle
        Random Access = Yes;
        AutomaticMount = Yes;
        Removable Media = No;
        AlwaysOpen = No;
}


:~# cat /etc/bacula/include/windows/trt01-dir.include
Client {
        Name = "trt01"
        Address = 192.168.128.11
        Catalog = ABFSAVCatalog01
        Password = ""
        Heartbeat Interval = 1 minutes
        AutoPrune = No
}

FileSet {
        Name =trt01-fs
        Include {
                File = c:/client
                File = d:/ERP
                File = c:/WINDOWS/erp.ini
                File = d:/backupAD/trt01.bkf
        }
}

Pool {
        Name = "trt01-full"
        Pool Type = backup
        Recycle Oldest Volume = yes
        Volume retention = 1 day
        Maximum Volume Jobs = 1
        Next Pool = tapes
        Storage = trt01-sd
}

Pool {
        Name = "trt01-diff"
        Maximum Volume Jobs = 1
        Volume retention = 1 day
        Recycle Oldest Volume = yes
        Pool Type = Backup
        Next Pool = tapes
        Storage = trt01-sd
}

Storage {
        Name = trt01-sd
        Address = 192.168.254.13
        Device = trt01-dv
        Media Type = file
        password = ""
}

Schedule {
        Name = trt01-sched
        Run = Level=Full Pool=trt01-full sun at 21:00
        Run = Level=Differential Pool=trt01-diff mon,tue,wed,thu,fri at 21:00
}

Messages {
        Name = trt01-msg
        File = /var/log/bacula/client-trt01.log  = all
        @/etc/bacula/include/mail.include
}

Job {
        Name = trt01
        Type = backup
        Messages = trt01-msg
        Client = trt01
        FileSet = trt01-fs
        Pool = trt01-full
        Storage = trt01-sd
        Schedule = trt01-sched
        Write BootStrap = /opt/bacula/working/client-trt01.bsr
        Client Run Before Job = c:/backupAD.bat
        Max Wait Time = 1800
}

--
Cordialement

Sébastien LELIEVRE
AZNetwork
40 rue Ampère
61000 ALENÇON
+33 (0)2 33 32 12 47
sebastien.lelievre AT aznetwork DOT fr
Pour respecter l’environnement, merci de n’imprimer que si nécessaire.

------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users
Greetings,

I hope you will not mind if I insist, but has anyone experienced this behavior before ?

Best Regards,


--
Cordialement

Sébastien LELIEVRE
AZNetwork
40 rue Ampère
61000 ALENÇON
+33 (0)2 33 32 12 47
sebastien.lelievre AT aznetwork DOT fr
Pour respecter l’environnement, merci de n’imprimer que si nécessaire.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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>