--- Wanderson Berbert <[EMAIL PROTECTED]> wrote:

> 
>     I have a dvd rw and configured my storage daemon
> this way showed bellow:
> 
> 
> Device {
>   Name = "DVD-RW"
>   Media Type = CD-DVD
>   Archive Device = /dev/hdd
>   RemovableMedia = Yes;
>   Random Access = Yes;
>   AlwaysOpen = No;
>   LabelMedia = Yes;
>   AutomaticMount = Yes;
> }
> 
> Configured the bacula director this way:
> 
> 
> Storage {
>   Name = dvd
>   Address = codin.sermap.sermap.com.br
>   SDPort = 9103
>   Password = "xxxxxxx"
>   Device = DVD-RW
>   Media Type = CD-DVD
> }
> 
> 
> But bacula insists to tell me that the device
> doesn't exist.
> 
> 3999 Device DVD-RW not found
> 
> I have already tryied many other ways to figure out
> how to solve this .. 
> but with no sucess ....
> 
> Someone can give me a clue...
> 
> Thanks
> 
> Wanderson
Try this:

#
# A DVD device
#
Device {
  Name = "DVD-RW"
  Media Type = DVD
  Archive Device = /dev/hdd
  LabelMedia = yes;                   # lets Bacula
label unlabeled media
  Random Access = Yes;
  AutomaticMount = no;               # when device
opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
  MaximumPartSize = 800M;
  Requires Mount = yes;
  Mount Point = /mnt/dvd;
  Mount Command = "/bin/mount -t iso9660 -o ro %a %m";
  Unmount Command = "/bin/umount %m";
  Spool Directory = /tmp/backup;
  Write Part Command = "/etc/bacula/dvd-writepart %n
%a %v"
  Free Space Command = "/etc/bacula/dvd-freespace %a
%n"
}



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to