Hello,

Joe Stump wrote:

Sorry for the last post ... I guess I'm missing something now. I've changed my volume retention to 5 days (I run tapes Mon-Fri and have a different pool for the weekend when I'm not around) and bacula still refuses to write over the data. Am I missing something? Doesn't "Volume Retention = 5 days" mean "Keep this volume for 5 days, but after that it's stale and overwrite it."?

Right, but the pool default only applies to newly created volumes.

I have also ran "update pool". No luck it refuses to overwrite the old volume despite it being over a week old.

You need to update the volume information. See the update command in the manual, or simply try it on the console.
To see the result, you can use the prune command.

Arno

--Joe

On Aug 24, 2005, at 3:34 AM, Arno Lehmann wrote:

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
http://www.enotes.com


--
IT-Service Lehmann [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
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
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

Joseph C. Stump

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

http://www.joestump.net





--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
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
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to