Bacula-users

[Bacula-users] Newbie bscan question

2009-05-25 09:15:26
Subject: [Bacula-users] Newbie bscan question
From: Il Neofita <asteriskmail AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 25 May 2009 09:11:28 -0400
Hi
I testing bacula, and I have an autoloader,
the system is able to backup and change the tape.
I destroyed my mysql, and I used
bscan -s -m -c /local/bacula/bin/bacula-sd.conf -u USER -P PASSWORD -S -v -V TAPE-002\|TAPE-001 /dev/nst0
But the system is not able to change the tape
the I tried
bscan -s -m -c /local/bacula/bin/bacula-sd.conf -u USER -P PASSWORD -S -v -V TAPE-002\|TAPE-001 /dev/sg4

where sg4 is the autoloader
and I received
scan: butil.c:278 Could not find device "/dev/sg4" in config file /local/bacula/bin/bacula-sd.conf
since in the sd file I have

Autochanger {
  Name = LTOAuto
  Device = LTODriver
  Changer Command = "/local/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg4
}

Device {
  Name = LTODriver
  Media Type = LTO-4
  Archive Device = /dev/nst0
  Drive Index=0
  AutoChanger = yes
  AutomaticMount = yes;               # when device opened, read it
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = no;
  RemovableMedia = yes;
  AlwaysOpen = no;
  Spool Directory = /var/bacula/spool
  Maximum Spool Size = 10G
}


What I am doing wrong?
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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>