Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.38 KB

09_velero_ssc.md

File metadata and controls

42 lines (25 loc) · 1.38 KB

Enable Data Protection and Setup Nightly Backup

Install Velero client

Even though Tanzu Mission Control will manage your data protection amd lifecycle velero on the cluster, at times it may be useful to have the velero cli.

Download and install the Velero cli from TKG 1.2.1 at https://www.vmware.com/go/get-tkg.

Setup Your Data Protection Target

Follow the Tanzu Mission Control docs to create a data protection cloud provider account.

Note: Do this step regardless if you are deploying TKG to vSphere or AWS.

Set configuration parameters

The scripts to prepare the YAML to deploy velero depend on a parameters to be set. Ensure the following are set in params.yaml based upon your environment:

tmc.data-protection-backup-location-name: my-tmc-data-protection-account-name

Enable Data Protection on Your Cluster

Orchestrate commands for the tmc cli to enable data protection on the cluster and then setup a daily backup.

./scripts/dataprotection.sh $(yq r $PARAMS_YAML shared-services-cluster.name)

Validation Step

Ensure schedule is created and the first backup is starting

velero schedule get
velero backup get | grep daily

Go to Next Step

Install Harbor