Bacula-users

Re: [Bacula-users] backup to dvd not working

2011-05-13 12:40:22
Subject: Re: [Bacula-users] backup to dvd not working
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 13 May 2011 12:36:43 -0400
On 05/13/11 12:08, Wouter Verhelst wrote:
> Hi,
> 
> I was trying to set up bacula on my parents' laptop the other day so
> that they could do proper backups to DVD+RW disks. Only it isn't
> working.
> 
> - Running 'dvd-handler /dev/dvdrw write 1 /tmp/foo' works perfectly; it
>   blanks the disc and writes the file /tmp/foo on it.
> - Running the 'label' command in the console after doing the above does
>   not work, since dvd-handler detects that something is on the disc
>   already but it does not recognize it, so it refuses to write to it.
> - Running 'dvd-handler /dev/dvdrw prepare' seems to work fine, it blanks
>   the disk.
> - Runnig 'label' again after the prepare does not work; dvd-handler
>   tries to mount the disc repetitively but fails, and the log reports
>   failure to read from the disk ('zero blocks received'). The storage
>   daemon then also segfaults for good measure.
> 
> They're running the version of bacula that is in Debian squeeze.
> 
> Is this just me, or should I file a bugreport somewhere?

Wouter,
The direct DVD writing feature in bacula proved to be unreliable and
unmaintainable, and has been deprecated for several major versions now.
 It never worked well, as you have found out; the code just hasn't been
actually removed yet.

The officially recommended technique at this time for backing up to DVDs
is to create DVD-sized (or fractionally less than DVD-sized) disk
volumes, say 4.6GB for single-layer or 8.4GB for DL DVD blanks, then
write the volumes separately to DVD via an external process.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users