The backup center feature of Container Service for Kubernetes (ACK) provides an all-in-one solution for you to back up, restore, and migrate both stateless and stateful applications deployed in ACK clusters. This solution meets the data redundancy and migration needs of stateless applications deployed across multiple clusters in a hybrid cloud environment. For example, you can use this feature to back up metadata of applications in an ACK cluster, restore snapshots of applications and data, and migrate applications and data. This feature allows you to use CustomResourceDefinitions (CRDs) capabilities, such as container orchestration and application management, to achieve backup of crash consistency for stateful applications, backup of application consistency for stateful applications, and backup and restoration of stateful applications across zones and regions. This topic describes scenarios, terms, and key components of backup center.

Scenarios

Backup center is applicable to the following scenarios:
  • Disaster recovery of applications that use persistent volumes (PVs) in an ACK cluster and migration of applications across clusters that are deployed in the same region.
  • Disaster recovery and application migration in a hybrid cloud environment.
  • Disaster recovery for clusters deployed across regions on Alibaba Cloud.

Disaster recovery of applications that use PVs in an ACK cluster and migration of applications across clusters that are deployed in the same region

dr
Backup center supports backup and restoration of applications and data within ACK clusters and across ACK clusters that are deployed in the same region. You can back up an application in the source cluster, create a snapshot in the destination cluster, and then restore the application and data to the destination cluster with a recovery time objective (RTO) of a few seconds. Backup center provides the following features for data stored on the cloud:
  • Fast snapshots of full data at specified points in time
  • Scheduled incremental backup
  • Fast snapshots of TB-level disks
  • Backup and restoration for application consistency
The following cloud storage types are supported:
  • Block storage such as Alibaba Cloud disks and local disks
  • Apsara File Storage NAS (NAS) and Cloud Paralleled File System (CPFS)
  • Object Storage Service (OSS)

Disaster recovery and application migration in a hybrid cloud environment

hbr
You can create an external Kubernetes cluster and register the cluster in the ACK console. Then, you can use the backup center feature to periodically back up the applications and data from the external Kubernetes cluster to the cloud. You can restore the entire application and data to a cluster in a hybrid cloud or an ACK cluster. Backup center provides the following features for data stored on a hybrid cloud:
  • Fast snapshots of full data at specified points in time
  • Scheduled incremental backup
  • Incremental data minimization, data deduplication, and data compression
The following on-premises storage types are supported:
  • Block storage such as Storage Area Network (SAN), Ceph OBD, and Logical Volume Manager (LVM).
  • File systems such as HostPath, Network File System(NFS), NetApp, GlusterFS, and CephFS.
  • Object storage services such as Ceph S3.

Disaster recovery for clusters deployed across regions on Alibaba Cloud

Disaster recovery for clusters deployed across regions on Alibaba Cloud
You can back up and restore applications and data across ACK clusters that are deployed in the same region but different zones. You can back up an application in the source cluster, create a snapshot in the destination cluster, and then restore the application and data to the destination cluster with a RTO of a few seconds. Backup center provides the following features for data stored on the cloud:
  • Fast snapshots of full data at specified points in time
  • Scheduled incremental backup
  • Fast snapshots of TB-level disks
  • Backup and restoration for application consistency
The following cloud storage types are supported:
  • Block storage such as Alibaba Cloud disks and local disks
  • File systems such as NAS and CPFS
  • OSS

Terms

Term Description
Crash-consistent backup Crash-consistent backup does not guarantee backups of application cache and operating system cache in the storage.
Application-consistent backup Application-consistent backup guarantees backups of application cache and operating system cache in the storage.
Cross zones Application backup and restoration across zones.
Cross regions Application backup and restoration across regions.
Snapshot Snapshots of file systems and disks.
Fast snapshot Snapshots of TB-level disks created within a few seconds.
Restoration Unified restoration of applications and data.
Application backup Backup of metadata of applications, services, and configurations.

Key components

All components of backup center are deployed in the csdr namespace of your cluster. The following table describes the key components.

Component Description
csdr-controller Backs up application templates and PVs, and controls the procedure, policies, and status of data restoration.
csdr-velero Filters, backs up, and restores application templates.
hbr-client Backs up and restores CNFS PVs that are used by applications.

References