Automatic overwrite Tape (LT08)

75 views
Skip to first unread message

Mi Zi

unread,
Sep 19, 2022, 7:26:08 AM9/19/22
to bareos-users
Hello forum!

i am still struggeling to get my following request fixed:

What is my current Situation:
Simple Fullbackup Job fo ONE  Windows Server every Week writing to a Tape Drive = LT08.
this works fine but i have to cleanup my defined volumes after they get full.
capacaty of one backup = 3,8 TB
amount of tapes = 6 (= Pool) (Volume01 ... Volume06)
so i am able to put maximum of 3 backups on each Tape.
i allways put the Tapes into the tapedriv in the same sequence (first volume01 ... then volume02 ... and so on)
after 18 weeks i have to manually delete the volumes due tue the "AutoPrune" does not work and relable it.

What i wanna have:
bareos should overwrite the oldest tape.

here is my pool config :
Pool {
  Name = Full-LTO8
  Pool Type = Backup
  Recycle = yes                       # Bareos can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 42 days         # How long should the Full Backups be kept? (#06)
  Maximum Volume Bytes = 0          # Limit Volume size to something reasonable
  Maximum Volumes = 6               # Limit number of Volumes in Pool
  Label Format = "Full-LTO8"          # Volumes will be labeled "Full-<volume-id>"
}

what am i doing wrong?
thanks for any hint in advance

greetings michael

Mi Zi

unread,
Oct 10, 2022, 6:31:10 AM10/10/22
to bareos-users
no Ideas? :-(

Mi Zi

unread,
Oct 31, 2022, 3:22:03 AM10/31/22
to bareos-users
i want to add that i added the parameter in the client configuration (autoprune = "yes") but i as well see in the webinterface that Autoprune is disabeld for the corresponding job!

2022-10-31 08_20_08-Remote Desktop Manager Free [SRVDRB01_bareos-webui].png
still no ideas??

Laurent Moizo

unread,
Dec 5, 2022, 6:42:43 AM12/5/22
to bareos-users
Add this two lines:

  Purge Oldest Volume = yes

  Recycle Oldest Volume = yes


With that, it's OK for me


Message has been deleted

Mi Zi

unread,
Dec 5, 2022, 9:23:40 AM12/5/22
to bareos-users
 Recycle Oldest Volume = yes --> allready set in my config

Purge Oldest Volume = yes  --> this parameter was missing ...
added now
thx ... i will let you know if this works now for me
Reply all
Reply to author
Forward
0 new messages