Hello Kern,

On Thu, 2005-07-14 at 08:57 +0200, Kern Sibbald wrote:
> DVD writing directly from Bacula is, unfortunately, not yet working, and 
> hence 
> not yet supported.  I thought that was clear from my status report last week. 
> I guess not :-(

Could i set my MaximumPartSize = 4600M and write my volumes/backups to a
hard disk folder, and then write the backup volume files to DVD with a
script?

That could be a workaround?

Any comments to this? 


> 
> On Thursday 14 July 2005 00:33, Mario Ohnewald wrote:
> > Hello Mike,
> >
> > On Wed, 2005-07-13 at 13:24 -0500, Mike Reinehr wrote:
> > > Mario,
> > >
> > > On Wednesday 13 July 2005 12:39 pm, Mario Ohnewald wrote:
> > > > 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"
> > > > > >}
> > >
> > >   I'm just guessing here, but your mount command indicates type iso9660.
> > > Does your DVD already have an iso9660 file system written to it?
> >
> > No, its a blank DVD RW+
> >
> > >  If not, this
> > > might be the source of your problem.
> >
> > So should i remove the MountPoint and MountCommand options?
> >
> > I was already in the example config, so i just thought its correct.
> >
> >
> > 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
> 



-------------------------------------------------------
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