Hi,
I have a running job that waits for a tape. The last tape was auto-ejected due
to an
exceeded Volume Use Duration. I inserted another used tape and the backup job
didn't
continue/start and I get the following message, when I issue a "status storage":
Device status:
Device "FileStorage" (V:\BaculaTmp) is not open.
Device "Quantum" (Tape0) open but no Bacula volume is currently mounted.
Device is being initialized.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
====
In Use Volume status:
FirstTape on device "Quantum" (Tape0)
====
After a few minutes the tape is ejected and I get this message:
Device status:
Device "FileStorage" (V:\BaculaTmp) is not open.
Device "Quantum" (Tape0) open but no Bacula volume is currently mounted.
Device is BLOCKED waiting for mount of volume "FirstTape".
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
====
In Use Volume status:
FirstTape on device "Quantum" (Tape0)
====
What is wrong here and how can I convince Bacula to use that tape? The tape
that I
inserted is the first tape of five and it's now the first time it is re-used
(overwritten). The VolStatus of this tape is "Append".
Thanks
Andreas
Below is the device and director config
Device {
Name = Quantum
Changer Device = tape0
Media Type = DLT-V4
Device Type = Tape
Archive Device = Tape0
AutomaticMount = yes
AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no
AutoChanger = no
Alert Command = "tapeinfo -f %c | findstr TapeAlert"
Spool Directory = "V:\\BaculaSpool"
Maximum Spool Size = 2 GB
Changer Command = "mtx-changer %o %a %S"
Maximum Changer Wait = 4d
Offline On Unmount = yes
Label media = yes
Volume Poll Interval = 5 minutes
Close on Poll = Yes
}
Director:
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 month # one year
Volume Use Duration = 7 days # one week
Recycle Oldest Volume = yes
Label Format = "Tape-"
}
Client {
Name = srv-fd
Address = srv.domain.local
FDPort = 9102
Catalog = MyCatalog
Password = "@client_password@" # password for FileDaemon
File Retention = 1 month # 30 days
Job Retention = 1 month # two months
AutoPrune = yes # Prune expired Jobs/Files
}
JobDefs {
Name = "TapeJob"
Type = Backup
Level = Incremental
Client = srv-fd
FileSet = "Windows Full Set"
Schedule = "WeeklyCycle"
Storage = DLT-V4
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Srv"
JobDefs = "TapeJob"
SpoolData = no
Write Bootstrap = "C:\\Dokumente und Einstellungen\\All
Users\\Anwendungsdaten\\Bacula\\Work\\Srv.bsr"
}
Schedule {
Name = "WeeklyCycle"
Run = Full sun at 23:05
Run = Incremental mon-sat at 23:05
}
Storage {
Name = DLT-V4
Address = srv.domain.local # N.B. Use a fully qualified name
here
SDPort = 9103
Password = "abc"
Device = Quantum
Media Type = DLT-V4
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users