On Tue, 2006-08-15 at 00:30 +0200, stefan wrote:
> Hello all,
> 
> I have bacula 1.38.11 on debian 3.1 installed and want to backup to DVD.
> I edit the bacula-sd.conf:
> 
> "Device {
>   Name = "DVD-Writer"
>   Media Type = dvd
Not sure if case is sensitive but I use DVD there.
>   Archive Device = /media/cdrom1  # I also changed this to /dev/hdc but the # 
> #same
That should be /dev/hdc or whatever your DVD device appears as. It is
NOT the filesystem mountpoint

>   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 = /media/cdrom1;
>   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
>   UnmountCommand = "/bin/umount %m";
>   SpoolDirectory = /tmp/backup;
Does /tmp/backup exist? It probably will not get recreated on reboot.
>   WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
>   FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
> }
> "
>  and restart the service but I always get the error when I run  a job:
> 
> "15-Aug 00:13 server-dir: Start Backup JobId 16, 
> Job=Client1.2006-08-15_00.13.29
> 15-Aug 00:13 server-sd: Failed command:
> 15-Aug 00:13 server-sd: Client1.2006-08-15_00.13.29 Fatal error:
>      Device "DVD" with MediaType "DVD" requested by DIR not found in SD 
> Device 
> resources.
The only obvious difference is your use of dvd  versus DVD.

> 15-Aug 00:13 server-dir: Client1.2006-08-15_00.13.29 Fatal error:
>      Storage daemon didn't accept Device "DVD" because:
>      3924 Device "DVD" not in SD Device resources.
> 15-Aug 00:13 server-dir: Client1.2006-08-15_00.13.29 Error: Bacula 1.38.11 
> (28Jun06): 15-Aug-2006 00:13:31"
> 
> It seems I have to edit the SD Device resources but I dont know where. 
> 
> Can someone help?

Don't forget to restart bacula-sd after you change the configuration
file. Use
/etc/init.d/bacula-sd restart

Also note that DVD writing doesn't work fully in 1.38 (some commands
like label, relabel, purge will not work). Hopefully it will be fully
functional in 1.40. I haven't tried the newer Debian packages because
I've been building from CVS lately.

Have fun

Richard

-- 
Richard Mortimer <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to