openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
245 stars 92 forks source link

add support to create clone out of lvm snapshot #13

Open pawanpraka1 opened 3 years ago

murkylife commented 2 years ago

I noticed that this project supports VolumeSnapshot. I would also like to be able to restore from the snapshots taken, i.e. creating a PVC from a snapshot.

example:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-restore
spec:
  dataSource:
    name: my-snapshot
    kind: VolumeSnapshot
    apiGroup: snapshot.storage.k8s.io
  storageClassName: lvm
  accessModes:
    - ReadWriteOnce

My goal is to be able to use a backup tool like Kasten K10 to backup my PVCs to s3. For this it needs snapshot and restore functionality.

vlads123 commented 2 years ago

I have very similar use case like described above.

Being able to make a snapshot is very useful but you also need to be able to use it)))

Thanks in advance

And will be very useful if you can give ETA

npu21 commented 1 year ago

Is there any going on update?

ksyblast commented 8 months ago

Any chance for this to be implemented? I expected lvm-localpv supports backups with velero but seems not https://github.com/vmware-tanzu/velero/issues/7044

wdalmut commented 6 months ago

+1

dsharma-dc commented 3 months ago

Needs scoping in roadmap. Bringing to notice.