Problème d'accès au périphérique avec bacula

Bonjour,

Je mets en place une solution de sauvegarde bacula. Lorsque je tente ma sauvegarde j’ai droit à ces messages :

[quote]*run
Automatically selected Catalog: Catalogue
Using Catalog "Catalogue"
A job name must be specified.
The defined Job resources are:
1: Full
2: Incremental
3: SaveCatalogue
4: Restore
Select Job resource (1-4): 1
Run Backup job
JobName: Full
Level: Full
Client: server
FileSet: Full
Pool: FullPool (From Job resource)
Storage: File (From Job resource)
When: 2010-12-21 15:46:04
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=243
*stat
Status available for:
1: Director
2: Storage
3: Client
4: All
Select daemon type for status (1-4): 4
server-dir Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian lenny/sid
Daemon started 21-déc010 15:09, 3 Jobs run since started.
Heap: heap=327,680 smbytes=53,921 max_bytes=59,128 bufs=254 max_bufs=277

Scheduled Jobs:
Level Type Pri Scheduled Name Volume

Incremental Backup 10 21-déc010 23:05 Incremental unknown
Full Backup 11 21-déc010 23:10 SaveCatalogue unknown

Running Jobs:
No Jobs running.

Terminated Jobs:
JobId Level Files Bytes Status Finished Name

232 Full 0 0 Error 19-déc010 23:40 SaveCatalogue.2010-12-19_23
233 Full 0 0 Cancel 20-déc010 23:07 Incremental.2010-12-20_23
234 Full 0 0 Error 20-déc010 23:40 SaveCatalogue.2010-12-20_23
236 Full 0 0 Cancel 21-déc010 09:55 Full.2010-12-21_09
238 Full 0 0 Cancel 21-déc010 10:00 Full.2010-12-21_09
239 Full 0 0 Cancel 21-déc010 10:37 Full.2010-12-21_10
240 Full 0 0 Cancel 21-déc010 12:41 Full.2010-12-21_12
241 Full 0 0 Cancel 21-déc010 12:48 Full.2010-12-21_12
242 Full 0 0 Error 21-déc010 15:09 Full.2010-12-21_15
243 Full 0 0 Error 21-déc010 15:46 Full.2010-12-21_15

====
Connecting to Storage daemon File at server.server.local:9103

server-sd Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian lenny/sid
Daemon started 21-déc010 15:09, 0 Jobs run since started.
Heap: heap=135,168 smbytes=11,261 max_bytes=74,841 bufs=47 max_bufs=49
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8

Running Jobs:
No Jobs running.

Jobs waiting to reserve a drive:

Terminated Jobs:

Device status:
Device “File” (/opt/baculasave) is not open.

Used Volume status:

====
Connecting to Client server at server.server.local:9102

server Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian lenny/sid
Daemon started 21-déc010 15:09, 0 Jobs run since started.
Heap: heap=135,168 smbytes=9,009 max_bytes=9,156 bufs=42 max_bufs=43
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0

Running Jobs:
Director connected at: 21-déc010 15:46
No Jobs running.

Terminated Jobs:

You have messages.
*
21-déc 15:46 server-dir JobId 243: Start Backup JobId 243, Job=Full.2010-12-21_15.46.06.06
21-déc 15:46 server-dir JobId 243: Fatal error: Storage daemon rejected Job command: 3997 Invalid command for a Director with Monitor directive enabled.

