Hello,

I am using Bacula 1.37.38, which is working very well for file based
backups.  I have started trying to set up a DVD writer device for
backups as well, but do not seem to be able to figure out how to get it
to work.  I have a test job set up called noodle-dvd.  When I try to run
the noodle-dvd job, I get a messages like this:

 Run Backup job
 JobName:  noodle-dvd
 FileSet:  Basic Set
 Level:    Incremental
 Client:   noodle-fd
 Storage:  DVD
 Pool:     NoodlePool
 When:     2005-10-03 17:52:19
 Priority: 11
 OK to run? (yes/mod/no): yes
 Job started. JobId=510
 03-Oct 17:52 noodle-dir: No prior Full backup Job record found.
 03-Oct 17:52 noodle-dir: No prior or suitable Full backup found. Doing
FULL backup.
 03-Oct 17:52 noodle-dir: Start Backup JobId 510,
Job=noodle-dvd.2005-10-03_17.52.21 
 03-Oct 17:52 noodle-dir: Created new Volume "Noodle-0003" in catalog.
 03-Oct 17:52 noodle-sd: Please mount Volume "Noodle-0003" on Storage
Device "DVD-Writer" (/dev/scd0) for Job noodle-dvd.2005-10-03_17.52.21

I have the device defined like so in bacula-sd.conf:

Device {
  Name = "DVD-Writer"
  Media Type = DVD
  Archive Device = /dev/scd0
  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 = /opt/backup/dvd;
  WritePartCommand = "/etc/bacula/dvd-writepart %e %a %v"
  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %e"
}

And the DVD device is defined in bacula-dir.conf like so:

# Definition of DVD storage device
Storage {
  Name = "DVD"
  #Do not use "localhost" here
  Address = noodle                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "pBI91oP76GMxFJcM4Q31KjNJU8hNdMZc71tX5mnq4NrU"
  Device = "DVD-Writer"
  MediaType = "DVD"
}

In addition, the job we run looks like:

JobDefs {
  Name = "NoodleJobDVD"
  Type = Backup
  #Level = Incremental
  Client = noodle-fd
  FileSet = "Basic Set"
  Schedule = "WeeklyCycle"
  Storage = DVD
  Messages = Standard
  Pool = NoodlePool
  Priority = 11
}
Job {
  Name = "noodle-dvd"
  JobDefs = "NoodleJobDVD"
  Write Bootstrap = "/var/bacula/noodle.bsr"
  Write Part After Job = yes
}

And the pool looks like:

Pool {
  Name = NoodlePool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 185 days         # 185 days
  Accept Any Volume = yes             # write on any volume in the pool
  Label Format = Noodle-
}

Is there anything that I am missing here?  I am unclear on what the
"Please mount Volume "Noodle-0003" on Storage Device
"DVD-Writer" (/dev/scd0) for Job noodle-dvd.2005-10-03_17.52.21" is
asking me to do. 

If anyone has any working examples of DVD backups with job information,
etc or any ideas what I am doing wrong here, I would really appreciate
it.

Cheers,
Leah
-- 
Leah Cunningham : d416-585-9971x692 : d416-703-5977 : m416-559-6511
Frauerpower! Co. : www.frauerpower.com : Toronto, ON Canada



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