Hello,

 

            I’m getting some behavior I didn’t expect while trying to set up a rotation schedule for one of the sites I manage.  They have a single server with a single VS160 tape drive.  I have it run a full backup early Thursday and incrementals fri-wed; and have 2 tapes per pool, which I plan to rotate.  Config is below.

 

            Trouble is, from the ‘list volumes’ command, it looks like Bacula will want to append to the DailyA1 tape, instead of rewinding the tape and overwriting it from scratch.  And I actually had that happen at our main site, too; it kept appending until the backup failed in the middle, asking for a new tape.  How do I get it to really recycle the tape?

 

 

Thanks!

 

--Jeremy Koppel

 

 

 

Shortened output from ‘list volumes’:

+---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

| mediaid | volumename | volstatus | volbytes       | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten  |

+---------+------------+-----------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

|       1 | DailyA1    | Append    | 33,101,955,019 |       46 |      777,600 |          1 |    0 |              1 | VS160     | 2006-03-01 01:00:32 |

 

 

Config:

 

# ************************* Schedules *************************

Schedule {

  Name = "BiweeklyCycle"

  Run = Level=Full Pool=Weekly thu at 1:00

  Run = Level=Incremental Pool=Daily fri-wed at 1:00

}

 

 

# *************************** Pools ***************************

Pool {

  Name = Daily

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9

  Accept Any Volume = yes

}

 

Pool {

  Name = Weekly

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9 days .

  Accept Any Volume = yes

}

Reply via email to