Operate

Details around CRDs and high-level process flow for Backup and Restore Operations from a users perspective are covered in this section.

Backup and Recovery

A high-level user process chart for Backup and Recovery operations within TrilioVault are provided below.

Definitions

Quick definitions of the CRDs are provided below. For more detailed information and examples, please refer to the CRD section

  • Target - Location where backup data is stored - can be either NFS or S3 compatible storage

  • Policy - Retention policy and Scheduling policy definition for backups

  • Backup Plan - Definition of 'what', 'where', 'to' and 'how 'of the backup

  • Backup - Triggers the backup operation

  • Restore - Triggers the restore operation

Backup Process

  1. Define and create the target object to store backup data TrilioVault will create and validate that the target storage can be reached and written to.

  2. Define and create policies for retention and scheduling of backups TrilioVault will validate the policies defined

  3. Define and create a backup plan that references the following:

    1. Application to backup - label/helm/operator

    2. Scheduling Policy

    3. Retention Policy

    4. Target to where the data should be backed up TrilioVault will validate the Backup Plan and ensure it can be backed up without any issues.

  4. Define and apply the Backup CR that references the Backup TrilioVault will create either a full or incremental backup as defined by the user of the metadata and data of the application.

Restore Process

The restore process is the inverse of the backup process.

  1. Define and apply the Restore CR which references the backup CR object created in the step 4 of the Backup process. For migration scenarios, provide the location (within the target) since the backup object is not visible at the target cluster. TrilioVault will restore the application into the namespace specified and upon a successful restore the application is ready to be used.