CN107133131A - A kind of virtual machine synthesized backup method based on VMware - Google Patents

A kind of virtual machine synthesized backup method based on VMware Download PDF

Info

Publication number
CN107133131A
CN107133131A CN201710397781.6A CN201710397781A CN107133131A CN 107133131 A CN107133131 A CN 107133131A CN 201710397781 A CN201710397781 A CN 201710397781A CN 107133131 A CN107133131 A CN 107133131A
Authority
CN
China
Prior art keywords
backup
page
virtual machine
tasks
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710397781.6A
Other languages
Chinese (zh)
Inventor
陈哲
邱龙金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd filed Critical GUANGZHOU DINGJIA COMPUTER TECHNOLOGY Co Ltd
Priority to CN201710397781.6A priority Critical patent/CN107133131A/en
Publication of CN107133131A publication Critical patent/CN107133131A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • G06F11/1484Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of virtual machine synthesized backup method based on VMware, using merging backup mode, after backup completely is carried out once, each backup afterwards is all only needed to from the data block of production environment virtual machine reading change to backup server, then in the merging process of the enterprising row data of backup server, while backup procedure is substantially reduced to the resource consumption of production environment, generate the synthetic backup point for possessing independent completion recovery capability, it is greatly improved the low consumption high reliability of backup software, advantage of the differential backup to the low consumption of resources of production environment can be had concurrently, can generate as backup completely again simultaneously one it is independent, it is not need to rely on the full backup point of any other backup point.Superpower safety guarantee is provided again while minimum impact is produced to production environment, is significant for the disaster-tolerant backup reliability for lifting VMware virtual machines.

Description

A kind of virtual machine synthesized backup method based on VMware
Technical field
The present invention relates to computer data backup technical field, more particularly to a kind of virtual machine synthesis based on VMware are standby Part method.
Background technology
Improved constantly with the hardware capabilities of separate unit physical equipment, virtualization product is increasingly favored by client. In actual production environment, virtualization technology is mainly used to solve high performance physical hardware production capacity surplus and old old hardware The too low restructuring of production capacity is reused, transparence bottom physical hardware, so that maximized utilization physical hardware.Finance, interconnection at present The larger field of the data volumes such as net, medical treatment all has begun to widely use virtualization product.Wherein, VMware companies VSphere series of products the features such as its is easy to use, feature-rich, reliability is high to turn into the most widely used void in the world Planization product.
Although VMware has so powerful function in virtualization, in actual production system, if there is Hard disk corruptions, magnetic disk of virtual machine file corruption etc. are unexpected, and VMware virtual machine can not also be accomplished to can continue to normal operation, because Caused by important application long-time interrupt, the loss of significant data situations such as will bring inestimable loss for client. In order to tackle above-mentioned situation, the disaster tolerance that major companies for being absorbed in disaster-tolerant backup are proposed for VMware vSphere one after another is standby Part software.These backup softwares generally all only possess most basic complete backup functionality, i.e., backup all can be virtual machine magnetic every time The backup of all data completely on disk is got off, and this backup mode can all cause great resource to network, host, storage Consumption.Therefore somewhat more senior backup software will provide differential backup function, i.e., after once back up completely, Each backup afterwards all can only back up the data block that change is produced in magnetic disk of virtual machine, so be considerably reduced money Source is lost.But, differential backup still has a fatal problem, be exactly differential backup point have to complete backup point it is extremely strong Dependence, if backup point is damaged completely, corresponding all differences backup point all fails.
The content of the invention
The present invention is exactly in view of the deficienciess of the prior art, there is provided a kind of virtual machine synthetic backup based on VMware Method.
To solve the above problems, the technical solution used in the present invention is as follows:
A kind of virtual machine synthesized backup method based on VMware, comprises the following steps:
A, user are in the VMware vSphere that Web calamities are registered for management system where needing backup virtual machine are virtualized The heart, long-range connection virtualization centre scan goes out the information of all hosts and virtual machine, and above- mentioned information is updated to database, It is that following establishment backup tasks and startup task provide essential information;
B, establishment backup tasks, selection needs the virtual machine backed up, by backup tasks information updating to database;
C, the pattern startup backup tasks to back up completely, the virtual machine business of production environment is not interrupted, previous step is selected All data of virtual disk for the virtual machine for needing to back up are selected by the way that in network transmission to backup server, generation is backed up completely Point;
D, the pattern startup backup tasks with synthetic backup, the virtual machine business of production environment are not interrupted, by standby virtual The virtual disk of machine is produced within from the complete backup Startup time of previous step to this synthetic backup Startup time this period Raw delta data block is by network transmission to backup server, then by certain algorithm on backup server, will The data of the complete backup point of previous step and delta data merged block mentioned above generate synthetic backup point to together;
E, establishment recovery tasks, according to backup point in database and the information at virtualization center, select the conjunction for recovery Into the title of backup point, the target host machine recovered and newly-built recovery virtual machine;
F, startup recovery tasks, long-range connection virtualization center, the full virtual machine information that will be included in synthetic backup point Return to target host machine, one recovery virtual machine the same with backup virtual machine before of generation;
Described step A is described in detail below:
A1) User logs in Web calamities are for management system, into the registration virtualization center page;
A2) user fills in virtualization center IP and the username and password for remotely connecting virtualization center, the page The message at registration virtualization center is sent to the background program on backup server, and attach virtualization center IP, user name and The parameters such as password, the page waits backstage to return;
A3) backstage is received after the message at page registration virtualization center, the virtualization center IP of acquisition page transmission first, Username and password parameter, sets up long-range connection according to virtualization center IP, user name can be verified during connection and close The legitimacy of code, if username and password is correct, successful connection performs next step, and otherwise connection failure is returned to the page and noted The result of volume failure;
A4) scanning virtualization supercentral all hosts and virtual machine information, including the IP of host, host The information such as UUID, virtual machine UUID, virtual machine title, above- mentioned information is added in database;
A5 the connection at center) is closed and virtualized, and the information succeeded in registration is returned to the page;
A6 after) page is returned, if succeeded in registration, it is possible to start to create backup tasks;
Described step B is described in detail below:
B1) user, which enters, creates the backup tasks page, and selection needs the virtual machine backed up, and the page is on backup server Background program sends the message for creating backup tasks, waits backstage to return;
B2) backstage is received after the message of page creation backup tasks, the mission bit stream that the page is passed over is obtained, by task Information updating returns to the page to database and creates Mission Success;
B3 after) page is returned, if creating Mission Success, it is possible to start to start backup tasks;
Described step C is described in detail below:
C1) user, which enters, starts the backup tasks page, and selection task is simultaneously started with the pattern that backs up completely, and the page is to backup Background program on server sends the message for starting backup tasks, waits backstage to return;
C2) backstage is received after the message that the page starts backup tasks, is obtained start-up mode and detailed mission bit stream, is successfully entered Row next step, otherwise returns to the mistake of task abnormity to the page;
C3 whether task) is judged in operation, if task has been run, backup failure, and return to task to the page The mistake run, conversely, carrying out next step;
C4) set up and remotely connect with virtualization center, if successful connection, next step is carried out, otherwise backup failure, to page Face returns to the mistake of connection virtualization center failure;
C5 it is operation) to update task status, and snapshot is created to magnetic disk of virtual machine, creates snapshot success, carries out next step, no The connection at center is then closed and virtualizes, backup failure sets task status to malfunction, returned to the page and create disappearing for snapshot failure Breath;
C6 the backup directory of storage backup point) is created on backup server, first the configuration information of virtual machine is transmitted To backup directory, the backup mesh that all deblockings on the disk to virtual machine are transferred to backup server successively is then circulated Record, often transfers a block, judge user whether terminated task, if it is, into next step;Otherwise continue to transmit next magnetic Disk block, until all Disk data backups are completed, subsequently into C8);
C7 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
C8) retain magnetic disk of virtual machine snapshot, close and virtualize the connection at center, if user stops task, to page Face returns to the message for stopping Mission Success, is otherwise returned to the page and backs up successful message;
Described step D is described in detail below:
D1) with C1) arrive C5) the step of it is consistent;
D2 the backup directory of storage backup point) is created on backup server, first the configuration information of virtual machine is transmitted To backup directory, then circulate and the disk of virtual machine is proceeded as follows:Use step C) in completely backup when stay Snapshot and the snapshot that creates of current synthetic backup contrasted, obtain out within this period the virtual disk and produce data change All data blocks changed, these data blocks by under network transmission to backup directory, phase under the complete backup point before finding This two parts data is locally merged into a Disk Backup by the Disk Backup data answered by special algorithm in backup server File, handled in above process a data block then judge user whether terminated task, if it is, into next step;It is no Then continue to transmit next disk block, until all Disk data backups are completed, subsequently into D4);
D3 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
D4 the magnetic disk of virtual machine snapshot of this synthetic backup establishment) is deleted, the connection at center is closed and virtualize, if User stops task, and the message for stopping Mission Success being returned to the page, is otherwise returned to the page and backs up successful message;
Described step E is described in detail below:
E1) user is into the recovery tasks page is created, and selection needs the synthetic backup point recovered, and selects the target of recovery Host, fills in newly-built virtual machine title, and the page sends the message for creating recovery tasks to the background program on backup server, Backstage is waited to return;
E2) backstage is received after the message of page creation recovery tasks, the mission bit stream that the page is passed over is obtained, by task Information updating returns to the page to database and creates recovery tasks success;
E3 after) page is returned, if creating Mission Success, it is possible to start to start recovery tasks;
Described step F is described in detail below:
F1) user, which enters, starts the recovery tasks page, and selection task simultaneously starts, and the page is to the backstage journey on backup server Sequence sends the message for starting recovery tasks, waits backstage to return;
F2) backstage is received after the message that the page starts recovery tasks, obtains mission bit stream, obtains Mission Success progress next Step, otherwise returns to the non-existent mistake of task to the page;
F3 whether task) is judged in operation, if task has been run, recovers failure, and return to task to the page The mistake run, conversely, carrying out next step;
F4 long-range connection is set up at the virtualization center) and where target host machine, if successful connection, carries out next step, Otherwise recover failure, the mistake of connection virtualization center failure is returned to the page, connected mode is set up similar with step C4;
F5 it is operation) to update task status, according to the configuration information of virtual machine under synthetic backup point catalogue in target host The virtual machine of recovery is created that on machine, the data in virtual disk backup file under synthetic backup point catalogue is read, then passes through Network transmission is to target host machine, then in target host machine is written to the respective virtual disk file for recovering virtual machine;
F6) completed when the file of all virtual disks writes, virtual machine is successfully recovered, and what back page was successfully recovered disappears Breath.
Compared with prior art, implementation result of the invention is as follows by the present invention:
A kind of virtual machine synthesized backup method based on VMware that the present invention is provided, using backup mode is merged, is entering After row is once backed up completely, each backup afterwards is all only needed to from the data block of production environment virtual machine reading change to backup Server, then in the merging process of the enterprising row data of backup server, is substantially reducing money of the backup procedure to production environment While source is consumed, the synthetic backup point for possessing independent completion recovery capability is generated, the low of backup software is greatly improved Consume high reliability;
Resource consumption of the backup procedure to production environment can be greatly reduced, and ensure that the backup point of generation has independently Recover the ability of a full virtual machine.
Advantage of the differential backup to the low consumption of resources of production environment can be had concurrently, while again can as backup completely Generate an independent, full backup point that is being not need to rely on any other backup point.Minimum shadow is being produced to production environment Superpower safety guarantee is provided while sound again, there is great meaning for the disaster-tolerant backup reliability for lifting VMware virtual machines Justice.
Brief description of the drawings
Fig. 1 represents the system architecture diagram for the virtual machine synthesized backup method based on VMware that the present invention is provided.
Fig. 2 represents the backup functionality flow chart for the virtual machine synthesized backup method based on VMware that the present invention is provided.
Fig. 3 represents the recovery functional flow diagram for the virtual machine synthesized backup method based on VMware that the present invention is provided.
Embodiment
Illustrate present disclosure with accompanying drawing below in conjunction with specific embodiments.
Also referring to Fig. 1 to Fig. 3, wherein Fig. 1 represents the virtual machine synthetic backup based on VMware that the present invention is provided The system architecture diagram of method.Fig. 2 represents the backup functionality for the virtual machine synthesized backup method based on VMware that the present invention is provided Flow chart.Fig. 3 represents the recovery functional flow diagram for the virtual machine synthesized backup method based on VMware that the present invention is provided.
A kind of virtual machine synthesized backup method based on VMware, comprises the following steps:
A, user are in the VMware vSphere that Web calamities are registered for management system where needing backup virtual machine are virtualized The heart, long-range connection virtualization centre scan goes out the information of all hosts and virtual machine, and above- mentioned information is updated to database, It is that following establishment backup tasks and startup task provide essential information;
B, establishment backup tasks, selection needs the virtual machine backed up, by backup tasks information updating to database;
C, the pattern startup backup tasks to back up completely, the virtual machine business of production environment is not interrupted, previous step is selected All data of virtual disk for the virtual machine for needing to back up are selected by the way that in network transmission to backup server, generation is backed up completely Point;
D, the pattern startup backup tasks with synthetic backup, the virtual machine business of production environment are not interrupted, by standby virtual The virtual disk of machine is produced within from the complete backup Startup time of previous step to this synthetic backup Startup time this period Raw delta data block is by network transmission to backup server, then by certain algorithm on backup server, will The data of the complete backup point of previous step and delta data merged block mentioned above generate synthetic backup point to together;
E, establishment recovery tasks, according to backup point in database and the information at virtualization center, select the conjunction for recovery Into the title of backup point, the target host machine recovered and newly-built recovery virtual machine;
F, startup recovery tasks, long-range connection virtualization center, the full virtual machine information that will be included in synthetic backup point Return to target host machine, one recovery virtual machine the same with backup virtual machine before of generation;
Described step A is described in detail below:
A1) User logs in Web calamities are for management system, into the registration virtualization center page;
A2) user fills in virtualization center IP and the username and password for remotely connecting virtualization center, the page The message at registration virtualization center is sent to the background program on backup server, and attach virtualization center IP, user name and The parameters such as password, the page waits backstage to return;
A3) backstage is received after the message at page registration virtualization center, the virtualization center IP of acquisition page transmission first, Username and password parameter, sets up long-range connection according to virtualization center IP, user name can be verified during connection and close The legitimacy of code, if username and password is correct, successful connection performs next step, and otherwise connection failure is returned to the page and noted The result of volume failure;
A4) scanning virtualization supercentral all hosts and virtual machine information, including the IP of host, host The information such as UUID, virtual machine UUID, virtual machine title, above- mentioned information is added in database;
A5 the connection at center) is closed and virtualized, and the information succeeded in registration is returned to the page;
A6 after) page is returned, if succeeded in registration, it is possible to start to create backup tasks;
Described step B is described in detail below:
B1) user, which enters, creates the backup tasks page, and selection needs the virtual machine backed up, and the page is on backup server Background program sends the message for creating backup tasks, waits backstage to return;
B2) backstage is received after the message of page creation backup tasks, the mission bit stream that the page is passed over is obtained, by task Information updating returns to the page to database and creates Mission Success;
B3 after) page is returned, if creating Mission Success, it is possible to start to start backup tasks;
Described step C is described in detail below:
C1) user, which enters, starts the backup tasks page, and selection task is simultaneously started with the pattern that backs up completely, and the page is to backup Background program on server sends the message for starting backup tasks, waits backstage to return;
C2) backstage is received after the message that the page starts backup tasks, is obtained start-up mode and detailed mission bit stream, is successfully entered Row next step, otherwise returns to the mistake of task abnormity to the page;
C3 whether task) is judged in operation, if task has been run, backup failure, and return to task to the page The mistake run, conversely, carrying out next step;
C4) set up and remotely connect with virtualization center, if successful connection, next step is carried out, otherwise backup failure, to page Face returns to the mistake of connection virtualization center failure;
C5 it is operation) to update task status, and snapshot is created to magnetic disk of virtual machine, creates snapshot success, carries out next step, no The connection at center is then closed and virtualizes, backup failure sets task status to malfunction, returned to the page and create disappearing for snapshot failure Breath;
C6 the backup directory of storage backup point) is created on backup server, first the configuration information of virtual machine is transmitted To backup directory, the backup mesh that all deblockings on the disk to virtual machine are transferred to backup server successively is then circulated Record, often transfers a block, judge user whether terminated task, if it is, into next step;Otherwise continue to transmit next magnetic Disk block, until all Disk data backups are completed, subsequently into C8);
C7 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
C8) retain magnetic disk of virtual machine snapshot, close and virtualize the connection at center, if user stops task, to page Face returns to the message for stopping Mission Success, is otherwise returned to the page and backs up successful message;
Described step D is described in detail below:
D1) with C1) arrive C5) the step of it is consistent;
D2 the backup directory of storage backup point) is created on backup server, first the configuration information of virtual machine is transmitted To backup directory, then circulate and the disk of virtual machine is proceeded as follows:Use step C) in completely backup when stay Snapshot and the snapshot that creates of current synthetic backup contrasted, obtain out within this period the virtual disk and produce data change All data blocks changed, these data blocks by under network transmission to backup directory, phase under the complete backup point before finding This two parts data is locally merged into a Disk Backup by the Disk Backup data answered by special algorithm in backup server File, handled in above process a data block then judge user whether terminated task, if it is, into next step;It is no Then continue to transmit next disk block, until all Disk data backups are completed, subsequently into D4);
D3 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
D4 the magnetic disk of virtual machine snapshot of this synthetic backup establishment) is deleted, the connection at center is closed and virtualize, if User stops task, and the message for stopping Mission Success being returned to the page, is otherwise returned to the page and backs up successful message;
Described step E is described in detail below:
E1) user is into the recovery tasks page is created, and selection needs the synthetic backup point recovered, and selects the target of recovery Host, fills in newly-built virtual machine title, and the page sends the message for creating recovery tasks to the background program on backup server, Backstage is waited to return;
E2) backstage is received after the message of page creation recovery tasks, the mission bit stream that the page is passed over is obtained, by task Information updating returns to the page to database and creates recovery tasks success;
E3 after) page is returned, if creating Mission Success, it is possible to start to start recovery tasks;
Described step F is described in detail below:
F1) user, which enters, starts the recovery tasks page, and selection task simultaneously starts, and the page is to the backstage journey on backup server Sequence sends the message for starting recovery tasks, waits backstage to return;
F2) backstage is received after the message that the page starts recovery tasks, obtains mission bit stream, obtains Mission Success progress next Step, otherwise returns to the non-existent mistake of task to the page;
F3 whether task) is judged in operation, if task has been run, recovers failure, and return to task to the page The mistake run, conversely, carrying out next step;
F4 long-range connection is set up at the virtualization center) and where target host machine, if successful connection, carries out next step, Otherwise recover failure, the mistake of connection virtualization center failure is returned to the page, connected mode is set up similar with step C4;
F5 it is operation) to update task status, according to the configuration information of virtual machine under synthetic backup point catalogue in target host The virtual machine of recovery is created that on machine, the data in virtual disk backup file under synthetic backup point catalogue is read, then passes through Network transmission is to target host machine, then in target host machine is written to the respective virtual disk file for recovering virtual machine;
F6) completed when the file of all virtual disks writes, virtual machine is successfully recovered, and what back page was successfully recovered disappears Breath.
Compared with prior art, implementation result of the invention is as follows by the present invention:
A kind of virtual machine synthesized backup method based on VMware that the present invention is provided, using backup mode is merged, is entering After row is once backed up completely, each backup afterwards is all only needed to from the data block of production environment virtual machine reading change to backup Server, then in the merging process of the enterprising row data of backup server, is substantially reducing money of the backup procedure to production environment While source is consumed, the synthetic backup point for possessing independent completion recovery capability is generated, the low of backup software is greatly improved Consume high reliability;
Resource consumption of the backup procedure to production environment can be greatly reduced, and ensure that the backup point of generation has independently Recover the ability of a full virtual machine.
Advantage of the differential backup to the low consumption of resources of production environment can be had concurrently, while again can as backup completely Generate an independent, full backup point that is being not need to rely on any other backup point.Minimum shadow is being produced to production environment Superpower safety guarantee is provided while sound again, there is great meaning for the disaster-tolerant backup reliability for lifting VMware virtual machines Justice.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (1)

