piraeusdatastore / linstor-csi

CSI plugin for LINSTOR
Apache License 2.0
109 stars 27 forks source link

implement L2L backup shipping #259

Closed WanzenBug closed 7 months ago

WanzenBug commented 7 months ago

Fill in the missing implementation for backup shipping to another LINSTOR cluster. Because we can't "wish" for a specific snapshot name, we store a mapping of requested snapshot name to actually taken snapshot name in a special LINSTOR KV.

Other than that, it is simply a matter of wiring up the necessary plumbing.

This currently cannot restore a backup once it is shipped and the local snapshot deleted, and it is unlikely that such a thing could be implemented, as LINSTOR does not support downloading a snapshot once shipped.