Hello,

Much work has been done concerning DVD-writing in the past few days, so
your bug has probably been fixed in the CVS.

If you wish to use the CVS version of Bacula, please read the other mail
I just sent to the list (Re: [Bacula-users] Still can not label DVD+RW
media.), because it contains important informations.

Best regards,

Nicolas

On Sat, 2005-10-15 at 15:22 -0600, Charles Curley wrote:
> I am new to bacula, so may be doing something wrong. I would like to
> back up to DVD.
> 
> I did a test installation, and walked through the tutorial using the
> file backup volume. Fine.
> 
> I then modified the setup as follows:
> 
> In bacula-dir.conf, I changed the storage device like so:
> 
> 
>     # Definition of file storage device
>     Storage {
>       Name = File
>     # Do not use "localhost" here
>       Address = charlesc                # N.B. Use a fully qualified name here
>       SDPort = 9103
>       Password = "Lg/cqSfbUqp8F3or5KOWmD0L5Bfyg8IIOEvECtFg8u+l"
>       Device = DVD-Writer
>       Media Type = DVD
>     }
> 
> I also added enough data to the file set to force it to overflow the
> temporary file, and force writing.
> 
> 
>     File = /home/ccurley/down/bacula/bacula-1.37.40
>     File = /home/ccurley/Photos
>   }
> 
> OK, I have lots of photos. :-)
> 
> I enabled a DVD device in bacula-sd.conf, and modified it like so:
> 
> 
>     #
>     # A DVD device
>     #
>     Device {
>      Name = "DVD-Writer"
>      Media Type = DVD
>      Archive Device = /dev/scd1
>      LabelMedia = yes;                   # lets Bacula label unlabeled media
>      Random Access = Yes;
>      AutomaticMount = yes;               # when device opened, read it
>      RemovableMedia = yes;
>      AlwaysOpen = no;
>      MaximumPartSize = 800M;
>      RequiresMount = yes;
>      MountPoint = /media/cdrecorder/;
>      MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
>      UnmountCommand = "/bin/umount %m";
>      SpoolDirectory = /tmp/backup;
>      WritePartCommand = "/home/ccurley/bacula/bin/bacula/dvd-writepart %e %a 
> %v"
>      FreeSpaceCommand = "/home/ccurley/bacula/bin/bacula/dvd-freespace %a %e"
>     }
> 
> 
> I then tried to run the job, and got the following results:
> 
> --------------------------------------------------
> Connecting to Director charlesc:9101
> 1000 OK: charlesc-dir Version: 1.37.40 (01 October 2005)
> run
> Using default Catalog name=MyCatalog DB=bacula
> A job name must be specified.
> The defined Job resources are:
>      1: Client1
>      2: BackupCatalog
>      3: RestoreFiles
> Select Job resource (1-3): 1
> Run Backup job
> JobName:  Client1
> FileSet:  Full Set
> Level:    Incremental
> Client:   charlesc-fd
> Storage:  File
> Pool:     Default
> When:     2005-10-15 14:45:24
> Priority: 10
> OK to run? (yes/mod/no): yes
> Job started. JobId=16
> 15-Oct 14:45 charlesc-dir: No prior Full backup Job record found.
> 15-Oct 14:45 charlesc-dir: No prior or suitable Full backup found. Doing FULL 
> backup.
> 15-Oct 14:45 charlesc-dir: Start Backup JobId 16, 
> Job=Client1.2005-10-15_14.45.27
> 15-Oct 14:45 charlesc-sd: Job Client1.2005-10-15_14.45.27 waiting. Cannot 
> find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "DVD-Writer" (/dev/scd1)
>     Media type:   DVD
>     Pool:         Default
> DVDTest01
> DVDTest01: is an illegal command.
> label
> Automatically selected Storage: File
> Enter new Volume name: DVDTest01
> Automatically selected Pool: Default
> Connecting to Storage daemon File at charlesc:9103 ...
> Sending label command for Volume "DVDTest01" Slot 0 ...
> 3910 Unable to open device "DVD-Writer" (/dev/scd1): ERR=There is no valid 
> media in the device "DVD-Writer" (/dev/scd1).
> 
> Label command failed for Volume DVDTest01.
> Do not forget to mount the drive!!!
> --------------------------------------------------
> 
> Well, of course there's no valid medium in the device. Per the note
> in http://www.bacula.org/dev-manual/DVD_Volumes.html, "Bacula only
> accepts to write to blank DVDs.", I had a freshly erased DVD in the
> drive.
> 
> --
> 
> Charles Curley                  /"\    ASCII Ribbon Campaign
> Looking for fine software       \ /    Respect for open standards
> and/or writing?                  X     No HTML/RTF in email
> http://www.charlescurley.com    / \    No M$ Word docs in email
> 
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB



-------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to