1. a kind of virtual machine synthesized backup method based on VMware, it is characterised in that comprise the following steps:
A, user virtualize center in the VMwarevSphere that Web calamities are registered for management system where needing backup virtual machine, far Journey connection virtualization centre scan goes out the information of all hosts and virtual machine, and above- mentioned information is updated to database, under Face, which creates backup tasks and starts task, provides essential information;
B, establishment backup tasks, selection needs the virtual machine backed up, by backup tasks information updating to database;
C, the pattern startup backup tasks to back up completely, the virtual machine business of production environment is not interrupted, previous step is selected to need All data of the virtual disk for the virtual machine to be backed up are by network transmission to backup server, generating complete backup point;
D, the pattern startup backup tasks with synthetic backup, the virtual machine business of production environment are not interrupted, by backup virtual machine What virtual disk was produced within from the complete backup Startup time of previous step to this synthetic backup Startup time this period Delta data block is by network transmission to backup server, then by certain algorithm on backup server, by upper one The data of the complete backup point of step and delta data merged block mentioned above generate synthetic backup point to together;
E, establishment recovery tasks, according to backup point in database and the information at virtualization center, select standby for the synthesis of recovery The title of part point, the target host machine recovered and newly-built recovery virtual machine;
F, startup recovery tasks, long-range connection virtualization center, the full virtual machine information included in synthetic backup point is recovered To target host machine, one recovery virtual machine the same with backup virtual machine before of generation;
Described step A is described in detail below:
A1) User logs in Web calamities are for management system, into the registration virtualization center page;
A2) user fills in virtualization center IP and the username and password for remotely connecting virtualization center, and the page is to standby Background program on part server sends the message at registration virtualization center, and attaches virtualization center IP, username and password Etc. parameter, the page waits backstage to return;
A3) backstage is received after the message at page registration virtualization center, and virtualization center IP, the user of page transmission are obtained first Name and cryptographic parameter, set up long-range connection according to virtualization center IP, username and password can be verified during connection Legitimacy, if username and password is correct, successful connection performs next step, and otherwise connection failure returns to registration to the page and lost The result lost;
A4) scanning virtualization supercentral all hosts and virtual machine information, including the IP of host, the UUID of host, The information such as virtual machine UUID, virtual machine title, above- mentioned information is added in database;
A5 the connection at center) is closed and virtualized, and the information succeeded in registration is returned to the page;
A6 after) page is returned, if succeeded in registration, it is possible to start to create backup tasks;
Described step B is described in detail below:
B1) user, which enters, creates the backup tasks page, and selection needs the virtual machine backed up, and the page is to the backstage on backup server Program sends the message for creating backup tasks, waits backstage to return;
B2) backstage is received after the message of page creation backup tasks, the mission bit stream that the page is passed over is obtained, by mission bit stream Database is updated, is returned to the page and creates Mission Success;
B3 after) page is returned, if creating Mission Success, it is possible to start to start backup tasks;
Described step C is described in detail below:
C1) user, which enters, starts the backup tasks page, and selection task is simultaneously started with the pattern that backs up completely, and the page is to backup services Background program on device sends the message for starting backup tasks, waits backstage to return;
C2) backstage is received after the message that the page starts backup tasks, obtains start-up mode and detailed mission bit stream, under successfully carrying out One step, otherwise returns to the mistake of task abnormity to the page;
C3 whether task) is judged in operation, if task has been run, backup failure, and returned to task to the page The mistake of operation, conversely, carrying out next step;
C4) set up and remotely connect with virtualization center, if successful connection, carry out next step, otherwise backup failure, is returned to the page Return the mistake of connection virtualization center failure;
C5 it is operation) to update task status, and snapshot is created to magnetic disk of virtual machine, creates snapshot success, carries out next step, otherwise close The connection at center is closed and virtualizes, backup failure sets task status to malfunction, returned to the page and create snapshot failure;
C6 the backup directory of storage backup point) is created on backup server, is first transferred to the configuration information of virtual machine standby Part catalogue, then circulates the backup directory that all deblockings on the disk to virtual machine are transferred to backup server successively, Often transfer a block, judge user whether terminated task, if it is, into next step;Otherwise continue to transmit next disk Block, until all Disk data backups are completed, subsequently into C8);
C7 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
C8) retain magnetic disk of virtual machine snapshot, close and virtualize the connection at center, if user stops task, returned to the page The message for stopping Mission Success being returned, is otherwise returned to the page and backs up successful message;
Described step D is described in detail below:
D1) with C1) arrive C5) the step of it is consistent;
D2 the backup directory of storage backup point) is created on backup server, is first transferred to the configuration information of virtual machine standby Part catalogue, then circulates and the disk of virtual machine is proceeded as follows:Use step C) in completely backup when stay it is fast Contrasted according to the snapshot created with current synthetic backup, obtain out the virtual disk within this period and produce data variation All data blocks, it is corresponding under the complete backup point before finding these data blocks by under network transmission to backup directory This two parts data is locally merged into a Disk Backup text by Disk Backup data by special algorithm in backup server Part, handled in above process a data block then judge user whether terminated task, if it is, into next step;Otherwise Continue to transmit next disk block, until all Disk data backups are completed, subsequently into D4);
D3 task status) is updated to stop, and the backup directory of backup server is deleted, into next step;
D4 the magnetic disk of virtual machine snapshot of this synthetic backup establishment) is deleted, the connection at center is closed and virtualize, if user Stopping task, the message for stopping Mission Success being returned to the page, is otherwise returned to the page and is backed up successful message;
Described step E is described in detail below:
E1) user is into the recovery tasks page is created, and selection needs the synthetic backup point recovered, and selects the target host of recovery Machine, fills in newly-built virtual machine title, and the page sends the message for creating recovery tasks to the background program on backup server, waits Backstage is returned;
E2) backstage is received after the message of page creation recovery tasks, the mission bit stream that the page is passed over is obtained, by mission bit stream Database is updated, is returned to the page and creates recovery tasks success;
E3 after) page is returned, if creating Mission Success, it is possible to start to start recovery tasks;
Described step F is described in detail below:
F1) user, which enters, starts the recovery tasks page, and selection task simultaneously starts, and the page is sent out to the background program on backup server The message for starting recovery tasks is sent, waits backstage to return;
F2) backstage is received after the message that the page starts recovery tasks, obtains mission bit stream, is obtained Mission Success and is carried out next step, Otherwise the non-existent mistake of task is returned to the page;
F3 whether task) is judged in operation, if task has been run, recovers failure, and returned to task to the page The mistake of operation, conversely, carrying out next step;
F4 long-range connection is set up at the virtualization center) and where target host machine, if successful connection, carries out next step, otherwise Recover failure, the mistake of connection virtualization center failure is returned to the page, connected mode is set up similar with step C4;
F5 it is operation) to update task status, according to the configuration information of virtual machine under synthetic backup point catalogue on target host machine The virtual machine of recovery is created that, the data in virtual disk backup file under synthetic backup point catalogue is read, then passes through network Target host machine is transferred to, then in target host machine is written to the respective virtual disk file for recovering virtual machine;
F6) completed when the file of all virtual disks writes, virtual machine is successfully recovered, the message that back page is successfully recovered.
CN201710397781.6A 2017-05-31 2017-05-31 A kind of virtual machine synthesized backup method based on VMware Pending CN107133131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710397781.6A CN107133131A (en) 2017-05-31 2017-05-31 A kind of virtual machine synthesized backup method based on VMware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710397781.6A CN107133131A (en) 2017-05-31 2017-05-31 A kind of virtual machine synthesized backup method based on VMware

