Lirt / velero-plugin-for-openstack

Openstack Cinder, Manila and Swift plugin for Velero backups
MIT License
27 stars 16 forks source link

Question about object lifecycle #55

Closed AlwaySummit closed 1 year ago

AlwaySummit commented 1 year ago

Hi @Lirt,

I'd like to ask a question about object lifecycle of swift. Since swift supports Expiring Object(https://docs.openstack.org/swift/latest/overview_expiring_objects.html), is there any ways to set a time limitation of backup object?

Lirt commented 1 year ago

Hi @AlwaySummit,

Velero supports configuration of backup TTL in their CRDs. So for this purpose you can use either backup.spec.ttl (for manually created backup) or schedule.spec.template.ttl (for scheduled backups).

I think this functionality is enough for all use cases. If not, please let me know.

AlwaySummit commented 1 year ago

Thanks @Lirt. That would be helpful.