Hi,
On 9/25/24 16:57, Adam Prycki wrote:
Hi,
I'm currently working on a project which requires us to backup 2
separate s3 zones/realms and retain it for few months. Requirements
were written by someone who doesn't know ceph rgw capabilities.
We have to do incremental and full backups. Each type of backup has
separate retention period.
Is there a way to accomplish this with in a sensible way?
My fist idea would be to create multisite replication to archive-zone.
But I cannot really enforce data retention on archive zone. It would
require us to overwrite lifecycle policies created by our users.
As far as I know it's not possible to create zone level lifecycle
policy. Users get their accounts are provisioned via openstack swift.
Second idea would be to create custom backup script and copy all the
buckets in the cluster to different s3 zone. Destination buckets could
be all versioned to have desired retention. But this option feels very
hackish and messy. Backing up 2 separate s3 zones to one could cause
collision in bucket names. Prefixing bucket names with additional
information is not safe because buckets have fixed name length.
Prefixing object key name is also not ideal.
Some backup solutions (e.g. Bareos, https://www.bareos.com) support
backing up the content of S3 buckets. Testing this is still on our TODO
list. I'm not sure how well S3 specific stuff like metadata, ACLs,
versions etc. are handled (probably not at all), but it might be a good
starting point.
Best regards,
Burkhard Linke
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx