Restore a Kubernetes snapshot on OpenShift | Trilio for Kubernetes
Roll an application back on OpenShift after a mistake: restore it in place from a snapshot with the Trilio for Kubernetes management console, then check the data in the application.
You will:
- See the data loss: a folder deleted by mistake in a running application
- Open the backup plan's snapshots and pick the newest one
- Start a restore from the snapshot and keep the same namespace
- Turn on cleanupConfig (In-Place Restore) and read the cleanup warning
- Create the restore and follow it to Completed
- Know when a snapshot is enough and when you need a backup on the target
- Open the application and check that the folder is back
Chapters
0:00 The mistake
0:21 Find the snapshot
0:46 Set up an in-place restore
1:19 Create and confirm
1:29 Restore completed
1:46 Check the application
Previous: Restore a Kubernetes backup on OpenShift https://youtu.be/Tnwvb1XHt6g
With cleanupConfig on, Trilio for Kubernetes first removes the resources the snapshot holds in the namespace, volumes included, then restores them: the application is down while the restore runs. A snapshot keeps the volume data on the same cluster; if the cluster or its storage is lost, restore from a backup on the target.
Trilio for Kubernetes documentation for OpenShift: https://docs.trilio.io/kubernetes/getting-started/red-hat-openshift
Compatibility matrix: https://docs.trilio.io/kubernetes/overview/compatibility-matrix
Recorded on Red Hat OpenShift 4.21 with Trilio for Kubernetes 5.4.1.
#OpenShift #Kubernetes #Backup