Bacula DVD-Backup

Hallo zusammen,

ich hab mir auf einem FreeBSD 6.1 Server die BackupSolution Bacula installiert.

klappt auch alles sehr gut, nun möchte ich aber auch gerne einige Daten auf DVD bzw. als iso-file sichern. klappt aber nicht ^^

So siehts in den Confs aus:

######################################################################################
bacula-dir.conf

Job {
Name = „Client5_testserver_DVD“
Client = testserver-fd
JobDefs = „DefaultJob“
Write Bootstrap = „/var/bacula/working/Client5_testserver_etc.bsr“
FileSet = „Config Files“
Storage = DVDWriter
Pool = DVDPool

Rerun Failed Levels = yes

Reschedule On Error = yes

Reschedule Interval = 1 hour

Reschedule Times = 3

}

Client (File Services) to backup

Client {
Name = testserver-fd
Address = testserver.XXXX.de
FDPort = 9102
Catalog = MyCatalog
Password = „geheim“ # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files

Definition of file storage device

Storage {
Name = DVDWriter

Do not use „localhost“ here

Address = testserver.XXXX.de # N.B. Use a fully qualified name here
SDPort = 9103
Password = „geheim“
Device = DVDWriter
Media Type = DVD
}

Steven DVD Test-Pool

Pool {
Name = DVDPool
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
#Accept Any Volume = yes
######################################################################################

######################################################################################
bacula-sd.conf:

A DVD device

Device {
Name = DVDWriter
Media Type = DVD
Device Type = DVD
Archive Device = /dev/hdc
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes;
AlwaysOpen = no;
MaximumPartSize = 800M;
RequiresMount = yes;
MountPoint = /mnt/cdrom0; # /media/cdrom0
MountCommand = „/bin/mount /media/cdrom0“ #"/bin/mount -t iso9660 -o ro %a %m";
UnmountCommand = „/bin/umount %m“;
SpoolDirectory = /tmp/backup;
WritePartCommand = „/etc/bacula/dvd-handler %a write %e %v“
FreeSpaceCommand = „/etc/bacula/dvd-handler %a free“
}
######################################################################################

irgendwann bekomm ich dann dieses:
Email Bug-Report:
28-Aug 21:29 testserver-sd: Please mount Volume „Test“ or label a new one for:
Job: Client5_testserver_DVD.2007-08-28_14.29.15
Storage: „DVDWriter“ (/dev/hdc)
Pool: Default
Media type: DVD

ich versteh nicht warum er nicht mounten kann und wieso ich nicht labeln kann.
In der bconsole klappts nicht. Fehlermeldungen sind dann:
Enter a period to cancel a command.
*label

Connecting to Storage daemon DVDWriter at testserver.cbt-l.de:9103
Sending label command for Volume „Test2“ Slot 0 …
3910 Unable to open device „DVDWriter“ (/dev/hdc): ERR=dvd.c:147 Cannot run free space command. Results= ERR=Keine Berechtigung
Label command failed for Volume Test2.

berechtigung auf? ich bin als root angemeldet.
Was mach ich falsch?

Grüße
Steven

Hoi

Connecting to Storage daemon DVDWriter at
testserver.cbt-l.de:9103
Sending label command for Volume „Test2“ Slot 0 …
3910 Unable to open device „DVDWriter“ (/dev/hdc):
ERR=dvd.c:147 Cannot run free space command. Results=
ERR=Keine Berechtigung
Label command failed for Volume Test2.

berechtigung auf? ich bin als root angemeldet.
Was mach ich falsch?

du bist als Root angemeldet, Bacula läuft aber unter einem eigenem Benutzer (normalerweise) dieser brauch die Berechtigungen (ich glaube mal das kommando auszuführen) schaumal wasde dahingehend machen kannst.