Restoring Backups

This page describes the process for restoring backups.

Similar to the backup workflow, Trilio provides intuitive restore workflows that reduce the complexity dramatically for recovering and migrating applications for a Kubernetes based environment.

Initiating Restores

  1. Backups can be restored by name if within the same cluster or namespace scope of T4K

    1. Restore from Home page via the RestorePoints Tab

    2. Restore from Backup Overview Page

  2. Backups can be restored by location if restoring from a target repository.

Restore Workflow

Regardless of where the Restore operation is initiated, the workflow for the operation is the same, ensuring consistency and simplicity.

For the restore workflow, there are two tabs presented to the user - Basic and Advanced. Basic restores cover general restore properties for the backup - skip resources, patch CRDs etc. whereas Advanced restores cover resource transformation, resource exclusions, and resource hooks.

Restore Flags

As part of every restore, users can select different restore flags to define how the restore should happen.

The following flags are provided:

SkipIfAlreadyExists - Specifies whether to skip restoring resources if they are already found in the namespace in which the backup is being restored. This is only applicable for metadata resources and not data resources (PV/PVC).

PatchIfAlreadyExists - Specifies whether to patch the spec section of an already existing resource found in the namespace at the time of restore.

OmitMetadata - Specifies whether to omit metadata labels, annotations of resources while restoring them.

PatchCRD - Specifies whether to patch spec of an already existing CRD

SkipOperatorResources - Specifies whether to omit operator resources at the time of restore (for the use case when an Operator is already present, but the application of that operator needs to be restored)

CleanupOnFailure - Specifies whether to perform cleanup of resources created along with reverting updated resources in case the restore operation fails.

ProtectRestoredApp - Specifies whether to create a backupplan at the destination namespace/cluster to protect the application after it has been restored. With this flag, users can ensure that their application is protected no matter which cluster it runs on.

DisableIgnoreResources - Specifies the behavior of the default list of resources being ignored at the time of restore. If set to true, those resources will not be ignored.

OnlyData - Restores only the data volume components from a backup.

OnlyMetaData - Restores only the metadata components from a backup.

UseOCPNamespaceUIDRange - Openshift specific flag to restore the data with the ocp namespace UID range.


From a resource transform perspective, Trilio provides the ability to transform Helm Charts and transform custom resources. Helm charts can be transformed based on Key:Value pairs whereas custom resources can be transformed by specifying GVKO and Operation (Replace, Move etc.) type.

For both Helm and Custom Transforms - Trilio fetches the metadata and populates it via dropdown menus and tables - to make is easy for the user to manage the granular details of the transforms

Exclude Resources and Restore Hooks

Users can choose to exclude resources by specifying the GVK through the Exclude Resources Tab

Similarly, the user can specify hooks to inject before and after the restore. The hooks workflow and behavior is the same as the hooks workflow within the backup workflow. By default, the same hooks are loaded for the user to reuse.

Upon satisfactorily entering restore workflow information and triggering the restore, the user a presented with a status log for the restore performed.

Once a restore operation is initiated, the restore progress can be tracked via the Monitoring page or from the restore dialog box itself, if kept open.