Publications (1)

Publication Number Publication Date
CN107133131A true CN107133131A (en) 2017-09-05

Family

ID=59733523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710397781.6A Pending CN107133131A (en) 2017-05-31 2017-05-31 A kind of virtual machine synthesized backup method based on VMware

Country Status (1)

Country Link
CN (1) CN107133131A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908501A (en) * 2017-10-26 2018-04-13 南京壹进制信息技术股份有限公司 A kind of VMware virtual machine synthesized backup methods based on index
CN108563659A (en) * 2017-12-29 2018-09-21 广州鼎甲计算机科技有限公司 The synthesized backup method of SQL Server
CN110109777A (en) * 2019-07-02 2019-08-09 南京云信达科技有限公司 A kind of VM incremental backup method realized in the case of CBT corrupted data
CN111158959A (en) * 2019-12-31 2020-05-15 广州鼎甲计算机科技有限公司 Virtual machine backup method and device and virtual machine recovery method and device
CN111949441A (en) * 2019-05-14 2020-11-17 Emc知识产权控股有限公司 System and method for extensible backup search
CN112596948A (en) * 2020-12-21 2021-04-02 深圳市科力锐科技有限公司 Database cluster data backup method, device, equipment and storage medium
WO2021104383A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Data backup method and apparatus, device, and storage medium
CN114968670A (en) * 2022-07-27 2022-08-30 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
CN117170942A (en) * 2023-11-03 2023-12-05 腾讯科技(深圳)有限公司 Database backup method based on file system snapshot and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016056035A1 (en) * 2014-10-06 2016-04-14 Nec Corporation Management system for virtual machine failure detection and recovery
CN105630632A (en) * 2015-12-25 2016-06-01 华为技术有限公司 Virtual machine recovery method and virtual machine management device
CN103605588B (en) * 2013-11-21 2016-08-17 上海爱数信息技术股份有限公司 A kind of disk backup method of virtue machine
CN106445733A (en) * 2016-08-30 2017-02-22 广州鼎甲计算机科技有限公司 KVM virtualization-based agency mode-free backup method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605588B (en) * 2013-11-21 2016-08-17 上海爱数信息技术股份有限公司 A kind of disk backup method of virtue machine
WO2016056035A1 (en) * 2014-10-06 2016-04-14 Nec Corporation Management system for virtual machine failure detection and recovery
CN105630632A (en) * 2015-12-25 2016-06-01 华为技术有限公司 Virtual machine recovery method and virtual machine management device
CN106445733A (en) * 2016-08-30 2017-02-22 广州鼎甲计算机科技有限公司 KVM virtualization-based agency mode-free backup method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
王文珍,等;: "基于磁盘的数据备份与恢复管理系统的研究", 《物探设备》 *
芮冰冰,: "基于VMware的NTFS文件备份与恢复系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(月刊)》 *
董亮,等;: "Oracle数据库备份恢复技术研究及数据库两级备份模式的实现", 《ELECTRIC POWER IT》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908501A (en) * 2017-10-26 2018-04-13 南京壹进制信息技术股份有限公司 A kind of VMware virtual machine synthesized backup methods based on index
CN108563659A (en) * 2017-12-29 2018-09-21 广州鼎甲计算机科技有限公司 The synthesized backup method of SQL Server
CN111949441A (en) * 2019-05-14 2020-11-17 Emc知识产权控股有限公司 System and method for extensible backup search
CN110109777A (en) * 2019-07-02 2019-08-09 南京云信达科技有限公司 A kind of VM incremental backup method realized in the case of CBT corrupted data
WO2021104383A1 (en) * 2019-11-26 2021-06-03 中兴通讯股份有限公司 Data backup method and apparatus, device, and storage medium
CN111158959A (en) * 2019-12-31 2020-05-15 广州鼎甲计算机科技有限公司 Virtual machine backup method and device and virtual machine recovery method and device
CN112596948A (en) * 2020-12-21 2021-04-02 深圳市科力锐科技有限公司 Database cluster data backup method, device, equipment and storage medium
CN112596948B (en) * 2020-12-21 2024-04-02 深圳市科力锐科技有限公司 Database cluster data backup method, device, equipment and storage medium
CN114968670A (en) * 2022-07-27 2022-08-30 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
CN114968670B (en) * 2022-07-27 2022-11-18 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
CN117170942A (en) * 2023-11-03 2023-12-05 腾讯科技(深圳)有限公司 Database backup method based on file system snapshot and related equipment
CN117170942B (en) * 2023-11-03 2024-02-13 腾讯科技(深圳)有限公司 Database backup method based on file system snapshot and related equipment

