LogoLogo
5.0.X
5.0.X
  • About Trilio for Kubernetes
    • Welcome to Trilio For Kubernetes
    • Version 5.0.X Release Highlights
    • Compatibility Matrix
    • Marketplace Support
    • Features
    • Use Cases
  • Getting Started
    • Getting Started with Trilio on Red Hat OpenShift (OCP)
    • Getting Started with Trilio for Upstream Kubernetes (K8S)
    • Getting Started with Trilio for AWS Elastic Kubernetes Service (EKS)
    • Getting Started with Trilio on Google Kubernetes Engine (GKE)
    • Getting Started with Trilio on VMware Tanzu Kubernetes Grid (TKG)
    • More Trilio Supported Kubernetes Distributions
      • General Installation Prerequisites
      • Rancher Deployments
      • Azure Cloud AKS
      • Digital Ocean Cloud
      • Mirantis Kubernetes Engine
      • IBM Cloud
    • Licensing
    • Using Trilio
      • Overview
      • Post-Install Configuration
      • Management Console
        • About the UI
        • Navigating the UI
          • UI Login
          • Cluster Management (Home)
          • Backup & Recovery
            • Namespaces
              • Namespaces - Actions
              • Namespaces - Bulk Actions
            • Applications
              • Applications - Actions
              • Applications - Bulk Actions
            • Virtual Machines
              • Virtual Machine -Actions
              • Virtual Machine - Bulk Actions
            • Backup Plans
              • Create Backup Plans
              • Backup Plans - Actions
            • Targets
              • Create New Target
              • Targets - Actions
            • Hooks
              • Create Hook
              • Hooks - Actions
            • Policies
              • Create Policies
              • Policies - Actions
          • Monitoring
          • Guided Tours
        • UI How-to Guides
          • Multi-Cluster Management
          • Creating Backups
            • Pause Schedule Backups and Snapshots
            • Cancel InProgress Backups
            • Cleanup Failed Backups
          • Restoring Backups & Snapshots
            • Cross-Cluster Restores
            • Namespace & application scoped
            • Cluster scoped
          • Disaster Recovery Plan
          • Continuous Restore
      • Command-Line Interface
        • YAML Examples
        • Trilio Helm Operator Values
    • Upgrade
    • Air-Gapped Installations
    • Uninstall
  • Reference Guides
    • T4K Pod/Job Capabilities
      • Resource Quotas
    • Trilio Operator API Specifications
    • Custom Resource Definition - Application
  • Advanced Configuration
    • AWS S3 Target Permissions
    • Management Console
      • KubeConfig Authenticaton
      • Authentication Methods Via Dex
      • UI Authentication
      • RBAC Authentication
      • Configuring the UI
    • Resource Request Requirements
      • Fine Tuning Resource Requests and Limits
    • Observability
      • Observability of Trilio with Prometheus and Grafana
      • Exported Prometheus Metrics
      • Observability of Trilio with Openshift Monitoring
      • T4K Integration with Observability Stack
    • Modifying Default T4K Configuration
  • T4K Concepts
    • Supported Application Types
    • Support for Helm Releases
    • Support for OpenShift Operators
    • T4K Components
    • Backup and Restore Details
      • Immutable Backups
      • Application Centric Backups
    • Retention Process
      • Retention Use Case
    • Continuous Restore
      • Architecture and Concepts
  • Performance
    • S3 as Backup Target
      • T4K S3 Fuse Plugin performance
    • Measuring Backup Performance
  • Ecosystem
    • T4K Integration with Slack using BotKube
    • Monitoring T4K Logs using ELK Stack
    • Rancher Navigation Links for Trilio Management Console
    • Optimize T4K Backups with StormForge
    • T4K GitHub Runner
    • AWS RDS snapshots using T4K hooks
    • Deploying Trilio For Kubernetes with Openshift ACM Policies
  • Krew Plugins
    • T4K QuickStart Plugin
    • Trilio for Kubernetes Preflight Checks Plugin
    • T4K Log Collector Plugin
    • T4K Cleanup Plugin
  • Support
    • Troubleshooting Guide
    • Known Issues and Workarounds
    • Contacting Support
  • Appendix
    • Ignored Resources
    • OpenSource Software Disclosure
    • CSI Drivers
      • Installing VolumeSnapshot CRDs
      • Install AWS EBS CSI Driver
    • T4K Product Quickview
    • OpenShift OperatorHub Custom CatalogSource
      • Custom CatalogSource in a restricted environment
    • Configure OVH Object Storage as a Target
    • Connect T4K UI hosted with HTTPS to another cluster hosted with HTTP or vice versa
    • Fetch DigitalOcean Kubernetes Cluster kubeconfig for T4K UI Authentication
    • Force Update T4K Operator in Rancher Marketplace
    • Backup and Restore Virtual Machines running on OpenShift
    • T4K For Volumes with Generic Storage
    • T4K Best Practices
