Enable K10 DR using CLI

This article provides step by step instructions on how to enable K10 Disaster Recovery using CLI

K10 Disaster Recovery

K10 Disaster Recovery (DR) aims to protect K10 from the underlying infrastructure failures. In particular, this feature provides the ability to recover the K10 platform in case of a variety of disasters such as the accidental deletion of K10, failure of underlying storage that K10 uses for its catalog, or even the accidental destruction of the Kubernetes cluster on which K10 is deployed. K10 enables DR with the help of an internal policy to backup its own data stores and store these in an object storage bucket or an NFS file storage location configured using a Location Profile

Source - https://docs.kasten.io/latest/operating/dr.html

Procedure :-

1. Create DR Secret with passphrase.


kubectl create secret generic k10-dr-secret  --namespace kasten-io  --from-literal key=<passphrase>

Note:- Save this passphrase. This is required for recovering the cluster in case of Disaster

 

2. Create a Disaster Recovery Policy.

  • Provide Location Profile where you want to save your DR Configuration @profile: <NAME OF LOCATION PROFILE>

  • Frequency and Retention can be changed according to the need for @hourly @daily etc.

 

3. Verify the status of created policy. Make sure the status is “Success”.

kubectl get policies NAME STATUS

k10-disaster-recovery-policy Success
 

Note:- Policy status will show ‘Failed’ in case of any typos in location profile or if the profile is unavailable.