Similar Documents

Publication Publication Date Title
CN107133131A (en) A kind of virtual machine synthesized backup method based on VMware
US20210255934A1 (en) Automated disaster recovery system and method
US7805631B2 (en) Bare metal recovery from backup media to virtual machine
CN110188000B (en) Application disaster recovery method and system based on virtualization and iSCSI or FC
CN106445733B (en) It is a kind of based on KVM virtualization without proxy mode backup method and system
CN103853634B (en) Disaster recovery system and disaster recovery method
US7496783B1 (en) Merging cluster nodes during a restore
US20210208982A1 (en) Data disaster recovery method and site
CN107066357A (en) A kind of database synthetic backup and carry restoration methods
KR20060048419A (en) Efficient changing of replica sets in distributed fault-tolerant computing system
WO2011112223A1 (en) System and method to define, visualize and manage a composite service group in a high-availability disaster recovery environment
CN103562904A (en) Replaying jobs at a secondary location of a service
CN113886143B (en) Virtual machine continuous data protection method and device and data recovery method and device
JP2009080692A (en) Virtual machine system and service taking-over control method for same system
US11531604B2 (en) Methods and systems for data resynchronization in a replication environment
CN102521073B (en) Increasing database availability during fault recovery
JP4883986B2 (en) Computer system, management computer, and data recovery method
CN101909087A (en) Snapshot-based application server remote boot method
US11847139B1 (en) Methods and systems for data resynchronization in a replication environment
EP2542976A1 (en) Method and apparatus of backing-up subversion repository
CN112367186A (en) Fault protection method and device based on 0penStack bare machine
Distler et al. State transfer for hypervisor-based proactive recovery of heterogeneous replicated services
JP5147859B2 (en) Apparatus and method for protecting and recovering stored data
CN116700884A (en) Snapshot rollback data consistency test method, device, equipment and medium
CN115296819A (en) Data security backup method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170905

RJ01 Rejection of invention patent application after publication