Powered by GitBook
On this page
  • Create Backup Plans
  • Backup Plan - Single Namespace
  • Backup Plan - Application
  • Backup Plan - Multi-namespace
  • Create Backup Plan - Hook Configuration

Was this helpful?

  1. Getting Started
  2. Using Trilio
  3. Management Console
  4. Navigating the UI
  5. Backup & Recovery
  6. Backup Plans

Create Backup Plans

This page explains how a user can create various types of backup plans.

PreviousBackup PlansNextBackup Plans - Actions

Last updated 5 months ago

Was this helpful?

Create Backup Plans

  1. Log in to the T4K Management Console.

  2. From the left panel menu, click Backup & Recovery.

  3. Select one of your clusters from the left panel menu, which displays a dropdown menu for you to select from.

  4. From this dropdown menu, select Backup Plans.

  5. From the page displayed, select Create New.

  6. Choose from the three types of backup plan that may be created:

    • Application

    • Single-namespace

    • Multi-namespace

  7. Follow the separate instruction sets for the backup plan types below.

Backup Plan - Single Namespace

  1. The CREATE NEW BACKUPPLAN Single Namespace window **** displayed is arranged into two sections. Left section displays the current step. The right section opens to configuration section which is the first step to create a plan.

  2. Namespace - Choose from the dropdown menu.

  3. Name - Type a meaningful name for your plan.

  4. Target - (Mandatory) Target is a storage location where backup/ snapshot will be stored. Select a target from the dropdown.

  5. Encryption Secret - Choose an encryption secret from the dropdown menu. Which will encrypt backup/snapshot.

  6. Snapshot Policies - This opens snapshot policies options which schedules the snapshot based on the policy selected.

  7. Snapshot Scheduling Policy - This dropdown list all the scheduling policies to select from.

  8. Snapshot Retention Policy - This dropdown list all the retention policies to select from.

  1. Backup Policies - This opens backup policies options.

  1. Scheduling Policy : Full Backup this schedules the backup based on the policy selected, when this plan is part of full backup.

  2. Scheduling Policy : Incremental Backup this schedules the backup based on the policy selected, when this plan is part of an incremental backup process.

  3. Retention Policy A retention policy specifies the number of backups to retain for different intervals.Select a retention Policy from the dropdown.

  1. Retain Helm Apps - Enable this toggle to retain Helm apps during restore operations for backup.

  2. Skip Image Backup - This toggle is to skip image Backup as it excludes the backup of container image.

  3. Add Hooks

  4. Click Next.

  5. The Step 2: Resource Selector tab is now displayed. To include resources, click Add Resources. Included resources will appear under the Included Resources list.

  6. To exclude resources, click Add Resources. Excluded resources will appear under the Excluded Resources list.

  7. Click Next.

  8. Step 3: Continuous Restore (Optional) Remote TVK Instance Select a remote TVK instance from the dropdown menu

  9. Continuous Restore Policy is a dropdown that list all the Continuous Restore Policies, And also provide an option to create a new Continuous Restore Policy by clicking new Continuous Restore Policy link provided at the bottom of the dropdown .

  10. Add new transform Create Backup Plan - Hook Configuration

  11. Skip & Create if Continuous Restore is not required, click on this to skip the step.

  12. Click Create to create a backup plan with Continuous Restore.

  13. The Step 4: Final Step Status Log

Backup Plan - Application

  1. The first step for Application Backup Plan is similar to Single Namespace Backup Plan.

  2. The Step 2: Component Details Step is now displayed. There are three optional sub-tabs to choose from:

  • After clicking Apply the operator will be added. Here there are multiple actions.

    1. Click Add Another to include an operator.

    2. Use the Edit icon to modify the new operator.

    3. Click the X icon to remove the operator.

    4. Select Add Operator Resources to include resources.

  • Click Apply

  • To include resources, click Add Resources. Included resources will appear under the Included Resources list.

  • To exclude resources, click Add Resources. Excluded resources will appear under the Excluded Resources list.

  1. The Step 3: Continuous Restore Step is now displayed. This is same as Backup Plan - Single Namespace.

  2. The Step 4: Final Step Status Log is same as Single Namespace status log.

