Learn about Trilio Backup and Restore Operations and CRDs


Quick definitions of the CRDs are provided below. For more detailed information and examples, please refer to the YAML Examples 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. Define and create the target object to store backup data Trilio 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 Trilio 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 Trilio 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 Trilio 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. 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. Trilio will restore the application into the namespace specified and upon a successful restore the application is ready to be used.