On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote: > Hi, > > At 16:06 13/07/2005, you wrote: > >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. > >
*label Automatically selected Storage: File Enter new Volume name: Test02 Automatically selected Pool: Default Connecting to Storage daemon File at SpiekLap:9103 ... Sending label command for Volume "Test02" Slot 0 ... 3910 Unable to open device "DVD" (/dev/sr0): ERR=dvd.c:363 Label command failed for Volume Test02. Do not forget to mount the drive!!! *run A job name must be specified. The defined Job resources are: 1: Laptop 2: BackupCatalog 3: RestoreFiles Select Job resource (1-3): 1 Run Backup job JobName: Laptop FileSet: Full Set Level: Incremental Client: SpiekLap-fd Storage: File Pool: Default When: 2005-07-13 19:33:25 Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Pool Select parameter to modify (1-8): 2 Automatically selected Storage: File Run Backup job JobName: Laptop FileSet: Full Set Level: Incremental Client: SpiekLap-fd Storage: File Pool: Default When: 2005-07-13 19:33:25 Priority: 10 OK to run? (yes/mod/no): ------------- Does it automatically use Storage=File because i dont have a working DVD Storage device? eject /dev/sr0 works, and i can write to the dvd with k3b. > > > > > >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 > >} > > > > > > ------------------------------------------------------- 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