21-déc 15:46 server-dir JobId 243: Error: Bacula server-dir 2.4.4 (28Dec08): 21-déc-2010 15:46:08
Build OS: x86_64-pc-linux-gnu debian lenny/sid
JobId: 243
Job: Full.2010-12-21_15.46.06.06
Backup Level: Full
Client: “server” 2.4.4 (28Dec08) x86_64-pc-linux-gnu,debian,lenny/sid
FileSet: “Full” 2010-12-18 17:40:21
Pool: “FullPool” (From Job resource)
Storage: “File” (From Job resource)
Scheduled time: 21-déc-2010 15:46:04
Start time: 21-déc-2010 15:46:08
End time: 21-déc-2010 15:46:08
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: 0
Volume Session Time: 0
Last Volume Bytes: 0 (0 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***

[/quote]

Mes fichiers de configurations :

[quote]## BACULA ##

DIRECTOR

Director {
Name = server-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Password = "P455W0RD"
Messages = Daemon
}

@|“sh -c ‘for FILE in /etc/bacula/conf.d/*.conf ; do echo @${FILE} ; done’”

Catalog {
Name = Catalogue
dbname = “bacula”; dbuser = “bacula”; dbpassword = “P455W0RD”
}

Console {
Name = SERVER
Password = "P455W0RD"
CommandACL = status, .status
}
[/quote]

[quote]## CLIENTS ##

client {
Name = server
Address = server.server.local
FDPort = 9102
Catalog = Catalogue
Password = "P455W0RD"
File Retention = 60 days
Job Retention = 6 months
AutoPrune = yes
}
[/quote]

[quote]## FILESETS ##

FileSet {
Name = "Full"
Include {
Options {
signature = SHA1
compression = GZIP6
onefs = no
aclsupport = yes
}

File = /var

File = /opt

	File = /home

File = /boot

}

Exclude {

File = /proc

File = /sys

File = /tmp

File = /dev

File = /.journal

File = /.fsck

}

}

FileSet {
Name = "Incremental"
Include {
Options {
signature = SHA1
compression = GZIP6
onefs = no
aclsupport = yes
}
File = /var
File = /opt
File = /home
File = /boot
}

Exclude {
            File = /proc
            File = /sys
            File = /tmp
            File = /dev
            File = /.journal
            File = /.fsck
}

}

FileSet {
Name = "Catalogue"
Include {
Options {
signature = SHA1
}
File = “/var/lib/bacula/bacula.sql”
}
}
[/quote]

[quote]## JOBS ##

JOBSDEFS

JobDefs {
Name = "Incremental"
Type = Backup
Level = Incremental
FileSet = "Incremental"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = PoolIncremental
Priority = 10
Write Bootstrap = “/backup/backup/backup/SERVER/bacula/bootstrap/bootstrap.bsr”
}

JobDefs {
Name = "Full"
Type = Backup
Level = Full
FileSet = "Full"
Storage = File
Messages = Standard
Pool = FullPool
Priority = 10
Write Bootstrap = “/backup/backup/backup/SERVER/bacula/bootstrap/bootstrap.bsr”
}

JobDefs {
Name = "Catalogue"
Type = Backup
Level = Full
Client = server
FileSet = "Catalogue"
Storage = File
Messages = Standard
Pool = SaveCatalogue
}

JobDefs {
Name = "Restore"
Type = Restore
FileSet = "Full"
Storage = File
Messages = Standard
Pool = FullPool
}

JOBS

Job {
Name = "Full"
JobDefs = "Full"
Client = server
Max Wait Time = 2 minutes
}

Job {
Name = "Incremental"
JobDefs = "Incremental"
Client = server
Max Wait Time = 2 minutes
}

Job {
Name = "SaveCatalogue"
JobDefs = "Catalogue"
Schedule = “WeeklyCycleAfterBackup”

RunBeforeJob = “/etc/bacula/scripts/make_catalog_backup.pl Catalogue”

RunAfterJob = “/etc/bacula/scripts/delete_catalog_backup”

Write Bootstrap = "/backup/backup/backup/SERVER/bacula/bootstrap/bootsctrap.bsr"
Priority = 11

}

Job {
Name = "Restore"
JobDefs = "Restore"
Client = server
Where = /opt/bacularestore
}
[/quote]

[quote]## MESSAGES ##

Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f “(Bacula) <%r>” -s “Bacula: %t %e of %c %l” %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f “(Bacula) <%r>” -s “Bacula: Intervention needed for %j” %r"
mail = MGSolideSnake@gmail.com = all, !skipped
operator = administrateur@goldzoneweb.info = mount
console = all, !skipped, !saved
append = “/var/lib/bacula/log” = all, !skipped
catalog = all
}

Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f “(Bacula) <%r>” -s “Bacula daemon message” %r"
mail = MGSolideSnake@gmail.com = all, !skipped
console = all, !skipped, !saved
append = “/var/lib/bacula/log” = all, !skipped
}
[/quote]

[quote]## POOLS ##

Pool {
Name = FullPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Maximum Volumes = 100
Label Format = “Backup-Full-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}”
}

Pool {
Name = PoolDiff
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 60 days
Label Format = “Backup-Diff-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}”
}

Pool {
Name = PoolIncremental
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 10 days
Label Format = “Backup-Incr-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}”
}

Pool {
Name = SaveCatalogue
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Maximum Volumes = 100
Label Format = “Backup-Catalogue-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}”
}

Pool {
Name = Scratch
Pool Type = Backup
}
[/quote]

[quote]## SCHEDULES ##

Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 04:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental sun-sat at 23:05
}

Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
[/quote]

[quote]## STORAGE ##

Storage {
Name = File
Address = server.server.local
SDPort = 9103
Password = "P455W0RD"
Device = FileStorage
Media Type = File
}
[/quote]

Bacula server-dir Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian lenny/sid
Debian kernel 2.6.26-2-amd64

Pourriez-vous m’aider ?

Merci