CN117492920A - Control method, device, equipment and medium of cloud platform - Google Patents
Control method, device, equipment and medium of cloud platform Download PDFInfo
- Publication number
- CN117492920A CN117492920A CN202311460366.2A CN202311460366A CN117492920A CN 117492920 A CN117492920 A CN 117492920A CN 202311460366 A CN202311460366 A CN 202311460366A CN 117492920 A CN117492920 A CN 117492920A
- Authority
- CN
- China
- Prior art keywords
- partition
- data
- backup
- cloud platform
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 238000005192 partition Methods 0.000 claims abstract description 478
- 238000012545 processing Methods 0.000 claims description 34
- 238000011084 recovery Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 5
- 230000001172 regenerating effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a control method, a control device, control equipment and control media for a cloud platform, and relates to the technical field of cloud platforms. And backing up the initial data of each partition before the cloud platform system is upgraded, and recovering the environment corresponding to the cloud platform system when the cloud platform system is failed to upgrade through the backup data after the failure of the cloud platform system is detected. The backup data is obtained by backing up the initial data, and the backup data represents the environment before upgrading the cloud platform system, so that the environment which fails to upgrade is restored to the environment before upgrading through the backup data; in addition, the initial data of each partition is backed up according to the type of the stored data of each partition, so that the backup mode is more consistent with the data characteristics of each partition, and because some backup modes are possibly not applicable to all types of stored data, the backup mode determined according to the type of the stored data of each partition provided by the invention ensures the success rate of data backup as much as possible.
Description
Technical Field
The present invention relates to the field of cloud platform technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling a cloud platform.
Background
A cloud platform, i.e., a cloud computing platform, is a service platform based on hardware resources and software resources that is used to provide computing, networking, and storage capabilities. In order to meet different application requirements and realize more efficient cloud computing services, the cloud platform system needs to be upgraded.
In general, more software packages need to be installed in deploying a cloud platform system, and each upgrade package may be updated during system upgrade due to the more software packages of the cloud platform. In the upgrading process, the situation of upgrading failure may occur, but in order to continue to provide services using the cloud platform, the environment needs to be restored to the environment before the upgrading, so that the service is provided by using the previous environment or the upgrading is carried out again on the basis of the previous cloud environment. Changing the environment before the upgrade in the process from the start of the upgrade to the failure of the upgrade, results in a great difficulty in desiring to restore to the environment before the upgrade.
Therefore, providing a control method for a cloud platform, so that the cloud platform can recover to the environment before upgrading after the upgrading failure is a technical problem that needs to be solved by the person skilled in the art.
Disclosure of Invention
The invention aims to provide a control method, a device, equipment and a medium of a cloud platform, which are used for solving the technical problem that the environment before upgrading is changed in the process from the start of upgrading to the failure of upgrading, so that the environment before upgrading is difficult to recover.
In order to solve the technical problems, the invention provides a control method of a cloud platform, comprising the following steps:
before detecting the upgrading of a cloud platform system, acquiring initial data of each partition of the cloud platform system; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring backup data of each partition;
controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
and under the condition that the upgrading state is detected to be failed in upgrading, recovering the current data of the corresponding partition by utilizing the backup data of each partition.
In one aspect, before the backup of the initial data of each partition according to the type of the stored data of each partition, the method further includes:
acquiring files used for recording all the partitions of the cloud platform system and corresponding mounting catalogs under each partition in the cloud platform system;
Determining partition information of a system disk of the cloud platform system according to the files used for recording all the partitions of the cloud platform system and the corresponding mounting catalogs under each partition;
determining the type of the storage data of each partition according to the partition information; the type of the storage data at least comprises the type of the storage guide data, the type of the storage user data and the type of the data with the storage duration smaller than a preset value.
In another aspect, before the backup of the initial data of each partition according to the type of the stored data of each partition, the method further includes:
arranging all the partitions of the cloud platform system according to a preset backup sequence;
the backing up the initial data of each partition according to the type of the stored data of each partition includes:
judging whether the type of the stored data of the current partition is the type of the stored guide data or not; the current partition is any one partition among all the partitions of the cloud platform system;
if not, carrying out snapshot processing on the initial data of the current partition so as to backup the initial data of the current partition;
Obtaining the number of the partitions which are backed up from the beginning of the snapshot processing of the partition which is detected to exist, taking the next partition of the current partition as a new current partition under the condition that the number of the partitions which are backed up is detected to be smaller than the number of all the partitions, and returning to the step of judging whether the type of the storage data of the current partition is the type of the storage guide data; determining that backup of the initial data of all the partitions is completed when the number of the partitions completing the backup is detected to be equal to the number of all the partitions;
if yes, determining the current partition as a guide partition, and acquiring the initial data of the guide partition;
acquiring a root partition of the cloud platform system, and creating a backup catalog in the root partition; wherein, the backup catalog comprises a guide catalog;
backing up the initial data of the boot partition to the boot catalog;
after the initial data of the guide partition is detected to be backed up to the guide catalog, snapshot processing is carried out on the root partition so as to backup the initial data of the guide partition; and returning to the step of obtaining the number of the partitions which are backed up after the snapshot processing start of the partition which is detected to exist by the self-detection.
On the other hand, the arranging all the partitions of the cloud platform system according to a preset backup sequence includes:
acquiring target partitions corresponding to the types of the data with the storage duration smaller than a preset value in all the partitions of the cloud platform system;
acquiring other partitions except the target partition in all the partitions;
taking the other partitions as all new partitions of the cloud platform system;
and arranging all the new partitions according to a preset backup sequence.
In another aspect, before performing snapshot processing on the initial data of each partition, the method further includes:
generating a backup configuration file containing the corresponding relation between each partition and the snapshot created for each partition; the backup configuration file is recorded with a logical volume management and universal unique identification code of each partition, and a name and universal unique identification code of the snapshot corresponding to each partition;
placing the backup configuration file in the backup directory under the root partition;
correspondingly, determining the backup data of each partition includes:
Acquiring information in the backup configuration file;
and recovering the logical volume management snapshot to recover the backup data of each partition.
In another aspect, the partition is the boot partition, and restoring the current data of the boot partition using the backup data of the boot partition includes:
acquiring a first file corresponding to the backup data of the guide partition and a second file corresponding to the current data of the guide partition;
comparing the first file with the second file;
acquiring a file with the same file name in the second file as the file name in the first file, and a file with the different file name in the second file as the file name in the first file;
covering the files with the file names identical to the file names in the first file in the second file by using the backup data corresponding to the files with the file names identical to the file names in the second file, and deleting the files with the file names different from the file names in the first file in the second file; and regenerating a boot configuration file through a boot instruction to complete recovery of the current data of the boot partition.
On the other hand, after the restoring the current data of the corresponding partition by using the backup data of each partition, the method further includes:
upgrading the cloud platform system by utilizing the recovered current data;
after the cloud platform system is successfully upgraded, acquiring the backup configuration file under the backup catalog;
deleting the snapshot information corresponding to each partition according to the partition information and the snapshot information corresponding to each partition in the backup configuration file;
and deleting the backup catalog under the root partition.
In order to solve the technical problem, the present invention further provides a control device for a cloud platform, including:
the system comprises an acquisition and backup module, a data processing module and a data processing module, wherein the acquisition and backup module is used for acquiring initial data of each partition of a cloud platform system before the cloud platform system is detected to be upgraded; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring backup data of each partition;
the control and detection module is used for controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
and the recovery module is used for recovering the current data of the corresponding partition by using the backup data of each partition under the condition that the upgrading state is detected to be the upgrading failure.
In order to solve the technical problem, the present invention further provides a control device of a cloud platform, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the control method of the cloud platform when executing the computer program.
In order to solve the technical problem, the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the control method of the cloud platform when being executed by a processor.
The control method of the cloud platform provided by the invention comprises the following steps: before detecting the upgrading of the cloud platform system, acquiring initial data of each partition of the cloud platform system; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring the backup data of each partition; detecting an upgrading state of the cloud platform system; and under the condition that the upgrading state is detected to be failed in upgrading, recovering the current data of the corresponding partition by using the backup data of each partition.
The method has the advantages that the initial data of each partition are backed up before the cloud platform system is upgraded, and after the failure of the cloud platform system is detected, the environment corresponding to the failure of the cloud platform system is restored through the backup data. The backup data is obtained by backing up the initial data, and the backup data represents the environment before upgrading the cloud platform system, so that the environment which fails to upgrade is restored to the environment before upgrading through the backup data; in addition, compared with the method for backing up all the partitions by adopting the same backup strategy, the method for backing up the initial data of each partition according to the type of the stored data of each partition in the invention ensures that the backup mode is more consistent with the data characteristics of each partition, and some backup modes are possibly not applicable to all types of the stored data, for example, the snapshot technology cannot be used for backing up the boot partition, therefore, the backup mode determined according to the type of the stored data of the partition provided by the invention ensures the success rate of data backup as much as possible.
In addition, because all the partitions of the cloud platform system and the mounting catalogs corresponding to the partitions are recorded in the file for recording all the partitions of the cloud platform system and the mounting catalogs corresponding to the partitions, the partition information of the cloud platform system can be quickly and clearly known through the file.
When the initial data is backed up, the partitions with the storage data type of storing the boot data, namely the boot partitions, are independently backed up to the root directory, and then snapshot processing is carried out, so that the boot data can be backed up successfully as much as possible, and all the partitions are snapshot processed, and the cloud platform system can be restored to the environment before upgrading by means of the backup data after upgrading failure.
Because the data with the storage time length smaller than the preset value is usually temporary data, the backup of the partition where the data is located is not meaningful, and therefore, the backup of the target partition corresponding to the type except the data with the storage time length smaller than the preset value in all the partitions is performed, and the effectiveness of the data backup is ensured.
The logical volume management and the universal unique identification code of each partition, and the names and the universal unique identification codes of the snapshots corresponding to each partition are recorded in the backup configuration file, and the corresponding relation exists between each partition and the snapshot corresponding to each partition in the backup configuration file, so that the snapshots corresponding to each partition can be clearly known according to the corresponding relation; the backup configuration file is placed in the backup directory of the root partition, so that the backup configuration file is backed up when the snapshot processing is performed on the partition.
When the current data is recovered when the system upgrade fails by using the backup data, the current data is recovered based on the file name, and compared with the mode of directly comparing the current data with the backup data, the mode provided by the invention can greatly improve the efficiency of data backup; and the whole file data is replaced, so that the accuracy of data recovery is ensured.
After the environment before upgrading is restored, after the system is successfully upgraded, the snapshot information and the backup directory under the root partition are deleted, so that the storage space occupied by the data is reduced.
In addition, the invention also provides a control device of the cloud platform, control equipment of the cloud platform and a computer readable storage medium, which have the same or corresponding technical characteristics as the control method of the cloud platform, and have the same effects as the control method of the cloud platform.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flowchart of a control method of a cloud platform according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for system backup according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for system backup according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for backup deletion according to an embodiment of the present invention;
fig. 5 is a block diagram of a control device of a cloud platform according to an embodiment of the present invention;
fig. 6 is a block diagram of a control device of a cloud platform according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The core of the invention is to provide a control method, a device, equipment and a medium of a cloud platform, so as to solve the technical problem that the environment before upgrading is changed in the process from the start of upgrading to the failure of upgrading, and the environment before upgrading is difficult to recover.
Most of the operation systems used by the cloud platform at present are Linux systems, namely, most of software for providing services for clients by the cloud platform runs in the Linux systems. Therefore, the control method of the cloud platform provided by the invention is mainly aimed at the cloud platform of the Linux system. Most of software packages of the Linux system are in rpm or deb format, and more software packages are required to be installed for deploying a Linux cloud platform system. Because the cloud platform has more software packages, each upgrade package can be updated in the system upgrade process, and for failure in the upgrade process, the environment before the upgrade is changed in the process from the upgrade start to the upgrade failure, so that the environment before the upgrade is expected to be restored is very difficult. Based on the above-mentioned problems, in the control method for the cloud platform provided by the embodiment of the present invention, before the cloud platform system is upgraded, the initial data of each partition is backed up, and after the failure of the cloud platform system is detected, the environment corresponding to the failure of the cloud platform system upgrade can be restored through the backup data.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. Fig. 1 is a flowchart of a control method of a cloud platform according to an embodiment of the present invention, as shown in fig. 1, where the method includes:
S10: before detecting the upgrading of the cloud platform system, acquiring initial data of each partition of the cloud platform system; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring the backup data of each partition;
s11: controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
s12: and under the condition that the upgrading state is detected to be failed in upgrading, recovering the current data of the corresponding partition by using the backup data of each partition.
Each partition of the cloud platform system includes a boot partition (/ boot partition),/home partition,/swap partition,/root partition, and the like. In order to restore the environment before upgrading (refer to the data of each partition before upgrading) after detecting that the cloud platform system fails to upgrade, in the embodiment of the invention, the initial data of each partition is backed up before upgrading the cloud platform system. The initial data refers to data of each partition before the cloud platform system is upgraded.
The backup method is not limited, and data can be backed up. Because snapshot backup has the advantage of quickly creating backup, the embodiment of the invention mainly uses the snapshot technology to backup the initial data, and the backup data is obtained after backup. It should be noted that, the data stored in the boot partition is a kernel and a boot file, and the boot partition cannot use the logical volume management (Logical Volume Manager, LVM) technology, so if different backup processes are not adopted for the initial data of each partition according to the storage data type of the partition, it may result in that the data of some partitions cannot be backed up. Therefore, in the embodiment of the invention, the initial data of each partition is backed up according to the type of the storage data of each partition, and the backup data of each partition is obtained after the initial data of each partition is backed up.
Based on the backup of the initial data of each partition, a user can issue an instruction for representing the control of the upgrade of the cloud platform system, control the upgrade of the cloud platform system according to the upgrade instruction, and then determine the upgrade state of the cloud platform system according to prompt information of the upgrade state of the cloud platform system. The upgrade state of the cloud platform system can be determined through information displayed on a display screen or information such as voice prompts. Specifically, the upgrading state of the cloud platform includes that the cloud platform system is being upgraded, and the cloud platform system is successfully upgraded and fails to be upgraded. The embodiment of the invention provides a solution for the problem that the cloud platform system is difficult to recover to the environment before upgrading after upgrading failure, and the current data of the corresponding partition is recovered according to the backup data of each partition after the upgrading failure of the cloud platform system is prompted in the prompt information. The current data refers to the data of each partition under the condition that the failure of upgrading the cloud platform system is detected. The current data is data after the initial data is changed. In the process of recovering the current data by using the backup data, each current data can be recovered by referring to the backup data, but the data recovery efficiency is reduced due to the larger data volume; therefore, in the embodiment of the invention, the current data is restored based on the file name, and when the file name of the backup data file is the same as the file name of the current data file, the current data file is directly covered by the backup data file; and when the file name of the backup data file is different from the file name of the current data file, deleting the current data file directly. After the environment of the cloud platform system with failed upgrading is restored to the environment before upgrading, the cloud platform system before upgrading can be continuously used according to actual conditions, or the cloud platform system is continuously upgraded.
The control method of the cloud platform provided by the embodiment of the invention comprises the following steps: before detecting the upgrading of the cloud platform system, acquiring initial data of each partition of the cloud platform system; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring the backup data of each partition; detecting an upgrading state of the cloud platform system; and under the condition that the upgrading state is detected to be failed in upgrading, recovering the current data of the corresponding partition by using the backup data of each partition. The method comprises the steps that initial data of each partition are backed up before the cloud platform system is upgraded, and after the cloud platform system is detected to be failed to be upgraded, environments corresponding to the cloud platform system when the cloud platform system is failed to be upgraded can be restored through the backup data. The backup data is obtained by backing up the initial data, and the backup data represents the environment before upgrading the cloud platform system, so that the environment which fails to upgrade is restored to the environment before upgrading through the backup data; in addition, compared with the method that the same backup strategy is adopted for all the partitions, the method and the system in the embodiment of the invention backup the initial data of each partition according to the type of the stored data of each partition, so that the backup mode is more consistent with the data characteristics of each partition, and some backup modes are possibly not applicable to all types of the stored data, for example, the snapshot technology cannot be used for backup for the boot partition, therefore, the backup mode determined according to the type of the stored data of the partition provided by the embodiment of the invention ensures the success rate of data backup as much as possible.
In order to acquire partition information of the cloud platform system, the partition of the cloud platform system may be determined by analyzing data information of the cloud platform, and in the process of collecting the partition, some partitions may be omitted, so that all the obtained partitions of the cloud platform system are not obtained, and therefore data of the omitted partitions cannot be backed up and restored. Thus, in some embodiments, before backing up the initial data for each partition according to the type of stored data for each partition, further comprising:
acquiring files used for recording all partitions of the cloud platform system and corresponding mounting catalogs under each partition in the cloud platform system;
determining partition information of a system disk of the cloud platform system according to all partitions used for recording the cloud platform system and files of the corresponding mounting catalogs under each partition;
determining the type of the stored data of each partition according to the partition information; the type of the stored data at least comprises the type of the stored guiding data, the type of the stored user data and the type of the data with the stored time length smaller than a preset value.
The files in the cloud platform system for recording all the partitions of the cloud platform system and the corresponding mount directories under each partition are usually system/etc/fstab files. And acquiring a corresponding LVM partition through the content of the file. The partition storing the type of the guide data corresponds to the guide partition, the partition storing the type of the user data corresponds to the home partition, and the partition storing the type of the data with the storage duration smaller than the preset value corresponds to the swap partition.
In the method provided by the embodiment, the files for recording all the partitions of the cloud platform system and the corresponding mounting catalogs under each partition are directly read to acquire the partition information of the cloud platform system, so that all the partition information of the cloud platform system can be conveniently and rapidly acquired through the files.
When the LVM snapshot technology is used for backing up the data of each partition, the LVM snapshot technology cannot be used for backing up due to the fact that the boot partition cannot use the LVM snapshot technology. To enable backup of the initial data of the boot partition, and backup of the initial data of all partitions, by LVM snapshots, in some embodiments, before backup of the initial data of each partition according to the type of stored data of each partition, further comprises:
arranging all partitions of the cloud platform system according to a preset backup sequence;
backing up the initial data of each partition according to the type of the stored data of each partition includes:
judging whether the type of the stored data of the current partition is the type of the stored guide data or not; the current partition is any one partition among all partitions of the cloud platform system;
if not, carrying out snapshot processing on the initial data of the current partition so as to backup the initial data of the current partition;
Starting snapshot processing by detecting that the partition exists, acquiring the number of the partitions which finish backup, taking the next partition of the current partition as a new current partition under the condition that the number of the partitions which finish backup is detected to be smaller than the number of all the partitions, and returning to the step of judging whether the type of the storage data of the current partition is the type of the storage guide data; determining that the backup of the initial data of all the partitions is completed under the condition that the number of the partitions which complete the backup is detected to be equal to the number of all the partitions;
if yes, determining the current partition as a guide partition, and acquiring initial data of the guide partition;
acquiring a root partition of the cloud platform system, and creating a backup catalog in the root partition; wherein, the backup catalog comprises a guide catalog;
backing up initial data of the boot partition to a boot catalog;
after the initial data of the guide partition is detected to be backed up to the guide catalog, snapshot processing is carried out on the root partition so as to backup the initial data of the guide partition; returning to the step of obtaining the number of the partitions which are backed up after the snapshot processing of the partition which is detected to exist.
The preset backup sequence is not limited, and is determined according to actual conditions. In addition, since the data with the storage duration smaller than the preset value is usually temporary data, it is not meaningful to backup the partition where the data is located, in some embodiments, specifically, arranging all the partitions of the cloud platform system according to the preset backup sequence includes:
Acquiring target partitions corresponding to the types of data stored in all partitions of the cloud platform system, wherein the types of the data stored in the data are stored for a time length smaller than a preset value;
acquiring other partitions except the target partition in all the partitions;
taking other partitions as new all partitions of the cloud platform system;
and arranging all new partitions according to a preset backup sequence.
The preset value is not limited, and is also determined according to actual conditions. It should be noted that, the target partition corresponding to the type of the data stored for a duration less than the preset value is typically a swap partition, the data stored under the swap partition is typically temporary data, and the data located in the partition is changed, so that the data of the swap partition may not be backed up, and the initial data of the partitions except the swap partition may be backed up.
In the embodiment, the target partition corresponding to the type except for the data with the storage duration smaller than the preset value in all the partitions is backed up, so that the effectiveness of data backup is ensured.
To clearly understand the snapshot corresponding to each partition, in some embodiments, before snapshot processing is performed on the initial data of each partition, the method further includes:
generating a backup configuration file containing the corresponding relation between each partition and the snapshot created for each partition; the backup configuration file is recorded with a logical volume management and universal unique identification code of each partition, and a snapshot name and universal unique identification code corresponding to each partition;
Placing the backup configuration file in a backup directory under the root partition;
correspondingly, determining backup data for each partition includes:
acquiring information in a backup configuration file;
and recovering the logical volume management snapshot to recover the backup data of each partition.
In the method provided by the embodiment, the logical volume management and the universal unique identification code of each partition, and the names and the universal unique identification codes of the snapshots corresponding to each partition are recorded in the backup configuration file, and the corresponding relationship exists between each partition and the snapshot corresponding to each partition in the backup configuration file, so that the snapshot corresponding to each partition can be clearly known according to the corresponding relationship; the backup configuration file is placed in the backup directory of the root partition, so that the backup configuration file is backed up when the snapshot processing is performed on the partition.
In connection with what is described above, specific processes for system backup include:
1. the method mainly relates to boot partition data backup and other LVM partition backup, and the boot partition cannot use the LVM to partition before upgrading the cloud platform of the Linux system. The boot partition mainly backs up grub boot data, vmlinuz-, and initrimfs- (kernel and boot files). The data is backed up to a backup directory of the root partition of the system, and the backup directory is marked with the version of the current cloud system. The data needed to be backed up of the guide partition is placed under one LVM partition, so that the data can be backed up when snapshot is made, and when the backup is updated again after the backup is restored, the backup is not needed.
2. The system/etc/fstab is read and the file records the partition and corresponding mount directory of the current system. And acquiring a corresponding LVM partition through the content of the file.
3. A configuration file is generated of the correspondence of the partition to be backed up and the created snapshot, the configuration file recording the LVM name and the universally unique identification code (Universally Unique Identifier, UUID) of the backup partition, and the name and UUID of the corresponding snapshot. Placed in the backup directory of the root partition so that the backup directory can be saved when the LVM snapshot is made.
4. And respectively taking snapshots of the LVM partition, and setting the name snapshot_ [ partition lv name ] of the snapshot when the LVM snapshot is created, so that the identification is convenient.
In order to better understand the system backup manner provided by the embodiment of the present invention, the embodiment of the present invention is further described in detail below with reference to fig. 2 and a specific implementation manner. Fig. 2 is a flowchart of a method for system backup according to an embodiment of the present invention, as shown in fig. 2, where the method includes:
s13: acquiring files of all partitions of a recording system;
s14: the full backup/boot partition backs up to the root partition;
s15: creating a snapshot of the logical volume management partition;
S16: and storing the snapshot and the corresponding backup partition information.
In step S15, snapshot creation is performed on the logical volume management partition (non-swap partition).
The specific implementation process of the backup method shown in fig. 2 is as follows:
1. and reading the system/etc/fstab, recording the partition of the current system and the corresponding mounting directory, and acquiring the partition information of the system disk.
2. And creating a backup directory in the root partition (/), backing up the boot partition, and backing up all data under the current boot partition to the boot directory under the backup directory.
3. The LVM partition is snapshot, and the name of the snapshot is named in a snapshot_ [ partition lv name ] format.
4. And recording the name and UUID of the LVM partition into a backup configuration file under a backup directory corresponding to the name and UUID of the snapshot.
In the method provided by the embodiment of the invention, when the initial data is backed up, the boot partition which is the partition storing the boot data is independently backed up to the root directory, and then snapshot processing is carried out, so that the boot data can be backed up successfully as much as possible, and all the partitions are snapshot processed, and the cloud platform system can be restored to the environment before upgrading by virtue of the backup data after upgrading failure.
After detecting a failure to upgrade the system, the partition is a boot partition, and to enable recovery of the current data, in some embodiments, recovering the current data of the boot partition with backup data of the boot partition includes:
acquiring a first file corresponding to backup data of a guide partition and a second file corresponding to current data of the guide partition;
comparing the first file with the second file;
acquiring files with file names identical to those of the first files in the second files and files with file names different from those of the first files in the second files;
covering the files with file names identical to the file names in the first file by using backup data corresponding to the files with file names identical to the file names in the second file, and deleting the files with file names different from the file names in the first file; and regenerating the boot configuration file through the boot instruction to complete the recovery of the current data of the boot partition.
In order to better understand the system recovery manner provided by the embodiment of the present invention, the embodiment of the present invention is further described in detail below with reference to fig. 3 and the detailed description. Fig. 3 is a flowchart of a method for system backup according to an embodiment of the present invention, as shown in fig. 3, where the method includes:
S17: reading backup configuration file information;
s18: restoring the logical volume management snapshot to restore the partition data;
s19: the backup data of the guide partition fully covers the existing guide partition data;
s20: and regenerating the guide configuration file.
The system recovery proposed by the invention, as shown in fig. 2, is implemented as follows:
1. when a problem occurs in the process of upgrading the cloud platform, in order to restore the system to a state before upgrading, firstly, the LVM snapshot of the root partition needs to be restored, because the root partition holds the backup directory. And restoring the whole partition to a state when the partition is snapshot through a backup restoring instruction of the LVM.
2. And reading the snapshot corresponding relation configuration file in the backup directory, and then restoring the corresponding LVM partition to a snapshot state.
3. Restoring the data of the guide partition, comparing the data files under the guide partition, covering the files with the same name under the guide partition by using the files under the backup directory, and deleting redundant files.
4. The boot configuration file is regenerated by grub2 instructions.
5. When the system is restored to the source system, the system can be upgraded again, and backup is not needed again during the upgrade.
In the method provided by the embodiment of the invention, when the current data is recovered when the system upgrade fails by using the backup data, the current data is recovered based on the file name, and compared with the mode of directly comparing the current data with the backup data, the mode provided by the embodiment of the invention can greatly improve the efficiency of data backup; and the whole file data is replaced, so that the accuracy of data recovery is ensured.
After restoring the current data of the corresponding partition by using the backup data of each partition, the method further comprises the following steps:
upgrading the cloud platform system by using the recovered current data;
after the successful upgrading of the cloud platform system is detected, acquiring a backup configuration file under a backup directory;
deleting the snapshot information corresponding to each partition according to the partition information in the backup configuration file and the snapshot information corresponding to each partition;
the backup directory under the root partition is deleted.
Fig. 4 is a flowchart of a method for deleting backup according to an embodiment of the present invention, as shown in fig. 4, where the method includes:
s21: reading backup configuration file information;
s22: deleting the snapshot of the logical volume management partition;
s23: and deleting the backup data of the root directory.
In the backup deleting method provided by the embodiment of the invention, after the cloud platform is upgraded, the backup configuration file under the backup catalog is read, and the backup catalog under the root partition is deleted and deleted according to the backup partition information and the corresponding snapshot information in the configuration file, so that the data generated in the upgrading process is reduced, and the storage space occupied by the data is reduced.
In summary, the embodiment of the invention backs up the cloud platform system before upgrading, and restores to the state before upgrading after failure occurs in the upgrading process, and is mainly used for the cloud platform for disk resource management by using the LVM. And backing up the cloud platform before upgrading by using the snapshot technology of the LVM, and recovering the partition by using the snapshot of the corresponding partition when failure occurs in the upgrading process. In addition, backup and restore of the boot partition is required because the boot partition cannot use the snapshot technology of the LVM. By the aid of the technology, when the cloud platform fails, the cloud platform is restored to the state before upgrading.
In the foregoing embodiments, a detailed description is given of a control method of a cloud platform, and the present invention further provides a control device of a cloud platform and a corresponding embodiment of a control device of a cloud platform. It should be noted that the present invention describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
Fig. 5 is a block diagram of a control device of a cloud platform according to an embodiment of the present invention. The embodiment is based on the angle of the functional module, and comprises:
the acquiring and backup module 10 is configured to acquire initial data of each partition of the cloud platform system before detecting that the cloud platform system is upgraded; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring the backup data of each partition;
the control and detection module 11 is used for controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
and the recovery module 12 is configured to recover current data of the corresponding partition by using backup data of each partition when the upgrade status is detected to be upgrade failure.
In some embodiments, further comprising:
the first acquisition module is used for acquiring files used for recording all partitions of the cloud platform system and corresponding mounting catalogs under each partition in the cloud platform system;
The first determining module is used for determining partition information of a system disk of the cloud platform system according to all partitions used for recording the cloud platform system and files of the corresponding mounting catalogs under each partition;
the second determining module is used for determining the type of the storage data of each partition according to the partition information; the type of the stored data at least comprises the type of the stored guiding data, the type of the stored user data and the type of the data with the stored time length smaller than a preset value.
Further comprises:
the first arrangement module is used for arranging all the partitions of the cloud platform system according to a preset backup sequence;
the acquiring and backing-up module 10 specifically includes a first backing-up module, where the first backing-up module is configured to back up initial data of each partition according to a type of stored data of each partition;
the first backup module specifically includes:
the judging module is used for judging whether the type of the stored data of the current partition is the type of the stored guide data or not; the current partition is any one partition among all partitions of the cloud platform system; if not, triggering a snapshot processing module, a second acquisition module, a first serving module and a third determination module in sequence; if yes, triggering a determining and acquiring module, an acquiring and creating module, a second backup module and a third backup module in sequence;
The snapshot processing module is specifically used for carrying out snapshot processing on the initial data of the current partition so as to backup the initial data of the current partition;
the second acquisition module is used for acquiring the number of the partitions which are backed up after snapshot processing of the partitions is detected to be present;
the first module is used for taking the next partition of the current partition as a new current partition and returning to the trigger judging module under the condition that the number of the partitions which finish backup is detected to be smaller than the number of all the partitions;
the third determining module is used for determining that the backup of the initial data of all the partitions is completed under the condition that the number of the partitions which complete the backup is detected to be equal to the number of all the partitions;
the determining and acquiring module is used for determining the current partition as a guide partition and acquiring initial data of the guide partition;
the acquisition and creation module is used for acquiring a root partition of the cloud platform system and creating a backup catalog in the root partition; wherein, the backup catalog comprises a guide catalog;
the second backup module is used for backing up the initial data of the guide partition to the guide catalog;
the third backup module is used for carrying out snapshot processing on the root partition after detecting that the initial data of the guide partition is backed up to the guide catalog, so as to backup the initial data of the guide partition; and returning to trigger the second acquisition module.
The first arrangement module includes:
the third acquisition module is used for acquiring the target partition corresponding to the type of the data with the storage duration smaller than the preset value from all the partitions of the cloud platform system;
the fourth acquisition module is used for acquiring other partitions except the target partition in all the partitions;
second, the other partitions are used as new all partitions of the cloud platform system;
and the second arrangement module is used for arranging all new partitions according to a preset backup sequence.
Further comprises:
the generation module is used for generating a backup configuration file containing the corresponding relation between each partition and the snapshot created for each partition; the backup configuration file is recorded with a logical volume management and universal unique identification code of each partition, and a snapshot name and universal unique identification code corresponding to each partition;
the placement module is used for placing the backup configuration file in a backup catalog under the root partition;
further comprises: a fourth determining module, configured to determine backup data of each partition;
the fourth determination module includes:
a fifth obtaining module, configured to obtain information in the backup configuration file;
and the first recovery module is used for recovering the logical volume management snapshot to recover the backup data of each partition.
The partition is a guide partition, and the system further comprises a second recovery module for recovering the current data of the guide partition by using the backup data of the guide partition;
the second recovery module includes:
a sixth obtaining module, configured to obtain a first file corresponding to backup data of the boot partition and a second file corresponding to current data of the boot partition;
the comparison module is used for comparing the first file with the second file;
a seventh obtaining module, configured to obtain a file in which a file name in the second file is the same as a file name in the first file, and a file in which a file name in the second file is different from a file name in the first file;
the system comprises a coverage module, a file management module and a file management module, wherein the coverage module is used for covering files with file names identical to the file names in the first file by using backup data corresponding to files with file names identical to the file names in the second file, and deleting files with file names different from the file names in the first file in the second file; and regenerating the boot configuration file through the boot instruction to complete the recovery of the current data of the boot partition.
Further comprises:
the upgrading module is used for upgrading the cloud platform system by utilizing the recovered current data;
The eighth acquisition module is used for acquiring a backup configuration file under a backup catalog after the successful upgrading of the cloud platform system is detected;
the first deleting module is used for deleting the snapshot information corresponding to each partition according to the partition information in the backup configuration file and the snapshot information corresponding to each partition;
and the second deleting module is used for deleting the backup catalogue under the root partition.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein. And has the same advantageous effects as the control method of the cloud platform mentioned above.
Fig. 6 is a block diagram of a control device of a cloud platform according to another embodiment of the present invention. The control device of the cloud platform according to this embodiment includes, based on the hardware angle, as shown in fig. 6:
a memory 20 for storing a computer program;
the processor 21 is configured to implement the steps of the control method of the cloud platform as mentioned in the above embodiments when executing the computer program.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, GPU) for taking care of rendering and drawing of content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, after being loaded and executed by the processor 21, can implement the relevant steps of the control method of the cloud platform disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. The data 203 may include, but is not limited to, data related to the above-mentioned control method of the cloud platform, and the like.
In some embodiments, the control device of the cloud platform may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the structure shown in fig. 6 does not constitute a limitation of the control device of the cloud platform and may include more or fewer components than illustrated.
The control device of the cloud platform provided by the embodiment of the invention comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: the control method of the cloud platform has the same effects.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The computer readable storage medium provided by the invention comprises the control method of the cloud platform, and the control method has the same effects.
The control method, the device, the equipment and the medium of the cloud platform provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. The control method of the cloud platform is characterized by comprising the following steps of:
before detecting the upgrading of a cloud platform system, acquiring initial data of each partition of the cloud platform system; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring backup data of each partition;
controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
and under the condition that the upgrading state is detected to be failed in upgrading, recovering the current data of the corresponding partition by utilizing the backup data of each partition.
2. The control method of a cloud platform according to claim 1, further comprising, before the backup of the initial data of each of the partitions according to the type of the stored data of each of the partitions:
acquiring files used for recording all the partitions of the cloud platform system and corresponding mounting catalogs under each partition in the cloud platform system;
determining partition information of a system disk of the cloud platform system according to the files used for recording all the partitions of the cloud platform system and the corresponding mounting catalogs under each partition;
Determining the type of the storage data of each partition according to the partition information; the type of the storage data at least comprises the type of the storage guide data, the type of the storage user data and the type of the data with the storage duration smaller than a preset value.
3. The control method of a cloud platform according to claim 2, further comprising, before the backup of the initial data of each of the partitions according to the type of the stored data of each of the partitions:
arranging all the partitions of the cloud platform system according to a preset backup sequence;
the backing up the initial data of each partition according to the type of the stored data of each partition includes:
judging whether the type of the stored data of the current partition is the type of the stored guide data or not; the current partition is any one partition among all the partitions of the cloud platform system;
if not, carrying out snapshot processing on the initial data of the current partition so as to backup the initial data of the current partition;
obtaining the number of the partitions which are backed up from the beginning of the snapshot processing of the partition which is detected to exist, taking the next partition of the current partition as a new current partition under the condition that the number of the partitions which are backed up is detected to be smaller than the number of all the partitions, and returning to the step of judging whether the type of the storage data of the current partition is the type of the storage guide data; determining that backup of the initial data of all the partitions is completed when the number of the partitions completing the backup is detected to be equal to the number of all the partitions;
If yes, determining the current partition as a guide partition, and acquiring the initial data of the guide partition;
acquiring a root partition of the cloud platform system, and creating a backup catalog in the root partition; wherein, the backup catalog comprises a guide catalog;
backing up the initial data of the boot partition to the boot catalog;
after the initial data of the guide partition is detected to be backed up to the guide catalog, snapshot processing is carried out on the root partition so as to backup the initial data of the guide partition; and returning to the step of obtaining the number of the partitions which are backed up after the snapshot processing start of the partition which is detected to exist by the self-detection.
4. The method for controlling a cloud platform according to claim 3, wherein the arranging all the partitions of the cloud platform system according to a preset backup sequence includes:
acquiring target partitions corresponding to the types of the data with the storage duration smaller than a preset value in all the partitions of the cloud platform system;
acquiring other partitions except the target partition in all the partitions;
Taking the other partitions as all new partitions of the cloud platform system;
and arranging all the new partitions according to a preset backup sequence.
5. The control method of a cloud platform according to claim 3 or 4, further comprising, before snapshot processing of the initial data of each of the partitions:
generating a backup configuration file containing the corresponding relation between each partition and the snapshot created for each partition; the backup configuration file is recorded with a logical volume management and universal unique identification code of each partition, and a name and universal unique identification code of the snapshot corresponding to each partition;
placing the backup configuration file in the backup directory under the root partition;
correspondingly, determining the backup data of each partition includes:
acquiring information in the backup configuration file;
and recovering the logical volume management snapshot to recover the backup data of each partition.
6. The method of claim 5, wherein the partition is the boot partition, and recovering the current data of the boot partition with the backup data of the boot partition comprises:
Acquiring a first file corresponding to the backup data of the guide partition and a second file corresponding to the current data of the guide partition;
comparing the first file with the second file;
acquiring a file with the same file name in the second file as the file name in the first file, and a file with the different file name in the second file as the file name in the first file;
covering the files with the file names identical to the file names in the first file in the second file by using the backup data corresponding to the files with the file names identical to the file names in the second file, and deleting the files with the file names different from the file names in the first file in the second file; and regenerating a boot configuration file through a boot instruction to complete recovery of the current data of the boot partition.
7. The method according to claim 6, further comprising, after the restoring the current data of the corresponding partition using the backup data of each partition:
upgrading the cloud platform system by utilizing the recovered current data;
After the cloud platform system is successfully upgraded, acquiring the backup configuration file under the backup catalog;
deleting the snapshot information corresponding to each partition according to the partition information and the snapshot information corresponding to each partition in the backup configuration file;
and deleting the backup catalog under the root partition.
8. A control device for a cloud platform, comprising:
the system comprises an acquisition and backup module, a data processing module and a data processing module, wherein the acquisition and backup module is used for acquiring initial data of each partition of a cloud platform system before the cloud platform system is detected to be upgraded; backing up the initial data of each partition according to the type of the stored data of each partition, and acquiring backup data of each partition;
the control and detection module is used for controlling the cloud platform system to upgrade and detecting the upgrade state of the cloud platform system;
and the recovery module is used for recovering the current data of the corresponding partition by using the backup data of each partition under the condition that the upgrading state is detected to be the upgrading failure.
9. A control device of a cloud platform, characterized by comprising:
a memory for storing a computer program;
A processor for implementing the steps of the control method of a cloud platform according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the control method of a cloud platform according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311460366.2A CN117492920A (en) | 2023-11-03 | 2023-11-03 | Control method, device, equipment and medium of cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311460366.2A CN117492920A (en) | 2023-11-03 | 2023-11-03 | Control method, device, equipment and medium of cloud platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117492920A true CN117492920A (en) | 2024-02-02 |
Family
ID=89684307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311460366.2A Pending CN117492920A (en) | 2023-11-03 | 2023-11-03 | Control method, device, equipment and medium of cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117492920A (en) |
-
2023
- 2023-11-03 CN CN202311460366.2A patent/CN117492920A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6820214B1 (en) | Automated system recovery via backup and restoration of system state | |
US10067835B2 (en) | System reset | |
US6920555B1 (en) | Method for deploying an image into other partition on a computer system by using an imaging tool and coordinating migration of user profile to the imaged computer system | |
US7181646B2 (en) | Mapping apparatus for backup and restoration of multi-generation recovered snapshots | |
KR100758292B1 (en) | A method for renovating the computer operating system | |
US6851073B1 (en) | Extensible system recovery architecture | |
CA2178213C (en) | Incremental backup system | |
CN106062742B (en) | System and method for improving snapshot performance | |
WO2017049828A1 (en) | Method, device and system for data processing based on linux | |
US20050289533A1 (en) | Method and system for updating a software image | |
CN108241550B (en) | Backup and restoration method for operating system | |
EP3769224B1 (en) | Configurable recovery states | |
CN110188000A (en) | Application disaster recovery method and system based on virtualization and iSCSI or FC | |
US20120311279A1 (en) | Data recovery and backup system and process | |
EP3474143B1 (en) | Method and apparatus for incremental recovery of data | |
JPH09101912A (en) | Difference backup system | |
CN113886143B (en) | Virtual machine continuous data protection method and device and data recovery method and device | |
CN110209525B (en) | Operating system restoration method and device | |
CN110941516B (en) | Operating system restoration method, device, equipment and storage medium | |
CN114281798A (en) | Data migration method and device for heterogeneous database and computer readable medium | |
CN112579361B (en) | Backup data reconstruction method, device, equipment and storage medium | |
US20030037279A1 (en) | HDD data backup and recovery method | |
CN115576743B (en) | Operating system recovery method, operating system recovery device, computer equipment and storage medium | |
CN117492920A (en) | Control method, device, equipment and medium of cloud platform | |
CN114840362A (en) | Cloud host recovery method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |