Hi,
Joe Stump wrote:
Bacula gives me this error:
23-Aug 14:06 camus-sd: Job camus-weekly-tape-job.2005-08-23_14.05.34 waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: tape-storage
Media type: DDS-4
Pool: camus-weekly-tape-pool
This is no exactly an error.
It simply means that bacula needs more volume space.
Despite me doing a mt -f /dev/st0 weof in my RunBefore script as well as having the following in my Pool:
Erm. No.
Sorry.
I think you misunderstood part of bacula.
First, bacula doesn't know that the tape is cleared with your model. You'd need at least to tell it that a new volume is in the changer.
Second, bacula is not intended to blindly overwrite tapes. It manages the volume use itself.
Pool {
Name = "camus-weekly-tape-pool"
Pool Type = Backup
Recycle = yes
AutoPrune = yes Volume Retention = 80 days
Accept Any Volume = yes
Maximum Volume Jobs = 1
Maximum Volume Bytes = 0
Label Format = "camus-weekly-tape-"
Maximum Volumes = 5
}
If you really want to overwrite the tape in the drive - which is something I consider wrong - you should set a very short retention time and let bacula itself decide hat the volume can be overwritten.
Now, I can't help you with automatic labeling etc., but there were some discussions on the list about how to implement a backup scheme like you want it.
I wouldn't try that.
Arno
I also have LabelMedia = yes
# Tape drive
Device {
Name = tape-storage
Media Type = DDS-4
Archive Device = /dev/st0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Close on Poll = yes;
LabelMedia = yes
}
What the heck am I missing?
--Joe
--
Joe Stump, CTO
Enotes.com, LLC
--
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
_______________________________________________
Bacula-users mailing list