Sorry I forgot to send the error messages:
16-Feb 16:02 dracula-sd: Please mount Volume
"VOlUME-Dracula-Tape-2007.02.14" on Storage Device "DLT8000-Dracula"
(/dev/nst0) for Job Torvalds.2007-02-16_15.49.17
16-Feb 15:49 helsing-dir: Start Backup JobId 2845,
Job=Torvalds.2007-02-16_15.49.17
16-Feb 16:02 dracula-sd: Invalid slot=0 defined, cannot autoload Volume.
16-Feb 16:02 dracula-sd: 3301 Issuing autochanger "loaded drive 0" command.
16-Feb 16:02 dracula-sd: 3302 Autochanger "loaded drive 0", result:
nothing loaded.
16-Feb 16:02 dracula-sd: 3301 Issuing autochanger "loaded drive 0" command.
16-Feb 16:02 dracula-sd: 3302 Autochanger "loaded drive 0", result:
nothing loaded.
16-Feb 16:02 dracula-sd: Invalid slot=0 defined, cannot autoload Volume.
16-Feb 16:02 dracula-sd: Please mount Volume
"VOlUME-Dracula-Tape-2007.02.14" on Storage Device "DLT8000-Dracula"
(/dev/nst0) for Job Torvalds.2007-02-16_15.49.17
16-Feb 15:50 helsing-dir: Bacula 1.38.11 (28Jun06): 16-Feb-2007 15:50:25
JobId: 2845
Job: Torvalds.2007-02-16_15.49.17
Backup Level: Full
Client: "torvalds-fd"
i486-pc-linux-gnu,debian,testing/unstable
FileSet: "Torvalds Set" 2007-02-06 11:52:19
Pool: "Dracula-Full-Tape-Pool"
Storage: "Autochanger-Dracula"
Scheduled time: 16-Feb-2007 15:48:55
Start time: 16-Feb-2007 15:49:20
End time: 16-Feb-2007 15:50:25
Elapsed time: 1 min 5 secs
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1171637555
Last Volume Bytes: 0 (0 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: Canceled
SD termination status: Canceled
Termination: Backup Canceled
On 2/20/07, Geir Asle Borgen <[EMAIL PROTECTED]> wrote:
I run bacula-1.38.11 on some Debian Sarge boxes, on one of them I have a
Sun L9 DLT8000 autochanger. Backing up to tape works and I can run
mtx-cahnger script manually, but when I try to run backup to the autochanger
in sted of to the tape the mtx-changer script will not load tape. I suspect
that it tries to load slot 0 in stead of 1. Any one that can help me on
this? My bacula-sd is like this:
Storage { # definition of myself
Name = dracula-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
}
Director {
Name = helsing-dir
Password = "some_password"
}
Device {
Name = FileStorage-Dracula
Media Type = File
Archive Device = /disks/DRACULA2/FileStorage-Dracula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Autochanger {
Name = Autochanger-Dracula
Device = DLT8000-Dracula
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = DLT8000-Dracula
Drive Index = 0
Media Type = DLT8000-L9
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Label media = yes
}
Messages {
Name = Standard
director = helsing-dir = all
}
Parts of my bacula-dir is like this:
Director { # define myself
Name = helsing-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Password = "some_password" # Console password
Messages = Daemon
}
# Dracula-Autochanger
Storage {
Name = Autochanger-Dracula
Maximum Concurrent Jobs = 1
# Do not use "localhost" here
Address = dracula.hrp.no # N.B. Use a fully qualified name
here
SDPort = 9103
Password = "some_password"
Device = Autochanger-Dracula
Media Type = DLT8000-L9
Autochanger = yes
}
# Dracula-Tape
Storage {
Name = Full-Tape-Dracula
Maximum Concurrent Jobs = 1
# Do not use "localhost" here
Address = dracula.hrp.no # N.B. Use a fully qualified name
here
SDPort = 9103
Password = "some_password"
Device = DLT8000-Dracula
Media Type = DLT8000-L9
Autochanger = yes
}
Pool {
Name = Dracula-Full-Tape-Pool
Recycle Oldest Volume = yes
Label Format =
"VOlUME-Dracula-Tape-${Year}.${Month:p/2/0/r}.${Day:p/2/0/r}.${
Hour:p/2/0/r}"
Pool Type = Backup
Volume Use Duration = 1h
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 350 days # almost year
Accept Any Volume = yes # write on any volume in the pool
}
Job {
Name = "Torvalds"
JobDefs = "DefaultJob"
Client = torvalds-fd
Schedule = "NoRun"
FileSet = "Torvalds Set"
Storage = Autochanger-Dracula
Pool = Dracula-Full-Tape-Pool
Write Bootstrap = "/var/lib/bacula/Torvalds.bsr"
}
FileSet {
Name = "Torvalds Set"
Include {
Options {
compression=GZIP
signature = MD5
keepatime=yes
}
File = /disks/TORVALDS2
}
}
Client {
Name = torvalds-fd
Address = torvalds.hrp.no
FDPort = 9102
Catalog = MyCatalog
Password = "some_password" # password for FileDaemon
File Retention = 350 days # almost a year
Job Retention = 350 days # almost a year
AutoPrune = yes # Prune expired Jobs/Files
}
--
Phone: +47 69809853 +47 99521685 (o_ <><
//\
ICQ: 48948625 MSM: [EMAIL PROTECTED] V_/_ i n u x
Registered Linux User # 171776 (http://counter.li.org )
--
Phone: +47 69809853 +47 99521685 (o_ <><
//\
ICQ: 48948625 MSM: [EMAIL PROTECTED] V_/_ i n u x
Registered Linux User # 171776 (http://counter.li.org)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users