Bacula-users

[Bacula-users] dvd+rw-mediainfo DVD problem solved

2008-08-28 07:10:18
Subject: [Bacula-users] dvd+rw-mediainfo DVD problem solved
From: "Andrea Perdicchia" <trinkity AT gmail DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Thu, 28 Aug 2008 13:10:11 +0200
My errror was always
28-ago 10:52 vellerofonte-sd JobId 16: Fatal error: dvd.c:263 Error writing part 1 to the DVD: ERR=Error while writing part file:  Cannot get media info from /usr/bin/dvd+rw-mediainfo || errno = 0 (Success)

i resolved thank this post
http://www.mail-archive.com/bacula-users AT lists.sourceforge DOT net/msg14245.html

# vim /etc/bacula/bacula-ctl-sd
in the vim editor for find the string
/SD_USER

change
SD_USER = bacula
SD_GROUP = bacula
in
SD_USER = root
SD_GROUP = root

now it's work fine!!!! :) :) :)
THANKS ALL


dvd+rw-media tools 7.0-7
vellerofonte-dir Version: 2.4.2 (26 July 2008) i686-pc-linux-gnu debian lenny/sid

this is my sd.conf
 Device {
  Name = "DVD-Writer"
  Media Type = DVD
  Device Type = DVD
  Archive Device = /dev/scd0 #sdc
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = no; #yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
  MaximumPartSize = 800M;
  RequiresMount = yes;
  MountPoint = /mnt;
  MountCommand = "/usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/usr/bin/sudo /bin/umount %m";
  SpoolDirectory = /tmp;
  WritePartCommand = "python /etc/bacula/dvd-handler %a write %e %v"
  FreeSpaceCommand = "python /etc/bacula/dvd-handler %a free"
}

and this my director.conf
Director {                            # define myself
  Name = vellerofonte-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = "pwd"         # Console password
  Messages = Daemon
}
Job {
  Name = "DVD"
  Client = vellerofonte-fd
  Write Bootstrap = "/var/lib/bacula/Client2.bsr"
  Storage=DVD-Writer
  Pool=DVD
  Level=Full
  FileSet = "Full Set"
  Messages = Standard
  Type=Backup
}

Storage {
  Name = "DVD-Writer"
#  Do not use "localhost" here
  Address = 192.168.1.66                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "pwd"
  Device = "DVD-Writer"
  MediaType = "DVD"
}

# Pool definition for monthly backups on DVDspool, to be copied to DVD+/-R media in an AfterRunJob
Pool {
  Name = DVD
  Pool Type = Backup
  Recycle = no
  Autoprune = no
  Volume Retention = 2 years
  #Accept Any Volume = yes
  #Maximum Volume Bytes = 2147483500 # 2 GB is the maximum size of a file on an ISO9660 file system
  Maximum Volume Jobs = 2 # each backup job gets its own set of volumes
  Maximum Volume Bytes = 4699990000 # 4 700 000 000 # 4.38 GB is the actual size that will fit on a DVD
  Volume Use Duration = 1d
  Label Format = "DVD${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${NumVols}"
}

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>