Hi,

I'm having issues on the volume configuration. We're currently sending all
files in the bacula-storage directory to s3 with objectLock using aws cli
with a bash script on the Run AfteR Job directive on the server's self job
copy. So when every job is finished, it uploads everything on the
directory. Then we do a clean-up running a find +mtime 30 days with exec
rm.

Back in January here in the list we got this :

Maybe if you have object lock configured in the bucket, you may set the
> VolumeRetention = 999 years, Recycle = No and AutoPrune = No. This should
> avoid volumes to get recycled.


This helped us to not repeat jobIDs on the upload to s3. That's fine. But
then we reach the maximum volumes number (we set the value to 31), so we
ran out of available volumes.

We have several clients using the same pool configuration:

Pool {
    Name = "client01-Pool"
    Use Volume Once = yes
    Pool Type = Backup
    LabelFormat = "client01-"
    AutoPrune = no
    Recycle = no
    VolumeRetention = 999 years
    Maximum Volumes = 31
    Maximum Volume Jobs = 1
    UseVolumeOnce = yes
    Recycle Oldest Volume = yes
    Storage = File1
}

We see correctly the last 31 directories of each client on the
bacula-storage directory and on s3.

We're waiting until the Bacula's native s3 cloud driver is ready to work
with the Object Lock feature. It seems it was compatible on the 13.0.1 but
it's not ready yet.
Until them, that's the only way I find to upload to s3 with object lock. I
guess we need to just run a query on the Mysql's DB of the bacula catalog.
Anyone had to deal with this? What should we do in this case?

Thanks in advance to everyone.

Cheers,

-- 
Ivan Villalba
SysOps

<https://www.marfeel.com/>

<https://www.marfeel.com/>
[image: Inline images 4]
<https://atenea.marfeel.com/atn/marfeel-business/what-it-means-to-be-a-google-certified-publishing-partner>
 [image: Inline images 3]
<https://atenea.marfeel.com/atn/marfeel-business/what-it-means-to-be-a-facebook-instant-articles-partner>


Avda. Josep Tarradellas 20-30, 4th Floor

08029 Barcelona, Spain

ES: (34) 93 178 59 50
<%2834%29%2093%20178%2059%2050%20%C2%A0ext.%20107>
US: (1) 917-341-2540 <%281%29%20917-341-2540%20ext.%20107>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to