Hello Eric,

yes, this actually helps a lot. I was aware of the "cloud prune" command and 
was already considering scripting something with that. What
I wasn't aware of is the "allpools" keyword which really makes things easier, 
so thank you for bringing it to my attention!

All the best,

Martin

On 19.06.24 19:01, Eric Bollengier wrote:
Hello Martin,

On 6/19/24 12:57, Martin Reissner wrote:
Hello,

we're running a Bacula 15.0.2 setup which stores everything in S3 storage and 
due to having a lot of data to backup every day
we use

   Truncate Cache = AfterUpload
   Upload = EachPart

in our "Cloud" ressources, to ensure the systems running the SDs do not run out 
of diskspace. This works pretty well but I recently
started to configure Verifyjobs with

   Level = VolumeToCatalog

for some important jobs and it looks like when running the Verifyjob, data gets 
transferred from S3 to the directory specified
as "Archive Device" in the "Device" ressource, sometimes also known as 
"cloudcache" and is then compared to the respective data in the catalog.
So far so good, but it seems that even after a successful verification the 
volume data remains there, probably until the volume is reused and for
large jobs this takes up quite some space which causes diskspace issues on the 
SD.

Am I maybe missing something there and is there some option that can be used to 
prune the cache after a (successful) verifyjob?

Yes, you have a cloud command to prune the cache, I suggest to run it at a
regular interval inside an admin job for example. (cloud prune allpools 
storage=XXX)

Hope it helps!

Best Regards,
Eric


--
Wavecon GmbH
Anschrift: Thomas-Mann-Straße 16-20, 90471 Nürnberg
Website:        www.wavecon.de
Support:        supp...@wavecon.de
Telefon: +49 (0)911-1206581 (werktags von 9 - 17 Uhr)
Hotline 24/7:   0800-WAVECON
Fax:            +49 (0)911-2129233
Registernummer: HBR Nürnberg 41590
GF:             Cemil Degirmenci
UstID:          DE251398082



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to