CN111367722B - Virtual machine backup method, device and equipment and readable storage medium - Google Patents
Virtual machine backup method, device and equipment and readable storage medium Download PDFInfo
- Publication number
- CN111367722B CN111367722B CN202010153474.5A CN202010153474A CN111367722B CN 111367722 B CN111367722 B CN 111367722B CN 202010153474 A CN202010153474 A CN 202010153474A CN 111367722 B CN111367722 B CN 111367722B
- Authority
- CN
- China
- Prior art keywords
- backup
- virtual machine
- backup client
- client
- management platform
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008676 import Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
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
- 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
- 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
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/815—Virtual
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a virtual machine backup method, a virtual machine backup device, virtual machine backup equipment and a computer readable storage medium, wherein the method comprises the following steps: establishing connection with a virtualization management platform, and importing a backup client VM (virtual machine) mirror image into a mirror image pool of the virtualization management platform; when the virtual backup is configured, sending a command for generating a virtual machine of a backup client to a virtual management platform, and instantiating a VM image of the backup client by the virtual management platform to generate a virtual machine of the backup client; sending a virtualization backup command to a backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command; and receiving virtual machine backup data sent by the virtual machine of the backup client. According to the technical scheme disclosed by the application, the VM mirror image of the backup client is directly instantiated to obtain the virtual machine of the backup client, and the backup client does not need to be obtained through manual configuration, so that the backup efficiency and flexibility of the virtual machine can be improved.
Description
Technical Field
The present application relates to the field of virtual machine backup technologies, and in particular, to a virtual machine backup method, apparatus, device, and computer readable storage medium.
Background
With the popularization of virtualization technologies, more and more customer services are carried by a virtualization platform, and how to implement VM (Virtual Machine) data backup of the virtualization platform becomes a challenge.
At present, the backup of the VM is usually performed as follows: setting a backup server (containing backup server software inside), manually installing an operating system and backup client software on a client host to obtain a backup client, sending a backup instruction to the backup client by the backup server, backing up a virtual machine inside a virtualization platform by the backup client, and sending backup data to the backup server. Because the existing virtual machine backup needs to manually configure an operating system and backup client software to obtain a backup client, the backup flexibility is low, and when the number of virtual machine backups increases, the number of backup clients needs to be manually increased to meet the requirement of virtual machine backup, which reduces the efficiency of virtual machine backup.
In summary, how to improve the efficiency and flexibility of virtual machine backup is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, an object of the present application is to provide a virtual machine backup method, apparatus, device and computer readable storage medium, which are used to improve efficiency and flexibility of virtual machine backup.
In order to achieve the above purpose, the present application provides the following technical solutions:
a virtual machine backup method is applied to a backup server and comprises the following steps:
establishing connection with a virtualization management platform, and importing a VM (virtual machine) image of a backup client into an image pool of the virtualization management platform;
when the virtual backup is configured, sending a command of generating a backup client virtual machine to the virtual management platform, and instantiating the backup client VM image by the virtual management platform according to the command of generating the backup client virtual machine to generate a backup client virtual machine; sending a virtualization backup command to the backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command;
and receiving virtual machine backup data sent by the backup client virtual machine.
Preferably, before sending the virtualized backup command to the backup client virtual machine, the method further includes:
sending a notification for starting a backup client virtual machine corresponding to the virtualization backup command to the virtualization management platform, and starting the backup client virtual machine by the virtualization management platform;
correspondingly, after receiving the virtual machine backup data sent by the backup client virtual machine, the method further includes:
and controlling the virtual machine of the backup client to be shut down.
Preferably, the controlling the backup client to power off includes:
and sending a notification of closing the virtual machine of the backup client to the virtualization management platform, and controlling the virtual machine of the backup client to be closed by the virtualization management platform.
Preferably, the controlling the shutdown of the virtual machine at the backup client includes:
and directly controlling the virtual machine of the backup client to be shut down.
Preferably, after receiving the virtual machine backup data sent by the backup client virtual machine, the method further includes:
when the number of the required backup client virtual machines corresponding to the virtualization backup command is reduced by N, deleting the N backup client virtual machines; wherein N is a positive integer;
preferably, when the virtualization management platform instantiates the backup client VM image according to the command to generate the backup client virtual machine, the virtualization management platform further includes:
and the virtualization management platform imports the IP address of the backup client, the connection information required by the connection with the backup server and the connection information required by the connection with the virtualization management platform into the virtual machine of the backup client.
A virtual machine backup device is applied to a backup server and comprises:
the connection module is used for establishing connection with a virtualization management platform and importing a VM (virtual machine) image of a backup client into an image pool of the virtualization management platform;
the first sending module is used for sending a command for generating a backup client virtual machine to the virtualization management platform when the virtualization backup is configured, and the virtualization management platform instantiates the backup client VM image according to the command for generating the backup client virtual machine so as to generate a backup client virtual machine;
the second sending module is used for sending a virtualization backup command to the backup client virtual machine, and the backup client virtual machine performs virtual machine backup according to the virtual machine backup command;
and the receiving module is used for receiving the virtual machine backup data sent by the backup client virtual machine.
Preferably, the method further comprises the following steps:
a third sending module, configured to send, to the virtualization management platform, a notification to start a backup client virtual machine corresponding to a virtualization backup command before sending the virtualization backup command to the backup client virtual machine, where the virtualization management platform starts the backup client virtual machine;
correspondingly, the method also comprises the following steps:
and the control module is used for controlling the virtual machine of the backup client to be shut down after receiving the virtual machine backup data sent by the virtual machine of the backup client.
A virtual machine backup appliance comprising:
a memory for storing a computer program;
and a processor, configured to implement the steps of the virtual machine backup method as described above when executing the computer program.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of a virtual machine backup method according to one of the preceding claims.
The application provides a virtual machine backup method, a virtual machine backup device and a computer readable storage medium, wherein the method comprises the following steps: establishing connection with a virtualization management platform, and importing a VM (virtual machine) image of a backup client into an image pool of the virtualization management platform; when the virtual backup is configured, a command for generating a virtual machine of a backup client is sent to a virtual management platform, and the virtual management platform instantiates a VM image of the backup client according to the command for generating the virtual machine of the backup client so as to generate a virtual machine of the backup client; sending a virtualization backup command to a backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command; and receiving virtual machine backup data sent by the virtual machine of the backup client.
According to the technical scheme disclosed by the application, the VM mirror image of the backup client is imported to the virtualization management platform, the virtualization management platform instantiates the VM mirror image of the backup client in the mirror image pool according to the command for generating the VM of the backup client when the virtualization backup is configured, so that the VM of the backup client is obtained, the VM mirror image of the backup client can participate in the backup of the virtual machine, the VM mirror image of the backup client can be directly instantiated to obtain the VM of the backup client, and the backup client does not need to be obtained through manual configuration, so that the backup efficiency of the virtual machine can be improved, and the backup flexibility of the virtual machine can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a virtual machine backup method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a connection between a backup server and a virtualization management platform according to an embodiment of the present application;
fig. 3 is a flowchart of another virtual machine backup method according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a virtual machine backup provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a virtual machine backup device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a virtual machine backup device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, which shows a flowchart of a virtual machine backup method provided in an embodiment of the present application, a virtual machine backup method provided in an embodiment of the present application is applied to a backup server, and may include:
s11: and establishing connection with the virtualization management platform, and importing the VM image of the backup client into an image pool of the virtualization management platform.
The backup server establishes connection with the virtualization management platform and imports a backup client VM image contained therein into an image pool of the virtualization management platform (which is managed by the virtualization management platform), wherein the image pool may specifically be a virtualization VM image pool. The foregoing process may specifically refer to fig. 2, which shows a schematic connection diagram between a backup server and a virtualization management platform provided in an embodiment of the present application. The VM image of the backup client may be pre-contained in the backup server, and the backup client software may be pre-integrated in the VM image of the backup client, so that after the backup server establishes a connection with the virtualization management platform, the backup server may import the VM image of the backup client contained therein into the image pool of the virtualization management platform.
It should be noted that the virtualization management platform runs on the physical server and is used for virtualizing the physical resources into virtual resources for the virtual machine to use, and the virtualization management platform may specifically be a vSphere, a vCenter, an OpenStack platform, or the like; the backup client VM image is a virtual machine image preinstalled with a backup client; the backup server includes backup software, which is software for backing up user data from the production system to other locations, and is generally installed on a server side called backup software on the backup server, and a micro client side installed inside the production system, also called a backup agent.
S12: when the virtual backup is configured, a command for generating a virtual machine of a backup client is sent to a virtual management platform, and the virtual management platform instantiates a VM image of the backup client according to the command for generating the virtual machine of the backup client so as to generate the virtual machine of the backup client.
In the process of configuring the virtual backup, the backup server may send a command for generating a backup client virtual machine to the virtualization management platform, where the command for generating the backup client virtual machine includes the number of virtual machines to be backed up, and the like. When receiving a backup client virtual machine generation command sent by a backup server, the virtualization management platform may instantiate a backup client VM image according to the backup client virtual machine generation command to generate a backup client virtual machine corresponding to the backup client virtual machine generation command.
S13: and sending a virtualization backup command to the backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command.
After the backup client virtual machine is generated, the backup server may send a virtualized backup command to the backup client virtual machine, where the virtualized backup command may specifically include which virtual machines need to be backed up. After receiving the virtualization backup command, the virtual machine of the backup client performs virtual machine backup on the virtual machine in the virtualization management platform to generate virtual machine backup data.
S14: and receiving virtual machine backup data sent by the virtual machine of the backup client.
After the backup client virtual machine performs virtualization backup to obtain virtual machine backup data, the backup client virtual machine may send the data to the backup server, so that it receives the virtual machine backup data sent by the backup client virtual machine. In the process, an operating system and backup client software do not need to be manually installed on a client host to obtain a backup client, so that the virtual machine backup efficiency can be improved, and the backup client VM image can be instantiated according to the virtual backup requirement to generate a backup client virtual machine, so that the backup client does not need to be manually configured according to the increase of the virtual machine backup quantity, and the virtual machine backup flexibility and efficiency can be conveniently improved.
In the process, a backup client virtual machine can be independently generated for each physical server, and the backup server is responsible for starting the corresponding virtual machine on the virtual server through a virtualization management platform, so that the effect of backing up virtual machines on different physical servers by different backup client virtual machines is achieved, and the backup speed and efficiency are improved.
According to the technical scheme disclosed by the application, the VM mirror image of the backup client is imported to the virtualization management platform, the virtualization management platform instantiates the VM mirror image of the backup client in the mirror image pool according to the command for generating the VM of the backup client when the virtualization backup is configured, so that the VM of the backup client is obtained, the VM mirror image of the backup client can participate in the backup of the virtual machine, the VM mirror image of the backup client can be directly instantiated to obtain the VM of the backup client, and the backup client does not need to be obtained through manual configuration, so that the backup efficiency of the virtual machine can be improved, and the backup flexibility of the virtual machine can be improved.
Referring to fig. 3, a flowchart of another virtual machine backup method provided in the embodiment of the present application is shown. Before sending a virtualized backup command to a backup client virtual machine, a virtual machine backup method provided in an embodiment of the present application may further include:
s15: sending a notice of starting a backup client virtual machine corresponding to the virtualization backup command to a virtualization management platform, and starting the backup client virtual machine by the virtualization management platform;
correspondingly, after receiving the virtual machine backup data sent by the backup client virtual machine, the method may further include:
s16: and controlling the virtual machine of the backup client to be shut down.
After the backup client virtual machine is generated, the backup client virtual machine may be in a shutdown state, before a virtualization backup command is sent to the backup client virtual machine, that is, after a backup task is prepared to run, the backup server may establish connection with the virtualization management platform, and send a notification for starting the backup client virtual machine corresponding to the virtualization backup command to the virtualization management platform, and the virtualization management platform starts the backup client virtual machine corresponding to the virtualization backup command according to the notification, so that the backup client virtual machine may be started and be in a working state, specifically referring to fig. 4, which shows a virtual machine backup flowchart provided in an embodiment of the present application.
After the virtual machine backup is completed and the backup server receives the virtual machine backup data sent by the backup client virtual machine, the started backup client virtual machine can be controlled to be shut down so as to be in a closed state.
As can be seen from the above, the backup client virtual machine in the present application is only in the power-on state during the backup task operation, and is in the power-off state before the backup task is started and after the backup task is completed, so compared to the current situation that the backup client needs to be always in the operation state during the virtual machine backup process, the present application can prevent the backup client virtual machine from occupying the CPU resources, the memory resources, and the like of the virtualization management platform as much as possible when there is no backup task, thereby reducing the occupancy rate of the virtualization management platform resources.
The virtual machine backup method provided in the embodiment of the present application, which controls a backup client to shut down a virtual machine, may include:
and sending a notice of closing the virtual machine of the backup client to the virtualization management platform, and controlling the virtual machine of the backup client to be closed by the virtualization management platform.
When the backup client virtual machine is controlled to be powered off, the backup server can send a notification of turning off the backup client virtual machine to the virtualization management platform, and the virtualization management platform controls the backup client virtual machine to be powered off.
The virtual machine backup method provided in the embodiment of the present application, which controls a backup client to shut down a virtual machine, may include:
and directly controlling the virtual machine of the backup client to be shut down.
In addition to controlling the backup client virtual machine to be powered off through the virtualization management platform, the backup server may also directly send a power-off command to the backup client virtual machine, so that the backup server directly controls the backup client virtual machine to be powered off.
After receiving the virtual machine backup data sent by the virtual machine of the backup client, the virtual machine backup method provided by the embodiment of the application may further include:
when the number of the required backup client virtual machines corresponding to the virtualization backup command is reduced by N, deleting the N backup client virtual machines; wherein N is a positive integer.
After receiving the virtual machine backup data sent by the backup client virtual machine, if the number of virtual machines in the subsequent virtual machine backup is reduced, the number of required backup client virtual machines corresponding to the virtualization backup command is also reduced, and when the number of required backup client virtual machines corresponding to the virtualization backup command is reduced by N (N is a positive integer), the N backup client virtual machines can be correspondingly deleted, so as to achieve the effect of releasing the disk space of the virtualization management platform.
The virtual machine backup method provided in the embodiment of the present application, when the virtualization management platform instantiates the VM image of the backup client according to the backup requirement of the virtual machine to generate the virtual machine of the backup client, may further include:
and the virtualization management platform imports the IP address of the backup client, the connection information required by the connection with the backup server and the connection information required by the connection with the virtualization management platform into the virtual machine of the backup client.
When the VM mirror image of the backup client is instantiated by the virtualization management platform according to the backup requirement of the virtual machine to generate the virtual machine of the backup client, the virtualization management platform may import the IP address of the virtual machine of the backup client, the connection information (such as the IP address of the backup server, the user name and password for logging in the backup server) required for connecting with the backup server, the connection information required for connecting with the virtualization management platform, and the like into the backup client, so as to facilitate the connection between the virtual machine of the backup client and the backup server, and between the virtual machine of the backup client and the virtualization management platform, thereby facilitating the smooth backup of the virtual machine.
An embodiment of the present application further provides a virtual machine backup device, which is applied to a backup server, and referring to fig. 5, which shows a schematic structural diagram of the virtual machine backup device provided in the embodiment of the present application, and the virtual machine backup device may include:
the connection module 51 is configured to establish connection with a virtualization management platform and import a backup client VM image into an image pool of the virtualization management platform;
the first sending module 52 is configured to send a command to generate a backup client virtual machine to the virtualization management platform when configuring the virtualized backup, and the virtualization management platform instantiates the backup client VM image according to the command to generate the backup client virtual machine;
a second sending module 53, configured to send a virtualized backup command to the backup client virtual machine, where the backup client virtual machine performs virtual machine backup according to the virtual machine backup command;
the receiving module 54 is configured to receive virtual machine backup data sent by the backup client virtual machine.
The virtual machine backup device provided in the embodiment of the present application may further include:
a third sending module, configured to send, to the virtualization management platform, a notification to start a backup client virtual machine corresponding to a virtualization backup command before sending the virtualization backup command to the backup client virtual machine, where the virtualization management platform starts the backup client virtual machine;
accordingly, the method can further comprise the following steps:
and the control module is used for controlling the virtual machine of the backup client to be shut down after receiving the virtual machine backup data sent by the virtual machine of the backup client.
In an embodiment of the present application, a control module of a virtual machine backup device may include:
and the first control unit is used for sending a notification of closing the virtual machine of the backup client to the virtualization management platform, and the virtualization management platform controls the virtual machine of the backup client to be closed.
In an embodiment of the present application, a control module of a virtual machine backup device may include:
and the second control unit is used for directly controlling the virtual machine of the backup client to be shut down.
The virtual machine backup device provided in the embodiment of the present application may further include:
the deleting module is used for deleting N backup client virtual machines when the number of the backup client virtual machines required by the virtualization backup command is reduced by N after receiving the virtual machine backup data sent by the backup client virtual machine; wherein N is a positive integer.
An embodiment of the present application further provides a virtual machine backup device, see fig. 6, which shows a schematic structural diagram of a virtual machine backup device provided in an embodiment of the present application, and the virtual machine backup device may include:
a memory 61 for storing a computer program;
the processor 62, when executing the computer program stored in the memory 61, may implement the following steps:
establishing connection with a virtualization management platform, and importing a backup client VM image into an image pool of the virtualization management platform; when the virtual backup is configured, sending a command for generating a virtual machine of a backup client to a virtual management platform, and instantiating a VM image of the backup client by the virtual management platform according to the command for generating the virtual machine of the backup client to generate a virtual machine of the backup client; sending a virtualization backup command to a backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command; and receiving virtual machine backup data sent by the virtual machine of the backup client.
In a computer scale storage medium provided in an embodiment of the present application, a computer program is stored on the computer program, and when executed by a processor, the computer program may implement the following steps:
establishing connection with a virtualization management platform, and importing a VM (virtual machine) image of a backup client into an image pool of the virtualization management platform; when the virtual backup is configured, sending a command for generating a virtual machine of a backup client to a virtual management platform, and instantiating a VM image of the backup client by the virtual management platform according to the command for generating the virtual machine of the backup client to generate a virtual machine of the backup client; sending a virtualization backup command to a backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtual machine backup command; and receiving virtual machine backup data sent by the virtual machine of the backup client.
For a description of a relevant part in a virtual machine backup apparatus, a device, and a computer-readable storage medium provided in the embodiments of the present application, reference may be made to a detailed description of a corresponding part in a virtual machine backup method provided in the embodiments of the present application, and details are not repeated herein.
It should be noted that, in this document, 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. Furthermore, 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 elements inherent in the list. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A virtual machine backup method is applied to a backup server and comprises the following steps:
establishing connection with a virtualization management platform, and importing a backup client VM image into an image pool of the virtualization management platform;
when the virtual backup is configured, sending a command of generating a backup client virtual machine to the virtual management platform, and instantiating the backup client VM image by the virtual management platform according to the command of generating the backup client virtual machine to generate a backup client virtual machine;
sending a virtualization backup command to the backup client virtual machine, and carrying out virtual machine backup by the backup client virtual machine according to the virtualization backup command;
receiving virtual machine backup data sent by the backup client virtual machine;
before sending a virtualized backup command to the backup client virtual machine, the method further includes:
sending a notification for starting a backup client virtual machine corresponding to the virtualization backup command to the virtualization management platform, and starting the backup client virtual machine by the virtualization management platform;
correspondingly, after receiving the virtual machine backup data sent by the backup client virtual machine, the method further includes:
and controlling the virtual machine of the backup client to be shut down.
2. The virtual machine backup method according to claim 1, wherein controlling the backup client virtual machine to power down comprises:
and sending a notification of closing the virtual machine of the backup client to the virtualization management platform, and controlling the virtual machine of the backup client to be closed by the virtualization management platform.
3. The virtual machine backup method according to claim 1, wherein controlling the backup client virtual machine to power down comprises:
and directly controlling the virtual machine of the backup client to be shut down.
4. The virtual machine backup method according to claim 1, further comprising, after receiving the virtual machine backup data sent by the backup client virtual machine:
when the number of the backup client virtual machines required by the virtualization backup command is reduced by N, deleting N backup client virtual machines; wherein N is a positive integer.
5. The virtual machine backup method according to claim 1, wherein when the virtualization management platform instantiates the backup client VM image according to the generate backup client virtual machine command to generate a backup client virtual machine, the method further comprises:
and the virtualization management platform imports the IP address of the backup client virtual machine, the connection information required by the connection with the backup server and the connection information required by the connection with the virtualization management platform into the backup client virtual machine.
6. A virtual machine backup device is applied to a backup server and comprises:
the connection module is used for establishing connection with a virtualization management platform and importing a VM (virtual machine) image of a backup client into an image pool of the virtualization management platform;
the first sending module is used for sending a command for generating a backup client virtual machine to the virtualization management platform when the virtualization backup is configured, and the virtualization management platform instantiates the backup client VM image according to the command for generating the backup client virtual machine so as to generate a backup client virtual machine;
the second sending module is used for sending a virtualization backup command to the backup client virtual machine, and the backup client virtual machine carries out virtual machine backup according to the virtualization backup command;
the receiving module is used for receiving virtual machine backup data sent by the backup client virtual machine;
further comprising:
a third sending module, configured to send, to the virtualization management platform, a notification to start a backup client virtual machine corresponding to a virtualization backup command before sending the virtualization backup command to the backup client virtual machine, where the virtualization management platform starts the backup client virtual machine;
correspondingly, the method also comprises the following steps:
and the control module is used for controlling the backup client virtual machine to be shut down after receiving the virtual machine backup data sent by the backup client virtual machine.
7. A virtual machine backup device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the virtual machine backup method of any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the virtual machine backup method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153474.5A CN111367722B (en) | 2020-03-06 | 2020-03-06 | Virtual machine backup method, device and equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153474.5A CN111367722B (en) | 2020-03-06 | 2020-03-06 | Virtual machine backup method, device and equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111367722A CN111367722A (en) | 2020-07-03 |
CN111367722B true CN111367722B (en) | 2022-11-25 |
Family
ID=71208602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010153474.5A Active CN111367722B (en) | 2020-03-06 | 2020-03-06 | Virtual machine backup method, device and equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111367722B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112395133B (en) * | 2020-11-17 | 2024-05-28 | 平安科技(深圳)有限公司 | Data backup method and device based on virtual machine and computer equipment |
CN113254268B (en) * | 2021-05-20 | 2024-05-24 | 深信服科技股份有限公司 | Data processing method and device, equipment and storage medium |
CN113849340B (en) * | 2021-08-13 | 2024-02-27 | 苏州浪潮智能科技有限公司 | Disaster recovery backup docking method and device for virtualization platform and multi-storage system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
CN105068856A (en) * | 2015-07-16 | 2015-11-18 | 武汉噢易云计算有限公司 | Mirror image snapshooting based on virtual machine backup system and backup method |
CN107273246A (en) * | 2017-06-15 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of server system backup method and device |
-
2020
- 2020-03-06 CN CN202010153474.5A patent/CN111367722B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
CN105068856A (en) * | 2015-07-16 | 2015-11-18 | 武汉噢易云计算有限公司 | Mirror image snapshooting based on virtual machine backup system and backup method |
CN107273246A (en) * | 2017-06-15 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of server system backup method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111367722A (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111367722B (en) | Virtual machine backup method, device and equipment and readable storage medium | |
US10402183B2 (en) | Method and system for network-less guest OS and software provisioning | |
US10255095B2 (en) | Temporal dynamic virtual machine policies | |
RU2456662C2 (en) | Matching startup between several devices capable of startup | |
EP3846024B1 (en) | Virtual machine management method and device for cloud platform | |
CN103885833B (en) | A kind of method for managing resource and system | |
WO2018201461A1 (en) | Method and device for migrating virtual machine and virtualization system | |
CN109002346B (en) | Conversion method of Windows virtual machine bootstrap program | |
US11875174B2 (en) | Method and apparatus for virtual machine emulator upgrading virtualization emulator | |
CN112486522A (en) | Deployment method and device of OpenStack bare machine with intelligent network card | |
WO2022199335A1 (en) | Method, apparatus and device for controlling firmware upgrade of server component, and storage medium | |
CN107247596A (en) | Starting-up method, device and electronic equipment | |
US10606632B2 (en) | Preventing interruption during virtual machine reboot | |
EP4350553A2 (en) | Configurable memory device connected to a microprocessor | |
CN108234174B (en) | Management method and device of virtual network function | |
CN113110883B (en) | Starting method, device, equipment and storage medium of block chain system | |
CN114281422A (en) | Cloud computer control method, device and medium | |
CN114296882A (en) | Method, device and medium for exporting memory snapshot of virtual machine | |
CN107621952B (en) | Equipment management method and electronic equipment | |
CN107544781B (en) | System installation method and device | |
CN112306643A (en) | Virtual machine configuration method, device and equipment, and cloud platform | |
CN116010031A (en) | Image file creation method, device and medium | |
CN114816454A (en) | PXE server deployment method, device and medium | |
CN114594997A (en) | Cloud computer starting method and device | |
CN115509590A (en) | Continuous deployment method and computer equipment |
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 |