Dear list,
Im having trouble configuring bacula to backup on DVDs I know its not
the best solution and I will buy a tape drive but I wanted to play around
with bacula in the mean time.
I try using bconsole to run a new job but I never get around to writing
something to DVD
After trying the file storage I get
Running Jobs:
Writing: Full Backup job Octo.2010-03-31_19 JobId=2 Volume="BaculaDVD
pool="DVDPool" device="DVD Writer" (/dev/scd0)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
====
Device status:
Device "FileStorage" (/export/bacula-file) is not open.
Device "DVD Writer" (/dev/scd0) is mounted with:
Volume:
Pool: DVDPool
Media type: DVD
Device is BLOCKED waiting for mount of volume "BaculaDVD0002",
Pool: DVDPool
Media type: DVD
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=203
====
How can I clean up and start all over?
How come it keeps waiting to mount the DVD? I cannot mount a blank dvd
Anyone got an idea as to what I could try?
Regards,
Mads
Here is my bacula-sd.conf
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 2.4.4 (28 December 2008) -- debian 5.0
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
0023
Storage { # definition of myself
Name = myserver-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = octo
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = myserver-dir
Password = "
"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = myserver-mon
Password = "
"
Monitor = yes
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = FileStorage
Media Type = File
Archive Device = /export/bacula-file
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
#
# A DVD device
#
Device {
Name = "DVD Writer"
Media Type = DVD
Device 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/cdrom0;
MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
UnmountCommand = "/bin/umount %m";
SpoolDirectory = "/export/backup-dvd-spool";
WritePartCommand = "/etc/bacula/scripts/dvd-handler %a write %e %v"
FreeSpaceCommand = "/etc/bacula/scripts/dvd-handler %a free"
}
#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
Name = Standard
director = GWTOCTOBrazil-dir = all
}
Mads Rasmussen
TI
Octo Telematics
m...@octotelematics.com
Rua Leopoldo Couto de Magalhães Júnior, 110 | 8 andar
Itaim Bibi | São Paulo | SP | 04.542-000
+55 11 3074 0313 | 7533 6292
AVISO LEGAL
Esta mensagem, incluindo seus anexos, é destinada exclusivamente ao seu
destinatário, podendo conter informação confidencial, privilegiada e/ou
legalmente protegida. Se você não for o destinatário desta mensagem, fica
ciente sobre a proibição de divulgar, copiar, distribuir, examinar ou, de
qualquer forma, utilizar a informação contida nesta mensagem. Caso tenha
recebido esta mensagem por engano, solicitamos sua devolução imediata ao
remetente e a respectiva destruição do seu conteúdo em sua base de dados,
registros ou sistema de controle.
LEGAL ADVICE
This message, including its attachments, is exclusively destined to the
designated addressee(s), and it can contain private, privileged and/or
legally protected information. If you are not the addressee of this message,
do not release, copy, distribute, check or, otherwise, use the information
contained in this message. If you received this message by mistake, please
immediately forward the message back to the sender and eliminate its
contents of your database, registrations or controls system.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users