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.


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. A Cleanup Policy that defines when failed backups should be cleaned from the system.
  • Backup Plan - Definition of 'what', 'where', 'to' and 'how 'of the backup
    • ClusterBackupPlan - BackupPlan to capture multiple namespaces
  • Backup - Triggers the backup operation
    • ClusterBackup - Backup pointing to ClusterBackupPlan to capture multiple namespaces
  • Restore - Triggers the restore operation
    • ClusterRestore - Restore pointing to a clusterBackup to restore multiple namespaces

Backup Process

  1. 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. 2.
    Define and create policies for retention and scheduling of backups TrilioVault will validate the policies defined
  3. 3.
    Define and create a backup plan that references the following:
    1. 1.
      Application to backup - label/helm/operator
    2. 2.
      Scheduling Policy
    3. 3.
      Retention Policy
    4. 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. 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.

Restore Process

The restore process is the inverse of the backup process.
  1. 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.