Can incremental snapshots be restored at all? #8554
Replies: 2 comments 7 replies
-
No. VolumeSnapshotContent remains in the cluster. It is intentionally disconnected from VolumeSnapshot so it lives past namespace deletion. On restore velero create a volumesnapshot object referencing the original volumesnapshotcontent and will be able to create a PVC using VolumeSnapshot as source.
Check there are volumesnapshotcontents with your backup name in its labels/annotations. |
Beta Was this translation helpful? Give feedback.
-
Not true. You can create VolumeSnapshot pointing to existing VolumeSnapshotContent. |
Beta Was this translation helpful? Give feedback.
-
I'm a bit confused by the restore process. I was hoping to be able to schedule backups and have snapshots be taken, allowing the CSI snapshots to be restored in the regular way of creating a PVC by referencing the snapshot.
I understand velero now removes snapshots once a backup is done so that it's not accidentally removed if the namespace is deleted, which I understand.
But is there now no way for a snapshot to be restored? Is the only way to restore data to do a full PVC restore?
My concern there is I really have no way of knowing my backups are working because the only way to restore them to test them is to destroy the PVC, to restore over it - unless you have another cluster to restore into, which I don't have.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions