CN114528155B - Disaster recovery method, platform, system, computer equipment and storage medium - Google Patents
Disaster recovery method, platform, system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114528155B CN114528155B CN202210130365.0A CN202210130365A CN114528155B CN 114528155 B CN114528155 B CN 114528155B CN 202210130365 A CN202210130365 A CN 202210130365A CN 114528155 B CN114528155 B CN 114528155B
- Authority
- CN
- China
- Prior art keywords
- backup
- cloud platform
- information
- historical
- disaster recovery
- 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.)
- Active
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 155
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Classifications
-
- 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
- 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/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to the field of data backup technologies, and in particular, to a disaster recovery method, a platform, a system, a computer device, and a storage medium. The disaster recovery method is applied to a disaster recovery platform and comprises the following steps of recording historical tenant information of a historical tenant and historical cloud platform information corresponding to the historical tenant information in advance, enabling the historical cloud platform information to be information of a cloud platform where backup data of the historical tenant are located, obtaining disaster recovery requirements, analyzing and obtaining target tenant information and target backup information of a target tenant according to the disaster recovery requirements, matching the target tenant information with the historical tenant information to obtain matched historical tenant information and the historical cloud platform information corresponding to the matched historical tenant information, generating an effective backup request according to the historical cloud platform information and the target backup information obtained through matching, and sending the effective backup request to a cloud platform corresponding to the historical cloud platform information so that the cloud platform can execute backup operation according to the effective backup request.
Description
Technical Field
The present invention relates to the field of data backup technologies, and in particular, to a disaster recovery method, a platform, a system, a computer device, and a storage medium.
Background
Based on the safety and high availability of the system on the cloud, disaster recovery backup is a very necessary measure for key resources such as virtual machines, files, databases and the like on the cloud platform. The types of the cloud platform are divided into openstack, vmware, hyper-v at present, and the disaster recovery work is required to be manually performed among all cloud platform systems due to the mixed cloud environment of openstack, vmware, hyper-v and the distribution of multiple sites, clusters and tenants of the cloud platform systems. Each cloud platform has a data backup method matched with the cloud platform, and as the number of systems on the cloud increases, the resource disaster recovery work of a plurality of systems becomes more and more heavy. In this case, a unified, intelligent disaster recovery approach is very necessary and important.
In the prior art, the clusters are widely distributed and numerous in tenants, a unified disaster recovery method is not available for centralized configuration, management and monitoring of all the clusters and all the tenants, and the backup modes of most cloud platforms are single, so that various backup requirements and service scenes cannot be met. For example, virtual machine backup, file backup and database backup according to resource, full-volume backup and incremental backup according to backup content, single backup, hourly backup, daily backup, weekly backup and monthly backup according to time, and the prior art also lacks a technology for automatically identifying and intelligently performing disaster recovery on disaster recovery requirements of tenants.
Disclosure of Invention
The invention aims to overcome at least one defect (deficiency) of the prior art, and provides a disaster recovery method, a disaster recovery platform, a disaster recovery system, computer equipment and a storage medium, which are used for intelligently identifying disaster recovery requirements and uniformly backing up resources on various cloud platforms.
The technical scheme adopted by the first aspect of the invention is as follows:
a disaster recovery method is applied to a disaster recovery platform and comprises the following steps:
The method comprises the steps of recording historical tenant information of historical tenants and historical cloud platform information corresponding to the historical tenant information in advance, wherein the historical cloud platform information is information of a cloud platform where backup data of the historical tenants are located;
acquiring disaster recovery requirements, and analyzing according to the disaster recovery requirements to obtain target tenant information and target backup information of a target tenant;
matching the target tenant information with the history tenant information to obtain matched history tenant information and history cloud platform information corresponding to the matched history tenant information;
and generating an effective backup request according to the history cloud platform information and the target backup information which are obtained by matching, and sending the effective backup request to a cloud platform corresponding to the history cloud platform information so that the cloud platform executes backup operation according to the effective backup request.
Further, the cloud platform includes a plurality of clusters, each cluster including backup data, the target tenant information including a target tenant name and a resource address of the backup data.
Further, the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a key corresponding to the historical tenant information;
the target backup information comprises at least one of a backup type, a backup plan and a backup option;
According to the history cloud platform information and the target backup information obtained by matching, generating an effective backup request comprises:
and generating a backup request of the cloud platform corresponding to the historical cloud platform information according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type and the historical cloud platform address, and generating an effective backup request according to the backup request and a secret key corresponding to the historical tenant information.
Further, obtaining disaster recovery requirements includes:
when disaster recovery operation is automatically carried out, acquiring disaster recovery requirements from a work order platform;
And when the disaster recovery operation is manually carried out, receiving the disaster recovery requirement sent by the user.
Further, sending the valid backup request to a corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further includes:
and receiving the response and the backup operation state sent by the cloud platform, and periodically sending a query request to the cloud platform to query the backup operation state of the cloud platform.
Further, sending the valid backup request to a corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further includes:
And if the backup operation fails, receiving a failure reason sent by the cloud platform and updating the disaster recovery state.
The technical scheme adopted by the second aspect of the invention is as follows:
A disaster recovery platform comprising:
The system comprises a recording module, a recording module and a processing module, wherein the recording module is used for pre-recording historical tenant information of a historical tenant and historical cloud platform information corresponding to the historical tenant information;
The demand acquisition module is used for acquiring disaster recovery demand, and analyzing and obtaining target tenant information and target backup information of a target tenant according to the disaster recovery demand;
the matching module is used for matching the target tenant information with the history tenant information to obtain matched history tenant information and history cloud platform information corresponding to the matched history tenant information;
And the request module is used for generating an effective backup request according to the history cloud platform information and the target backup information which are obtained by matching, and sending the effective backup request to a cloud platform corresponding to the history cloud platform information so that the cloud platform executes backup operation according to the effective backup request.
The technical scheme adopted by the third aspect of the invention is as follows:
the disaster recovery system comprises a disaster recovery platform, a work order platform and a cloud platform;
the work order platform is used for receiving disaster recovery requirements sent by a user;
The disaster recovery platform is used for pre-recording historical tenant information and historical cloud platform information corresponding to the historical tenant information, acquiring disaster recovery requirements from a work order platform, analyzing target tenant information and target backup information according to the disaster recovery requirements, matching the target tenant information with the historical tenant information to obtain matched historical tenant information and historical cloud platform information corresponding to the matched historical tenant information, generating an effective backup request according to the historical cloud platform information and the target backup information obtained by matching, and sending the effective backup request to a cloud platform corresponding to the historical cloud platform information;
and the cloud platform is used for executing backup operation according to the effective backup request.
The technical scheme adopted by the fourth aspect of the invention is as follows:
A computer device comprising a memory storing a computer program and a processor implementing the disaster recovery method when executing the computer program.
The technical scheme adopted by the fifth aspect of the invention is as follows:
a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the disaster recovery method.
Compared with the prior art, the invention has the beneficial effects that:
According to the disaster recovery method provided by the invention, the disaster recovery requirements are intelligently obtained through the unified disaster recovery platform, the disaster recovery requirements are analyzed, the cloud platform needing to be backed up is matched after analysis, and an effective backup request is sent to the cloud platform so as to execute backup operation by using the cloud platform, so that the method is suitable for various types of cloud platforms, and the backup operation of each tenant can be configured and managed in a centralized manner. Furthermore, the disaster recovery method can realize diversified backup operation, can execute backup operation of various backup types, backup plans and backup options, and meets specific backup requirements of various application scenes and tenants.
Drawings
Fig. 1 is a flowchart of a disaster recovery method according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of a disaster recovery method according to embodiment 1 of the present invention.
Fig. 3 is a schematic diagram of each module of embodiment 2 of the present invention.
Fig. 4 is a schematic diagram of a disaster recovery system according to embodiment 3 of the present invention.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the invention. For better illustration of the following embodiments, some parts of the drawings may be omitted, enlarged or reduced, and not represent the actual product size, and it will be understood by those skilled in the art that some well-known structures in the drawings and their descriptions may be omitted.
Example 1
As shown in fig. 1, the present embodiment provides a disaster recovery method applied to a disaster recovery platform, so that the disaster recovery platform can be matched with various types of cloud platforms, and backup data stored on the cloud platforms can be quickly and conveniently backed up.
The disaster recovery method comprises the following steps:
And S1, pre-recording historical tenant information of a historical tenant and historical cloud platform information corresponding to the historical tenant information.
The historical tenant is a tenant storing data on each cloud platform in advance, and the historical tenant information is information of the tenant storing data on each cloud platform in advance, for example, a tenant name, a resource address of backup data thereof and the like, and is used for matching with target tenant information of a target tenant needing to be backed up later. The historical cloud platform information is information of a cloud platform where backup data of the historical tenant is located, and comprises information such as a type of the historical cloud platform, an address of the historical cloud platform, a key corresponding to the information of the historical tenant and the like, and specifically, the type and the address of the cloud platform where the backup data of the historical tenant is located can be respectively used as the type and the address of the historical cloud platform. The cloud platform types mainly comprise VMware, hyper-v, KVM and the like.
S21, obtaining disaster recovery requirements.
Disaster backup operations for backing up data can be classified into automatic operations and manual operations;
when the disaster recovery operation is automatically performed, the obtaining the disaster recovery requirement in step S21 includes:
And acquiring disaster recovery requirements from the work order platform.
The work order platform receives the disaster recovery work order sent by the user, stores the disaster recovery work order into a database of the work order platform, and opens an API interface to the disaster recovery platform so that the disaster recovery platform can automatically acquire the disaster recovery work order through the API interface, and takes the disaster recovery work order as a disaster recovery requirement to realize intelligent acquisition of the disaster recovery requirement.
When the disaster recovery operation is performed manually, the obtaining the disaster recovery requirement in step S21 includes:
And receiving disaster recovery requirements sent by the user.
And the user manually sends the disaster recovery requirement to the disaster recovery platform so that the disaster recovery platform receives the disaster recovery requirement.
After the disaster recovery platform obtains the disaster recovery requirements, analyzing the disaster recovery requirements to obtain target tenant information and target backup information of target tenants needing to be backed up. Specifically, step S22 is performed:
S22, analyzing and obtaining target tenant information and target backup information of the target tenant according to the disaster recovery requirement.
As shown in fig. 2, the cloud platform includes a plurality of clusters, each cluster including backup data.
Each cluster comprises at least one host, each host corresponds to one virtual machine, the virtual machines are stored with databases and file systems, and the backup data comprise the databases and the file systems. The database mainly comprises MySQL, mongoDB, orale, sqlServer and the like, and the file system mainly comprises configuration files, log files, application files, media files and the like.
The target tenant information includes information of the tenant that needs to be backed up, for example, a target tenant name of the target tenant that needs to be backed up, a resource address of backup data, and the like.
The target backup information is backup requirement information of the tenant needing to be backed up, for example, at least one of a backup type, a backup plan and a backup option. The backup schedule comprises at least one of immediate backup, timed backup, backup performed at specified intervals within a certain time period, backup performed at specified intervals days, backup performed at specified intervals weeks and days per week, backup performed at specified months and days per month, and backup contents which can be taken as backup options and comprise but are not limited to full-scale backup and incremental backup. When the backup type is file backup, the full backup can select appointed files or folders in backup data to backup, the incremental backup can not select appointed files or folders and can only backup the changed parts of the selected files or folders in the appointed full backup, when the backup type is database backup, the full backup can select appointed databases or appointed tables to backup, and the incremental backup can only select the changed parts of the databases or tables in the full backup to backup. When the full-volume backup is performed, the backup of the backup data on each cloud platform can be stored through the backup target pool, and the incremental backup can only store the backup data in the target pool which is the same as the designated full-volume backup.
And S3, matching the target tenant information with the history tenant information to obtain matched history tenant information and history cloud platform information corresponding to the matched history tenant information.
Comparing the target tenant name of the target tenant to be backed up and the resource address of the backup data with the pre-recorded historical tenant information on the disaster recovery platform to obtain the historical tenant information matched with the target tenant, and acquiring the historical cloud platform information corresponding to the target tenant based on the obtained historical tenant information, thereby acquiring the information of the cloud platform where the backup data of the target tenant is located, and enabling the subsequent backup according to the obtained cloud platform information.
S41, generating an effective backup request according to the history cloud platform information and the target backup information which are obtained through matching.
Specifically, a backup request of a cloud platform corresponding to the historical cloud platform information is generated according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type and the historical cloud platform address, and an effective backup request is generated according to the backup request and a key corresponding to the historical tenant information.
And after the step S41 is executed, continuing to execute S42, namely sending the effective backup request to a cloud platform corresponding to the historical cloud platform information so that the cloud platform executes backup operation according to the effective backup request.
The cloud platform sends the secret key to each tenant in advance, so that the target tenant can use the secret key to pass the authorization authentication of the cloud platform, and therefore HTTP requests are legally sent to the API interface of the cloud platform, and disaster recovery operation is conducted.
And forming an API request which is effective for the cloud platform storing the backup data according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type, the historical cloud platform address and other information, taking the API request as the backup request, and simultaneously, combining the key effective backup request to send the effective backup request to the cloud platform.
According to the disaster recovery method, the disaster recovery requirements are intelligently obtained through the unified disaster recovery platform, the disaster recovery requirements are analyzed, the cloud platform needing to be backed up is matched after analysis, and an effective backup request is sent to the cloud platform so as to execute backup operation by using the cloud platform, so that the method is suitable for various types of cloud platforms, and the backup operation of each tenant can be configured and managed in a centralized mode. Furthermore, the disaster recovery method of the embodiment can realize diversified backup operations, and can execute backup operations of various backup types, backup plans and backup options, thereby meeting specific backup requirements of various application scenes and tenants.
Further, sending the valid backup request to a corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further includes:
And S5, receiving the response and the backup operation state sent by the cloud platform, and periodically sending a query request to the cloud platform to query the backup operation state of the cloud platform.
If the disaster recovery platform can receive the response of the cloud platform and the backup operation state is successful, the cloud platform is indicated to start backup of the backup data, and when the backup operation is performed, the disaster recovery platform can query the backup operation state at regular time to know the progress of the backup operation. The backup operation is displayed on the disaster recovery platform in a list form so as to be convenient for the tenant to inquire.
And S6, if the backup operation fails, receiving a failure reason sent by the cloud platform and updating the disaster recovery state.
When the disaster recovery requirement is obtained from the work order platform, the disaster recovery state is updated in the disaster recovery work order of the work order platform, so that a user who sends the disaster recovery work order can timely know the failure reason of the backup operation, and the backup is re-executed.
Example 2
The present embodiment and embodiment 1 provide a disaster recovery platform based on the same inventive concept, as shown in fig. 3, including:
the recording module 1 is used for pre-recording historical tenant information of a historical tenant and historical cloud platform information corresponding to the historical tenant information, wherein the historical cloud platform information is information of a cloud platform where backup data of the historical tenant are located;
The demand acquisition module 2 is used for acquiring disaster recovery demand, and analyzing and obtaining target tenant information and target backup information of a target tenant according to the disaster recovery demand;
The matching module 3 is configured to match the target tenant information with the historical tenant information, and obtain matched historical tenant information and historical cloud platform information corresponding to the matched historical tenant information;
And the request module 4 is used for generating an effective backup request according to the history cloud platform information and the target backup information which are obtained by matching, and sending the effective backup request to a cloud platform corresponding to the history cloud platform information so that the cloud platform executes backup operation according to the effective backup request.
Further, the cloud platform includes a plurality of clusters, each cluster including backup data, the target tenant information including a target tenant name and a resource address of the backup data.
Further, the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a secret key corresponding to the historical tenant information, and the target backup information comprises at least one of a backup type, a backup plan and a backup option;
the request module 4 generates an effective backup request according to the history cloud platform information and the target backup information obtained by matching, and the effective backup request comprises the following steps:
The request module 4 generates a backup request of the cloud platform corresponding to the historical cloud platform information according to the historical cloud platform type and the historical cloud platform address and at least one of the backup type, the backup plan and the backup options, and generates an effective backup request according to the backup request and a key corresponding to the historical tenant information.
Further, the requirement obtaining module 2 obtains disaster recovery requirements, including:
when disaster recovery operation is automatically carried out, the demand acquisition module 2 acquires disaster recovery demands from the work order platform;
when the disaster recovery operation is manually performed, the demand acquisition module 2 receives the disaster recovery demand sent by the user.
Further, the request module 4 sends the valid backup request to the corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further includes:
The request module 4 receives the response and the backup operation state sent by the cloud platform, and periodically sends a query request to the cloud platform to query the backup operation state of the cloud platform.
Further, the request module 4 sends the valid backup request to the corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further includes:
if the backup operation fails, the request module 4 receives the failure reason sent by the cloud platform and updates the disaster recovery status.
According to the embodiment, the disaster recovery requirements are intelligently obtained through the unified disaster recovery platform, the disaster recovery requirements are analyzed, the cloud platform needing backup is matched after analysis, and an effective backup request is sent to the cloud platform so as to execute backup operation by using the cloud platform, so that the method is suitable for various types of cloud platforms, and the backup operation of each tenant can be configured and managed in a centralized manner. Furthermore, the disaster recovery platform can realize diversified backup operation, and can execute backup operation of various backup types, backup plans and backup options, thereby meeting specific backup requirements of various application scenes and tenants.
Example 3
As shown in fig. 4, the present embodiment and embodiment 1 provide a disaster recovery system based on the same inventive concept, including a disaster recovery platform, a work order platform and a cloud platform;
the work order platform is used for receiving disaster recovery requirements sent by a user;
The disaster recovery platform is used for pre-recording historical tenant information and historical cloud platform information corresponding to the historical tenant information, acquiring disaster recovery requirements from a work order platform, analyzing target tenant information and target backup information according to the disaster recovery requirements, matching the target tenant information with the historical tenant information to obtain matched historical tenant information and historical cloud platform information corresponding to the matched historical tenant information, generating an effective backup request according to the historical cloud platform information and the target backup information obtained by matching, and sending the effective backup request to a cloud platform corresponding to the historical cloud platform information;
and the cloud platform is used for executing backup operation according to the effective backup request.
Further, the cloud platform includes a plurality of clusters, each cluster including backup data, the target tenant information including a target tenant name and a resource address of the backup data.
Further, the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a key corresponding to the historical tenant information;
the target backup information comprises at least one of a backup type, a backup plan and a backup option;
the disaster recovery platform generates an effective backup request according to the history cloud platform information and the target backup information obtained by matching, and the method comprises the following steps:
and the disaster recovery platform generates a backup request of the cloud platform corresponding to the historical cloud platform information according to the historical cloud platform type and the historical cloud platform address and at least one of the backup type, the backup plan and the backup options, and generates an effective backup request according to the backup request and a key corresponding to the historical tenant information.
Further, the disaster recovery platform obtains disaster recovery requirements, including:
when disaster recovery operation is automatically carried out, the disaster recovery platform acquires disaster recovery requirements from the work order platform;
when the disaster recovery operation is manually performed, the disaster recovery platform receives disaster recovery requirements sent by the user.
Further, the disaster recovery platform sends the effective backup request to a corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further comprises the following steps:
And the disaster recovery platform receives the response and the backup operation state sent by the cloud platform and periodically sends a query request to the cloud platform so as to query the backup operation state of the cloud platform.
Further, the disaster recovery platform sends the effective backup request to a corresponding cloud platform, so that after the cloud platform executes the backup operation, the method further comprises the following steps:
And if the backup operation fails, the disaster recovery platform receives the failure reason sent by the cloud platform and updates the disaster recovery state.
According to the embodiment, the disaster recovery requirements are intelligently obtained through the unified disaster recovery platform, the disaster recovery requirements are analyzed, the cloud platform needing backup is matched after analysis, and an effective backup request is sent to the cloud platform so as to execute backup operation by using the cloud platform, so that the method is suitable for various types of cloud platforms, and the backup operation of each tenant can be configured and managed in a centralized manner. Furthermore, the disaster recovery platform can realize diversified backup operation, and can execute backup operation of various backup types, backup plans and backup options, thereby meeting specific backup requirements of various application scenes and tenants.
Example 4
The present embodiment provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the disaster recovery method as described in embodiment 1 when executing the computer program.
Example 5
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the disaster recovery method as described in embodiment 1.
It should be understood that the foregoing examples of the present invention are merely illustrative of the present invention and are not intended to limit the present invention to the specific embodiments thereof. Any modification, equivalent replacement, improvement, etc. that comes within the spirit and principle of the claims of the present invention should be included in the protection scope of the claims of the present invention.
Claims (9)
1. The disaster recovery method is characterized by being applied to a disaster recovery platform and comprising the following steps of:
The method comprises the steps of recording historical tenant information of historical tenants and historical cloud platform information corresponding to the historical tenant information in advance, wherein the historical cloud platform information is information of a cloud platform where backup data of the historical tenants are located;
acquiring disaster recovery requirements, and analyzing according to the disaster recovery requirements to obtain target tenant information and target backup information of a target tenant;
matching the target tenant information with the history tenant information to obtain matched history tenant information and history cloud platform information corresponding to the matched history tenant information;
Generating an effective backup request according to the history cloud platform information and the target backup information obtained by matching, and sending the effective backup request to a cloud platform corresponding to the history cloud platform information so that the cloud platform executes backup operation according to the effective backup request;
the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a secret key corresponding to the historical tenant information;
the target backup information comprises at least one of a backup type, a backup plan and a backup option;
According to the history cloud platform information and the target backup information obtained by matching, generating an effective backup request comprises:
and generating a backup request of the cloud platform corresponding to the historical cloud platform information according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type and the historical cloud platform address, and generating an effective backup request according to the backup request and a secret key corresponding to the historical tenant information.
2. The disaster recovery method of claim 1, wherein the cloud platform comprises a plurality of clusters, each cluster comprising backup data, the target tenant information comprising a target tenant name and a resource address of the backup data.
3. The disaster recovery method of claim 1, wherein obtaining disaster recovery requirements comprises:
when disaster recovery operation is automatically carried out, acquiring disaster recovery requirements from a work order platform;
And when the disaster recovery operation is manually carried out, receiving the disaster recovery requirement sent by the user.
4. The disaster recovery method of claim 1, wherein sending the valid backup request to the corresponding cloud platform to cause the cloud platform to perform the backup operation further comprises:
and receiving the response and the backup operation state sent by the cloud platform, and periodically sending a query request to the cloud platform to query the backup operation state of the cloud platform.
5. The disaster recovery method of claim 1, wherein sending the valid backup request to the corresponding cloud platform to cause the cloud platform to perform the backup operation further comprises:
And if the backup operation fails, receiving a failure reason sent by the cloud platform and updating the disaster recovery state.
6. A disaster recovery platform comprising:
The system comprises a recording module, a recording module and a processing module, wherein the recording module is used for pre-recording historical tenant information of a historical tenant and historical cloud platform information corresponding to the historical tenant information;
The demand acquisition module is used for acquiring disaster recovery demand, and analyzing and obtaining target tenant information and target backup information of a target tenant according to the disaster recovery demand;
the matching module is used for matching the target tenant information with the history tenant information to obtain matched history tenant information and history cloud platform information corresponding to the matched history tenant information;
The request module is used for generating an effective backup request according to the history cloud platform information and the target backup information which are obtained by matching, and sending the effective backup request to a cloud platform corresponding to the history cloud platform information so that the cloud platform executes backup operation according to the effective backup request;
the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a secret key corresponding to the historical tenant information;
the target backup information comprises at least one of a backup type, a backup plan and a backup option;
According to the history cloud platform information and the target backup information obtained by matching, generating an effective backup request comprises:
and generating a backup request of the cloud platform corresponding to the historical cloud platform information according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type and the historical cloud platform address, and generating an effective backup request according to the backup request and a secret key corresponding to the historical tenant information.
7. The disaster recovery system is characterized by comprising a disaster recovery platform, a work order platform and a cloud platform;
the work order platform is used for receiving disaster recovery requirements sent by a user;
The disaster recovery platform is used for pre-recording historical tenant information and historical cloud platform information corresponding to the historical tenant information, acquiring disaster recovery requirements from a work order platform, analyzing target tenant information and target backup information according to the disaster recovery requirements, matching the target tenant information with the historical tenant information to obtain matched historical tenant information and historical cloud platform information corresponding to the matched historical tenant information, generating an effective backup request according to the historical cloud platform information and the target backup information obtained by matching, and sending the effective backup request to a cloud platform corresponding to the historical cloud platform information;
the cloud platform is used for executing backup operation according to the effective backup request;
the historical cloud platform information comprises a historical cloud platform type, a historical cloud platform address and a secret key corresponding to the historical tenant information;
the target backup information comprises at least one of a backup type, a backup plan and a backup option;
According to the history cloud platform information and the target backup information obtained by matching, generating an effective backup request comprises:
and generating a backup request of the cloud platform corresponding to the historical cloud platform information according to at least one of the backup type, the backup plan and the backup options, the historical cloud platform type and the historical cloud platform address, and generating an effective backup request according to the backup request and a secret key corresponding to the historical tenant information.
8. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the disaster recovery method of any of claims 1 to 5 when executing the computer program.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the disaster recovery method according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210130365.0A CN114528155B (en) | 2022-02-11 | 2022-02-11 | Disaster recovery method, platform, system, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210130365.0A CN114528155B (en) | 2022-02-11 | 2022-02-11 | Disaster recovery method, platform, system, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114528155A CN114528155A (en) | 2022-05-24 |
CN114528155B true CN114528155B (en) | 2024-12-17 |
Family
ID=81621953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210130365.0A Active CN114528155B (en) | 2022-02-11 | 2022-02-11 | Disaster recovery method, platform, system, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114528155B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118300900B (en) * | 2024-06-05 | 2024-09-10 | 浙江九州未来信息科技有限公司 | Multi-cluster multi-user oriented cloud platform management system and authentication method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683161A (en) * | 2015-03-18 | 2015-06-03 | 杭州华三通信技术有限公司 | Network management method and device based on SaaS (software as a service) |
CN109040276A (en) * | 2018-08-20 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of method, apparatus, computer storage medium and terminal constructing cloud platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254118A1 (en) * | 2011-03-31 | 2012-10-04 | Microsoft Corporation | Recovery of tenant data across tenant moves |
CN111708588B (en) * | 2020-06-15 | 2023-03-21 | 东莞中国科学院云计算产业技术创新与育成中心 | Cloud platform resource processing method and device, computer equipment and storage medium |
-
2022
- 2022-02-11 CN CN202210130365.0A patent/CN114528155B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683161A (en) * | 2015-03-18 | 2015-06-03 | 杭州华三通信技术有限公司 | Network management method and device based on SaaS (software as a service) |
CN109040276A (en) * | 2018-08-20 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of method, apparatus, computer storage medium and terminal constructing cloud platform |
Also Published As
Publication number | Publication date |
---|---|
CN114528155A (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7945814B2 (en) | Remedying method for troubles in virtual server system and system thereof | |
US7080105B2 (en) | System and method for data backup | |
US20170177677A1 (en) | Query task processing based on memory allocation and performance criteria | |
US9535685B1 (en) | Smartly identifying a version of a software application for installation | |
CN110019469B (en) | Distributed database data processing method and device, storage medium and electronic device | |
US10261892B2 (en) | Cloud-based automated test execution factory | |
CN103699548B (en) | A kind of method and apparatus being recovered database data by usage log | |
US20070226342A1 (en) | Transaction request processing system and method | |
US10331488B2 (en) | Multilayered resource scheduling | |
US20090307236A1 (en) | Centralizing data backup records from multiple servers onto a central server | |
US11283859B1 (en) | System, method, and computer program for performing distributed outsourced computing | |
US8429660B2 (en) | Systems and methods to allocate application tasks to a pool of processing machines | |
CN110555150B (en) | Data monitoring method, device, equipment and storage medium | |
CN112288400A (en) | Multi-system data interaction method and device, computer equipment and storage medium | |
CN114528155B (en) | Disaster recovery method, platform, system, computer equipment and storage medium | |
CN104765651A (en) | Data processing method and device | |
US20130339307A1 (en) | Managing system image backup | |
CN110366709A (en) | Method and control program for operating an engineered system of an industrial process automation system | |
US9977726B2 (en) | System and method for smart framework for network backup software debugging | |
US8972352B1 (en) | Probe based backup | |
CN108521524B (en) | Agent collaborative task management method and device, computer equipment and storage medium | |
CN107844566A (en) | A kind of dump control methods and its system | |
US8726352B2 (en) | Administration of access control keys in a virtual world | |
CN114153858B (en) | Method and device for automatically updating tenant under MySQL table space | |
CN104809033B (en) | A kind of backup method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |