Setting up the backup - EcoSys - 2.0 - Installation & Upgrade - Hexagon

EcoSys Connect Installation and Configuration (Azure Kubernetes Service)

Language
English
Product
EcoSys
Search by Category
Installation & Upgrade
EcoSys Version
2.0

The install-velero.sh script will configure velero into the existing cluster and create a backup Azure Resource Group and Azure Storage Account to store the Velero backups.
To setup the backup.

  1. Go to the installer/aks directory

  2. Edit the env.sh file and customize the Velero settings

    Setting

    Description

    VELERO_BACKUP_RESOURCE_GROUP

    The resource group used to store velero backups. If this does not exist, it will be created. This should be a different resource group than the cluster resource group to provide redundancy.

    Default = $RESOURCE_GROUP-backup

    VELERO_BLOB_CONTAINER

    The name of the Storage Account Container that will be used to store backups.

    Default = $CLUSTER_NAME-backup

    VELERO_SCHEDULE_CRON_EXPR

    The CRON Expression used to schedule backups.

    Default = 0 7 * * *
    This is daily at 7 AM

    VELERO_BACKUP_RETENTION

    The # of hours the backup will be saved by Velero.

    Default = 720h0m0s

  3. Install Velero into the cluster by running ‘./install-velero.sh’

  4. When the script completes, the following message is displayed.


  5. Run the following command to ensure that Velero pod is started, run ‘kubectl get pods -n velero’


  6. The installation of Velero also creates an initial backup. To see all backups, run ‘velero backup get’. This will list all backups, their statuses, and retention policies.

  7. Additional backups will be taken based on the ‘VELERO_SCHEDULE_CRON_EXPR’. To create a backup manually, run ‘velero backup create <name>’