Backup Plan - Multi-namespace

The CREATE MULTI-NAMESPACE BACKUPPLAN window **** displayed is arranged into two main sections left one shows the steps/progress and right one shows Global Configuration. First to display is Step 1: Global Configuration. Provide parameters like:

  1. Target (Mandatory) Target is a storage location where backup/ snapshot will be stored. Select a target from the dropdown.

  2. Encryption Secret - (Optional) Choose an encryption secret from the dropdown menu. Which will encrypt backup/snapshot.

  3. Click Next.

  4. Resources can be excluded form the Excluded Resources list by clicking Add Resources.

  5. Click Next

  6. Click next.

  7. Step 4: Continuous Restore (optional) this have two dropdowns first Remote TVK Instance which is a dropdown to select the TVK instance. and second Continuous Restore Policy dropdown that list all the Continuous Restore Policies. And also provides option to create a new continuous Restore Policy by clicking new continuous Restore Policy link provided at the bottom of the dropdown.

  1. Skip & Create if Continuous Restore is not required click on this to skip the step.

  2. Click Create to create a backup plan with Continuous Restore.

  3. Select Done.

  4. Step 5: Status Log is same as Single Namespace status log.

Create Backup Plan - Hook Configuration

2. TVK provides the capability for selecting the containers within the pods selected by the pod selector.

  • Click on Add label Set to add a Label Set.

  • There will be two sub-tabs: Match Labels and Match Expressions.

  • Match Labels:

    • Select Labels from the dropdown and click Apply.

    • The added labels will be listed under the Added Labels section.

    • Click Add to add label set to the hook.

  • Match Expressions:

    • Click on Match Expression sub tab.

    • Select a Key from the Keys dropdown.

    • Select an operator from In, Not In, Exists, or Does Not Exist.

    • Select a value (only if In or Not In is selected in the previous step).

    • Click Apply to add this to ADDED LABELS list.

    • Click ADD

3. Pod Selection Using Regex:

  • The pod selection can be done by matching a regex Or provide a Regex.

  1. Container Name Matching:

  • The expression provided in this field is used to match container names within the pods selected by the pod selector.

Click Add Operator Then type your operator name or ID into the Operator text field.

After clicking Add Operator type your operator name or ID into the Operator text field, And click on Apply.

Click

Click Add Helm Release.

Then Select a Helm release from the dropdown.

Click on Custom tab.

Step 2: Resource Selection resources can be added to the Included Resources by clicking Add Resources.and/or the Excluded Resources list by clicking Add Resources. In this example, none are added.

Step 3: Namespace Configuration By Namespace is the first sub-tab of the Step 3: Namespace Configuration. On this sub-tab, selected namespace are listed. To add namespace-specific configuration like hooks, exclude resources and include resources, click Add Configuration beside the relevant namespace. There is also an option to Add Namespace if you wish to do that. This step is optional, so if namespace specific-configurations are not specified, global level configurations will be applied.

Step 3: Namespace Configuration By Namespace Selector is the second sub-tab of this step. On this sub-tab, you can select Add Namespace Selector. This is **** a combination of matching labels and matching expressions and T4K will select the namespaces that match the selected label sets dynamically. This step is optional, so if namespace specific-configurations are not specified, global level configurations will be applied.

You are now prompted to name your backup plan. Type a meaningful name into the free text field.

This section explains how to add hooks to a backup plan. In Create Backup Plan Step 1: Backup Plan Configuration, click on the Advanced section and then click Add Hook. 1. Select a Hook from the dropdown menu or create a new hook using the link provided at the very bottom of the dropdown. Create Hook

Match expressions include key-operator-value pairs where the value is optional based on the selected operator.

Backup Plan Listing
Create Backup Plan Configuration
Create Backup Plan Snapshot Policies
Create Backup Plan Backup Policies
Create Backup Plan Advanced Section
Create Backup Plan Resource Selector
Create Backup Plan Continuous Restore
Status Log
Create Multi-Namespace Backup Plan
Create Backup Plan Continuous Restore