Hello List,

i am trying to test my backup volume like the tutorial recommends:

btape -c /etc/bacula/bacula-sd.conf /dev/hdc
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/hdc" for writing.
13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
Volume name given.



Here my config:

grep -v "^#" bacula-sd.conf

Storage {                             # definition of myself
  Name = SpiekLap-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = SpiekLap-dir
  Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
}

Director {
  Name = SpiekLap-mon
  Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
  Monitor = yes
}






Device {
  Name = "DVD-WRITER"
  Media Type = DVD
  Archive Device = /dev/hdc
  LabelMedia = no;               # i have already tried YES here, too
  Random Access = Yes;
  AutomaticMount = yes;          # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
  MaximumPartSize = 800M;
  RequiresMount = yes;
  MountPoint = /cdrom;
  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
}



Messages {
  Name = Standard
  director = SpiekLap-dir = all
}



Does anyone know how to solve this? The btape has no volume option.


Thanks, Mario



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to