***************************************************************************
SUBJECT : autoprune before running backup job

BODY :
Hi,
first of all, all french, so my english is like it is, sorry.

I've installed bacula, which is running fine ;-)... but I'have a parameter problem. I want to make a daily full backup one daily tape (the monday backup on the monday tape, the tuesday backup on the tuesday tape, etc...) BUT I want if I forgot to change the tape, it takes the tape which is in the computer : the day Before tape !

So, I configure the storage like this :

Pool {
        Name="toto"
        Use Volume >
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume retention = 12h
        Accept Any Volume = yes
}

But bacula try the autoprune AFTER the backup, so the tapes are never automatically recycle. If, when I put a new tape I  send a prune command, bacula work fine, but if I don't send this command the backup job fails saying there is no avalaible tape.

thank you for your help.

Bruno DARMET
************************************************************************

Reply via email to