Unlock instant, AI-driven research and patent intelligence for your innovation.

An automatic backup method based on lvm snapshot in cloud native environment

A native environment and backup technology, applied in the cloud native field, to improve ease of use and manageability, and reduce downtime

Active Publication Date: 2022-03-11
北京同创永益科技发展有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The object of the present invention is to provide a kind of automatic backup method based on LVM snapshot in cloud native environment, thus solve the foregoing problems existing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An automatic backup method based on lvm snapshot in cloud native environment
  • An automatic backup method based on lvm snapshot in cloud native environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention.

[0037] Such as figure 1 As shown, in this embodiment, an automatic backup method based on LVM snapshots in a cloud native environment is provided, including the following steps,

[0038] S1. Initialize the system to the application cluster, use the Operator extension method recommended by k8s to create related custom resources (CRD, Custom Resource Definition) and custom controller Controller; the custom controller includes resource backup controller, resource a restore controller, a storage volume backup controller, and a storage volume restore controller;

[0039] S2. The resource backup contr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic backup method based on an LVM snapshot in a cloud native environment, including initializing the system into an application cluster, adopting an Operator expansion mode, and creating related custom resources and a custom controller; the custom controller includes resource backup control controller, resource restoration controller, storage volume backup controller, and storage volume restoration controller; the resource backup controller realizes the discovery and retrieval of resources to be backed up, packs and stores k8s resource objects to HaMi n i o, obtains the associated Pod list, and generates specified BackupPodPv; the storage volume backup controller implements automatic backup based on LVM snapshots for the Pod list; and other steps. The advantages are: for local storage volumes with larger data volume and higher data consistency requirements in the backup job, automatic, high stability and almost real-time data synchronization backup is performed based on LVM snapshot technology, which greatly improves the usability and manageability, minimizing the downtime of business systems and the cost of disaster recovery of application systems.

Description

technical field [0001] The present invention relates to the field of cloud native technology, in particular to an automatic backup method based on LVM snapshot in cloud native environment. Background technique [0002] With the advancement of enterprise digital transformation, cloud native has become an important engine driving business growth. As the de facto industry standard for cloud-native applications, Kubernetes (hereinafter referred to as k8s) provides an efficient and unified management mechanism for containerized deployment, overall planning, construction and upgrade of enterprise application systems. [0003] For the backup of the business application system in the k8s cluster in the cloud native environment, it will include two parts of the backup content: all related resource objects in the k8s cluster, and the storage volume data associated with the Pod. The k8s storage volume mainly supports local storage and various remote or distributed storage systems that...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/14
CPCG06F11/1453G06F11/1446
Inventor 朱柯狄尚朋郑阳
Owner 北京同创永益科技发展有限公司