Commands
snapshots restore
Restore a Kubernetes PVC from a CSI snapshot.
Synopsis
This command restores a Kubernetes PVC from a CSI snapshot. To restore a PVC, you need to provide the name of the snapshot, the name of the PVC to restore to, and the namespace of the target PVC. You can also specify a different namespace for the snapshot if needed.
By default, this command restores the PVC to the default storage class installed within the cluster. You can specify a different storage class if needed by using the --restore-storage-class option. Please note that this command requires the volume mode to be set to "Immediate".
Examples
Options
SEE ALSO
- acloud-toolkit snapshots - snapshot for working with Kubernetes CSI snapshot