YAML Examples
YAML examples for Trilio Custom Resource Definitions
TrilioVaultManager
apiVersion: triliovault.trilio.io/v1
kind: TrilioVaultManager
metadata:
labels:
triliovault: triliovault
name: trilio-app
spec:
trilioVaultAppVersion: 0.2.5
helmVersion:
version: v3
tillerNamespace: "kube-system"
applicationScope: Namespaced
restoreNamespaces: ["kube-system", "default", "restoreinme", "restore-namespace", "restore"]
resources:
requests:
memory: 400MiProvide Resource Limits for Trilio Pods
Backup Target
Example 1 - S3 Target: AWS
Example 2 - S3 Target: Non-AWS
Example 3 - S3 Target with SSL Certificate
Example 4 - OVH Object Storage as Target using Swift S3 API
Example 5 - NFS Target Example
Example 6 - S3 Based Event Target Example
Example 7 - NFS Based Event Target Example
Policy
Scheduling Policy
Retention Policy
Example - Retention Policy
Cleanup Policy
Continuous Restore Policy
Immutability
Immutable Target
Retention Policy for immutable backup
Immutable Backup
Example - BackupPlan with Retention Period
Example - Immutable Backup
Hooks
Hook for MySQL
BackupPlan illustrating MySQL Hook
Hook for Cassandra
BackupPlan illustrating Cassandra Hook
Hook for MongoDB
BackupPlan illustrating MongoDB Hook
Hook for MariaDB
BackupPlan illustrating MariaDB Hook
Hook for Redis
BackupPlan illustrating Redis Hook
Hook for PostgreSQL
BackupPlan illustrating PostgreSQL Hook
Hook for InfluxDB
BackupPlan illustrating InfluxDB Hook
Hook for Elasticsearch
BackupPlan illustrating Elasticsearch Hook
Hook for Kafka
BackupPlan illustrating Kafka Hook
Hook for CockroachDB
BackupPlan illustrating CockroachDB Hook
BackupPlan
Type: Custom Label - Example 1
Type: Custom Label - Example 2 - Multiple Labels
Type: Helm - Example 1 - Single Helm Release
Type: Helm - Example 2 - Multiple Helm Releases
Type Operator - Example 1
Example 1a
Example 1b
Type Operator - Example 2 - Multiple Operators
Type: Operator - Example 3 - Helm based operator
Example 3a
Type: Operator - Example 4 - Helm based Operator without Operator Custom Resources
Example 4a
Example 4b
Type: Operator - Example 5 - OLM operators
Example 5a
Example 5b
Type: All - Example with all 3 Application Types -1
Type: Namespace - Example 1
Type: ClusterBackupPlan - Example 1
Type: Inclusion/Exclusion
Type: Encryption
Backup
Example 1 - Full Backup
Example 2 - Incremental Backup
Example 3 - ClusterBackup
Restore
Example 1 - Restore from a specific backup
Example 2 - Restore last successful backup
Example 3 - Skip Restore
Example 4 - Patch Restore
Example 5 -Restore From Specific Location - Migration Scenario
Example 6 - Restore with Transformations (StorageClass)
Example 7 - Restore with Transformations (NodePort)
Example 8 - Restore with Exclusions
Example 9 - Restore from BackupPlan
Example 10 - ClusterRestore
Example 11 - Encryption - Restore From Specific Location with encryption
Last updated