Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to create clone out of lvm snapshot #13

Open
pawanpraka1 opened this issue Jan 15, 2021 · 9 comments
Open

add support to create clone out of lvm snapshot #13

pawanpraka1 opened this issue Jan 15, 2021 · 9 comments

Comments

@pawanpraka1
Copy link
Contributor

No description provided.

@murkylife
Copy link

murkylife commented Jan 30, 2022

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
Copy link

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
Copy link

npu21 commented Oct 21, 2022

Is there any going on update?

@ksyblast
Copy link

ksyblast commented Jan 4, 2024

Any chance for this to be implemented? I expected lvm-localpv supports backups with velero but seems not vmware-tanzu/velero#7044

@wdalmut
Copy link

wdalmut commented Feb 28, 2024

+1

@dsharma-dc
Copy link
Contributor

Needs scoping in roadmap. Bringing to notice.

@avishnu
Copy link
Member

avishnu commented Sep 12, 2024

As per the discussion, this will be scoped for the next release i.e. OpenEBS v4.3

@sgielen
Copy link

sgielen commented Sep 16, 2024

A lvm-localpv user is running into this issue as well with Backsnap (a backup operator which uses VolumeSnapshots for point-in-time incremental off-site backups). They also found that the lvm-localpv operator can fulfill VolumeSnapshots, but keeps the status.restoreSize set to 0. While this is being implemented for OpenEBS v4.3, could you consider taking into account a correct value for VolumeSnapshot status.restoreSize as well, so that restore PVCs can be created with the correct size to contain a single full restore?

@avishnu
Copy link
Member

avishnu commented Sep 17, 2024

Until this feature is functional, a user has validated manual steps and documented the same here: #175 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants