CN103064763B - A kind of data back up method and relevant device, system - Google Patents

A kind of data back up method and relevant device, system Download PDF

Info

Publication number
CN103064763B
CN103064763B CN201210578614.9A CN201210578614A CN103064763B CN 103064763 B CN103064763 B CN 103064763B CN 201210578614 A CN201210578614 A CN 201210578614A CN 103064763 B CN103064763 B CN 103064763B
Authority
CN
China
Prior art keywords
backup
snapshot
storage device
data
main storage
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
Application number
CN201210578614.9A
Other languages
Chinese (zh)
Other versions
CN103064763A (en
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.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Haining hi tech Zone Science and Innovation Center Co.,Ltd.
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210578614.9A priority Critical patent/CN103064763B/en
Publication of CN103064763A publication Critical patent/CN103064763A/en
Priority to PCT/CN2013/080459 priority patent/WO2014101409A1/en
Application granted granted Critical
Publication of CN103064763B publication Critical patent/CN103064763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

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)
  • Retry When Errors Occur (AREA)

Abstract

The embodiment of the present application discloses a kind of data back up method and relevant device, system.After the data back up method that the present embodiment provides receives the backup instruction of the trigger backups strategy that backup server sends by main storage device, through snapping technique process, send the data of backup to backup server and backup storage device, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.

Description

A kind of data back up method and relevant device, system
Technical field
The application relates to technical field of data backup, is specifically related to a kind of data back up method and relevant device, system.
Background technology
At present; abundant due to the surge of data volume and the huge memory property of database and equipment application function; data security sex chromosome mosaicism seems particularly important, and the backup mode that thus various redundancy technique and various redundancy technique derive constantly is deepened along with the awareness of people to data protection importance and develops rapidly.
Technology of data copy refers to as anti-locking system occurs that misoperation or the system failure cause loss of data, and all or part of data acquisition is copied to the process of other storage medium from the hard disk of applied host machine or array.Traditional Host Based backup normally runs disk mirroring functional software in application server, by when sending to main storage device to the write operation of the logical unit number in main storage device, be distributed to backup storage device in the lump and then back up data in backup storage device; Or running client backup software in application server, by the write operation of record to main storage device, then the write operation that recorded of timed sending is to backup server, and the write operation making backup server send to have recorded is to backup storage device.When adopting traditional Host Based backup scenario, if backup data quantity is very large, then the memory consumption of application server is very large, and while application server running client backup software or disk mirroring functional software, also to run the application software of other business, not only have impact on speed and the quality of Backup Data, also have impact on other application performances of application server.
Summary of the invention
The embodiment of the present application provides a kind of data back up method and relevant device, solves existing backup method based on while application server realizing backup, have impact on the problem of other application performances of application server.
First aspect, the embodiment of the present application provides a kind of data back up method, comprising:
Main storage device receives the backup instruction that backup server sends, and described backup instruction is used to indicate the snapshot that described main storage device generates source book;
Described main storage device generates the snapshot of source book;
Described main storage device sends the snapshot identification of described snapshot to described backup server;
Described main storage device receives the signaling of the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described main storage device inquires about the valid data bitmap of described snapshot according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described main storage device sends the valid data bitmap of described snapshot to described backup server, backs up the valid data bitmap of described snapshot to backup storage device to make described backup server;
Described main storage device receives the signaling of valid data corresponding to the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described main storage device inquires about described valid data according to the signaling of valid data corresponding to the valid data bitmap of the described snapshot of described inquiry;
Described main storage device sends described valid data to described backup server, backs up described valid data to described backup storage device to make described backup server.
In conjunction with first aspect, in the implementation that the first is possible, before described main storage device generates the snapshot of source book, described method also comprises:
Main storage device creates source book;
Described main storage device maps described source book to application server, to make source book described in described application server carry, to store the data of described application server to described source book.
In conjunction with first aspect, in the implementation that the second is possible, after the snapshot identification that described main storage device sends described snapshot to described backup server, and described main storage device receive described backup server send the described snapshot of inquiry valid data bitmap signaling before, described method also comprises:
Described main storage device receives the first instruction that described backup server sends, and described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described main storage device indicates according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, described method also comprises:
Described main storage device receives the second instruction that described backup server sends, and described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described main storage device removes the mapping relations between described backup server and described snapshot.
In conjunction with first aspect or in conjunction with the first possible implementation of first aspect to any one implementation in the third possible implementation, in the 4th kind of possible implementation, described method also comprises:
Described main storage device receives the 3rd instruction that described backup server sends, and described 3rd instruction is used to indicate the described snapshot that described main storage device deletes described source book;
Described main storage device deletes the described snapshot of described source book.
Second aspect, the embodiment of the present application provides a kind of data back up method, comprising:
Backup server sends backup and is indicated to main storage device, with the snapshot indicating described main storage device to generate source book, is sent the snapshot identification of described snapshot to described backup server by described main storage device;
Described backup server receives the snapshot identification that described main storage device sends;
Described backup server sends the signaling of the valid data bitmap of the described snapshot of inquiry to described main storage device, inquires about the valid data bitmap of described snapshot to make described main storage device according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described backup server receives the valid data bitmap of the described snapshot that described main storage device sends;
Described backup server backs up the valid data bitmap of described snapshot to backup storage device;
Described backup server receives the feedback information backing up the valid data bitmap of described snapshot that described backup storage device sends;
The signaling of the valid data that the described valid data bitmap that described backup server sends the described snapshot of inquiry according to the described described feedback information having backed up the valid data bitmap of described snapshot is corresponding, to described main storage device, inquires about described valid data to make described main storage device according to the described signaling of valid data corresponding to the described valid data bitmap of the described snapshot of described inquiry;
Described backup server receives the described valid data that described main storage device sends;
Described backup server backs up described valid data to described backup storage device;
Described backup server receives the feedback information backing up the described valid data of described snapshot that described backup storage device sends.
In conjunction with second aspect, in the implementation that the first is possible, after described backup server receives the snapshot identification of described main storage device transmission, and described backup server sends the signaling of the valid data bitmap of the described snapshot of inquiry to before described main storage device, described method also comprises:
Described backup server sends first and is indicated to described main storage device, indicates the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described backup server according to the mapping relations between described snapshot and described backup server, snapshot described in carry.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, described method also comprises:
Described backup server sends second and is indicated to described main storage device, removes mapping relations between described backup server and described snapshot to make described main storage device.
In conjunction with the first possible implementation of second aspect or second aspect or the possible implementation of the second, in the implementation that the third is possible, described method also comprises:
Described backup server sends the 3rd and is indicated to described main storage device, with the described snapshot making described main storage device delete described source book.
The third aspect, the embodiment of the present application provides a kind of data back up method, comprising:
Main storage device receives backup server according to Preset Time, the backup instruction that intermittent sends, described backup instruction is used to indicate described main storage device generating snapshot, and described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Described main storage device is according to described backup instruction generating snapshot;
Described main storage device sends the snapshot identification of described snapshot to described backup server;
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data described when described main storage device receives this Backup Data described in inquiry that described backup server sends;
Described main storage device inquire about according to the signaling of the variance data bitmap between snapshot during the front Backup Data that snapshot during inquiry this Backup Data described is adjacent with this Backup Data described described in this Backup Data time snapshot and a front Backup Data adjacent with this Backup Data described time snapshot between described variance data bitmap;
Described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when described main storage device sends this Backup Data described is to described backup server, and the described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when backing up this Backup Data described to make described backup server is to backup storage device;
Described main storage device receives the signaling of variance data corresponding to inquiry described variance data bitmap that described backup server sends;
Described main storage device inquires about described variance data according to the described signaling of variance data corresponding to described inquiry described variance data bitmap;
Described main storage device sends described variance data to described backup server, backs up described variance data to described backup storage device to make described backup server.
In conjunction with the third aspect, in the implementation that the first is possible, after the snapshot identification that described main storage device sends described snapshot to described backup server, and before the signaling of variance data bitmap between snapshot during the snapshot front Backup Data adjacent with this Backup Data described of described main storage device when receiving this Backup Data described in inquiry that described backup server sends, described method also comprises:
Described main storage device receives the first instruction that described backup server sends, and described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described main storage device indicates according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described method also comprises:
Described main storage device receives the second instruction that described backup server sends, and described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described main storage device removes the mapping relations between described backup server and described snapshot.
In conjunction with the first possible implementation of the third aspect or the third aspect or the possible implementation of the second, in the implementation that the third is possible, described method also comprises:
Described main storage device receives the 3rd instruction that described backup server sends, and described 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data described;
Described main storage device deletes snapshot during a front Backup Data adjacent with this Backup Data described.
Fourth aspect, the embodiment of the present application provides a kind of data back up method, comprising:
Backup server is according to Preset Time, intermittent sends backup and is indicated to main storage device, to make described main storage device according to described backup instruction generating snapshot, by described main storage device generating snapshot, and send the snapshot identification of described snapshot to described backup server; Described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Described backup server receives the snapshot identification of the described snapshot that described main storage device sends;
The signaling of the variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of described snapshot when described backup server sends inquiry this Backup Data described to described main storage device, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described to make described main storage device and a front Backup Data adjacent with this Backup Data described;
Described variance data bitmap between snapshot when the described snapshot described in described backup server receives during this Backup Data and a front Backup Data adjacent with this Backup Data described;
Described variance data bitmap between the snapshot when snapshot described in described backup server backup during this Backup Data and a front Backup Data adjacent with this Backup Data described is to backup storage device;
Described backup server receives the feedback information backing up described variance data bitmap that described backup storage device sends;
Described backup server sends the signaling of variance data corresponding to the described variance data bitmap of inquiry to described main storage device, inquires about variance data corresponding to described variance data bitmap to make described main storage device;
Described backup server receives the described variance data that described main storage device sends;
Described backup server backs up described variance data to described backup storage device;
Described backup server receives the feedback information backing up described variance data that described backup storage device sends.
In conjunction with fourth aspect, in the implementation that the first is possible, after described backup server receives the snapshot identification of the described snapshot that described main storage device sends, and before the signaling of variance data bitmap between snapshot during described backup server described snapshot when sending inquiry this Backup Data described front Backup Data adjacent with this Backup Data described to described main storage device, described method also comprises:
Described backup server sends first and is indicated to described main storage device, indicates the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described backup server is snapshot according to described mapping relations carry.
In conjunction with the first possible implementation of fourth aspect, in the implementation that the second is possible, described method also comprises:
Described backup server sends second and is indicated to described main storage device, removes the mapping relations between described backup server and described snapshot to make described main storage device according to described second instruction.
In conjunction with the first possible implementation of fourth aspect or fourth aspect or the possible implementation of the second, in the implementation that the third is possible, described method also comprises:
Described backup server sends the 3rd and is indicated to described main storage device, to make described main storage device according to snapshot during the front Backup Data that described 3rd instruction deletion is adjacent with this Backup Data described.
5th aspect, the embodiment of the present application provides a kind of memory device, comprising:
Receiving element, for receiving the backup instruction that backup server sends, described backup instruction is used to indicate the snapshot that described memory device generates source book;
Snapshot unit, for generating the snapshot of source book;
Transmitting element, for sending the snapshot identification of described snapshot to described backup server;
Described receiving element, also for receiving the signaling of the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Processing unit, the signaling for the valid data bitmap according to the described snapshot of described inquiry inquires about the valid data bitmap of described snapshot;
Described transmitting element, also for sending the valid data bitmap of described snapshot to described backup server, backs up the valid data bitmap of described snapshot to backup storage device to make described backup server;
Described receiving element, also for receiving the signaling of valid data corresponding to the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described processing unit, also for inquiring about described valid data according to the signaling of valid data corresponding to the valid data bitmap of the described snapshot of described inquiry;
Described transmitting element, also for sending described valid data to described backup server, backs up described valid data to described backup storage device to make described backup server.
In conjunction with the 5th aspect, in the implementation that the first is possible, this memory device also comprises:
Creating unit, for creating source book;
Map unit, for mapping described source book to application server, to make source book described in described application server carry, to store the data of described application server to described source book.
In conjunction with the 5th aspect, in the implementation that the second is possible,
Described receiving element, also for receiving the first instruction that described backup server sends; Described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described processing unit, also for indicating according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
In conjunction with the implementation that the second of the 5th aspect is possible, in the implementation that the third is possible,
Described receiving element, also for receiving the second instruction that described backup server sends, described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described processing unit, also for removing the mapping relations between described backup server and described snapshot.
In conjunction with the first possible implementation of the 5th aspect or the 5th aspect or the possible implementation of the second or the third possible implementation,
Described receiving element, also for receiving the 3rd instruction that described backup server sends, described 3rd instruction is used to indicate the described snapshot that described main storage device deletes described source book;
Described processing unit, also for deleting the described snapshot of described source book.
6th aspect, the embodiment of the present application provides a kind of server, comprising:
Transmitting element, is indicated to main storage device for sending backup, with the snapshot indicating described main storage device to generate source book, is sent the snapshot identification of described snapshot to described backup server by described main storage device;
Receiving element, for receiving the snapshot identification that described main storage device sends;
Described transmitting element, also for sending the signaling of the valid data bitmap inquiring about described snapshot to described main storage device, inquires about the valid data bitmap of described snapshot to make described main storage device according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described receiving element, also for receiving the valid data bitmap of the described snapshot that described main storage device sends;
Backup units, for backing up the valid data bitmap of described snapshot to backup storage device;
Described receiving element, also for receiving the feedback information backing up the valid data bitmap of described snapshot that described backup storage device sends;
Described transmitting element, also for the signaling of valid data corresponding to the described valid data bitmap sending the described snapshot of inquiry according to the described described feedback information having backed up the valid data bitmap of described snapshot to described main storage device, inquire about described valid data to make described main storage device according to the described signaling of valid data corresponding to the described valid data bitmap of the described snapshot of described inquiry;
Described receiving element, also for receiving the described valid data that described main storage device sends;
Described backup units, also for backing up described valid data to described backup storage device;
Described receiving element, also for receiving the feedback information backing up the described valid data of described snapshot that described backup storage device sends.
In conjunction with the 6th aspect, in the implementation that the first is possible,
Described transmitting element, being also indicated to described main storage device for sending first according to described snapshot identification, indicating the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described server also comprises: processing unit, for snapshot according to the mapping relations carry between described snapshot and described server.
In conjunction with the first possible implementation of the 6th aspect, in the implementation that the second is possible,
Described transmitting element, is also indicated to described main storage device for sending second, removes mapping relations between described backup server and described snapshot to make described main storage device.
In conjunction with the first possible implementation of second aspect or second aspect or the possible implementation of the second, in the implementation that the third is possible,
Described transmitting element, is also indicated to described main storage device for sending the 3rd, with the described snapshot making described main storage device delete described source book.
7th aspect, the embodiment of the present application provides a kind of memory device, comprising:
Receiving element, for receiving backup server according to Preset Time, the backup instruction that intermittent sends, described backup instruction is used to indicate described memory device generating snapshot, and described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Snapshot unit, for indicating generating snapshot according to described backup;
Transmitting element, for sending the snapshot identification of described snapshot to described backup server;
Described receiving element, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data described time also for receiving this Backup Data described in inquiry that described backup server sends;
Processing unit, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described for the signaling of the variance data bitmap between snapshot during a front Backup Data that the snapshot according to described inquiry during this Backup Data is adjacent with this Backup Data described and a front Backup Data adjacent with this Backup Data described;
Described transmitting element, also for the described variance data bitmap between snapshot during a front Backup Data that snapshot when sending this Backup Data described is adjacent with this Backup Data described to described backup server, the described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when backing up this Backup Data described to make described backup server is to backup storage device;
Described receiving element, also for receiving the signaling of variance data corresponding to inquiry described variance data bitmap that described backup server sends;
Described processing unit, also for inquiring about described variance data according to the described signaling of variance data corresponding to described inquiry described variance data bitmap;
Described transmitting element, also for sending described variance data to described backup server, backs up described variance data to described backup storage device to make described backup server.
In conjunction with the 7th aspect, in the implementation that the first is possible, described receiving element, also for receiving the first instruction that described backup server sends; Described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described processing unit, also for indicating according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
In conjunction with the first possible implementation of the 7th aspect, in the implementation that the second is possible,
Described receiving element, also for receiving the second instruction that described backup server sends, described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described processing unit, also for removing the mapping relations between described backup server and described snapshot.
In conjunction with the first possible implementation of the 7th aspect or the 7th aspect or the possible implementation of the second, in the implementation that the third is possible,
Described receiving element, also for receiving the 3rd instruction that described backup server sends, described 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data described;
Described processing unit, also for deleting snapshot during a front Backup Data adjacent with this Backup Data described.
Eighth aspect, the embodiment of the present application provides a kind of server, comprising:
Transmitting element, for according to Preset Time, intermittent sends backup and is indicated to main storage device, indicates generating snapshot to make described main storage device according to described backup, by described main storage device generating snapshot, and send the snapshot identification of described snapshot to described backup server; Described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Receiving element, for receiving the snapshot identification of the described snapshot that described main storage device sends;
Described transmitting element, also for the signaling of the variance data bitmap between snapshot during a front Backup Data that described snapshot when sending inquiry this Backup Data described is adjacent with this Backup Data described to described main storage device, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described to make described main storage device and a front Backup Data adjacent with this Backup Data described;
Described receiving element, the described variance data bitmap between snapshot when described snapshot time also for receiving this Backup Data described and a front Backup Data adjacent with this Backup Data described;
Backup units, the described variance data bitmap between snapshot when snapshot during for backing up this Backup Data described and a front Backup Data adjacent with this Backup Data described is to backup storage device;
Described receiving element, also for receiving the feedback information backing up described variance data bitmap that described backup storage device sends;
Described transmitting element, also for sending the signaling of variance data corresponding to the described variance data bitmap of inquiry to described main storage device, inquires about variance data corresponding to described variance data bitmap to make described main storage device;
Described receiving element, also for receiving the described variance data that described main storage device sends;
Described backup units, also for backing up described variance data to described backup storage device;
Described receiving element, also for receiving the feedback information backing up described variance data that described backup storage device sends.
In conjunction with eighth aspect, in the implementation that the first is possible,
Described transmitting element, being also indicated to described main storage device for sending first according to the snapshot identification of described snapshot, indicating the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described server also comprises: processing unit, for snapshot according to described mapping relations carry.
In conjunction with the first possible implementation of eighth aspect, in the implementation that the second is possible,
Described transmitting element, is also indicated to described main storage device for sending second, removes the mapping relations between described backup server and described snapshot to make described main storage device according to described second instruction.
In conjunction with the first possible implementation of eighth aspect or eighth aspect or in the possible implementation of the second, in the implementation that the third is possible,
Described transmitting element, is also indicated to described main storage device for sending the 3rd, to make described main storage device according to snapshot during the front Backup Data that described 3rd instruction deletion is adjacent with this Backup Data described.
9th aspect, the embodiment of the present application provides a kind of data backup system, comprise the 5th aspect or in conjunction with the first possible implementation of the 5th aspect to any one main storage device in the 4th kind of possible implementation, and comprise as claim the six aspect or in conjunction with the first possible implementation of the 6th aspect to any one backup server in the third possible implementation; Described data backup system also comprises:
Backup storage device, for the valid data bitmap of the snapshot of the source book of storage and backup service device transmission;
Described backup storage device, also feeds back to described backup server for what send the valid data bitmap that backs up described snapshot;
Described backup storage device, also for the valid data corresponding with valid data bitmap of storage and backup service device transmission;
Described backup storage device, also feeds back to described backup server for what send the valid data that store described snapshot.
Tenth aspect, the embodiment of the present application provides a kind of data backup system, comprise the 7th aspect or in conjunction with the first possible implementation of the 7th aspect to any one main storage device in the third possible implementation, and comprise that eighth aspect provides or in conjunction with the first possible implementation of eighth aspect to any one backup server in the third possible implementation; Described data backup system also comprises:
Backup storage device, the variance data bitmap between snapshot when snapshot during for storing this Backup Data and a front Backup Data adjacent with this Backup Data described;
Described backup storage device, also for send back up described variance data bitmap feed back to described backup server;
Described backup storage device, also for storing the described variance data corresponding with described variance data bitmap to described backup storage device;
Described backup storage device, also for send store described variance data feed back to described backup server.
After the embodiment of the present application receives the backup instruction of the trigger backups strategy that backup server sends by main storage device, through snapping technique process, send the data of backup to backup server and backup storage device, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.
The embodiment of the present application sends the valid data bitmap of the snapshot of the source book inquired to backup server by main storage device, so that backup server sends valid data bitmap or sends valid data corresponding to valid data bitmap further to backup storage device, backup storage device is enable to back up effective data, and then without the data of backup invalidation, simplified Backup Data.Or, variance data bitmap between snapshot when snapshot when sending by main storage device this Backup Data inquired and a front Backup Data adjacent with this Backup Data is to backup server, so that the variance data bitmap of snapshot when backup server sends twice adjacent Backup Data or variance data corresponding to this variance data bitmap are to backup storage device, backup storage device is made only to back up the data of there are differences, save the storage space of backup storage device, improve backup efficiency further.Make the selectivity of backup scenario more by full backup or incremental backup, and the performance of application server is without any impact, and by backup server, valid data, effectively bitmap or variance data variance data bitmap are stored in file, the model being different from primary storage can be used, namely support that isomery stores, and enhances the general applicability of each equipment in standby system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of data back up method that the embodiment of the present application one provides;
Fig. 2 is the process flow diagram of a kind of data back up method that the embodiment of the present application two provides;
Fig. 3 a is the shared storage architecture schematic diagram that the embodiment of the present application provides;
Fig. 3 b is the full dose data bitmap of the full backup that the embodiment of the present application provides;
Fig. 3 c be the embodiment of the present application provide first time backup time data bit figure schematic diagram corresponding to snapshot that obtain;
Fig. 3 d be the embodiment of the present application provide first time backup time obtain variance data bitmap schematic diagram;
Fig. 3 e be the embodiment of the present application provide second time backup time obtain variance data bitmap schematic diagram;
Fig. 3 f be the embodiment of the present application provide third time backup time obtain variance data bitmap schematic diagram;
Fig. 3 g is the full dose data bit figure schematic diagram returned to when backing up for the third time that the embodiment of the present application provides;
Fig. 4 is the process flow diagram of a kind of data back up method that the embodiment of the present application three provides;
Fig. 5 is the process flow diagram of a kind of data back up method that the embodiment of the present application four provides;
Fig. 6 is the structural representation of a kind of memory device that the embodiment of the present application five provides;
Fig. 7 is the another kind of memory device structural representation that the embodiment of the present application five provides;
Fig. 8 is a kind of server architecture schematic diagram that the embodiment of the present application six provides;
Fig. 9 is the another kind of server architecture schematic diagram that the embodiment of the present application six provides;
Figure 10 is the structural representation of a kind of memory device that the embodiment of the present application seven provides;
Figure 11 is the structural representation of the another kind of memory device that the embodiment of the present application seven provides;
Figure 12 is the structural representation of a kind of server that the embodiment of the present application eight provides;
Figure 13 is the structural representation of the another kind of server that the embodiment of the present application eight provides;
Figure 14 is the structural representation of a kind of data backup system that the embodiment of the present application nine provides;
Figure 15 is the structural representation of a kind of data backup system that the embodiment of the present application ten provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Below by specific embodiment, be described in detail respectively.
The application first embodiment provides a kind of data back up method, mainly based on the backup of data block, in shared storage architecture, the data of application server are kept on the main storage device of bottom, in order to the data reliability of Deterministic service device, usually need to back up the data be kept in the main storage device of bottom, in order to avoid during application system fault, obliterated data, can not return to normal condition.The present embodiment carries out data backup by adopting backup server and backup storage device.Particularly, refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of data back up method that the embodiment of the present application one provides; The data back up method that the present embodiment one provides is described with the angle of the main storage device in full backup situation.As shown in Figure 1, the data back up method that the present embodiment provides, comprising:
S111, main storage device receive the backup instruction that backup server sends.
Wherein, backup instruction is used to indicate the snapshot that main storage device generates source book.
S112, main storage device generate the snapshot of source book.
Wherein, generate a snapshot to source book, to carry out full backup, namely the snapshot of source book can as final backup, to realize comprehensively fast quick-recovery to application system.The definition of storage networking industry association to snapshot is: about a complete usable copy of specific data set, and this copy comprises the reflection of corresponding data at certain time point (time point that copy starts).Snapshot can be a copy of the data represented by it, also can be a duplicate of data.The Main Function of snapshot mainly can carry out online data recovery, can carry out timely date restoring, date restoring is become the state of snapshot generation time point when memory device generation application and trouble or file corruption.Another effect of snapshot provides another one data access channel for storing user, and when former data carry out application on site process, user can access snapshot data, and snapshot can also be utilized to carry out the work such as test.
S113, main storage device send the snapshot identification of snapshot to backup server, send first be indicated to main storage device to make backup server.
Wherein, the first instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server.
S114, main storage device receive the first instruction.
S115, main storage device indicate according to first the mapping relations set up between snapshot and backup server, to make backup server carry snapshot.
S116, main storage device receive the signaling of the valid data bitmap of the inquiry snapshot that backup server sends.
Optionally, in other embodiments, can without this snapshot of carry, main storage device directly receives the signaling of the valid data bitmap of the inquiry snapshot that backup server sends, inquiry valid data bitmap.Namely step S114 and step S115 can not perform.
In step S116, the valid data bitmap of the snapshot of order main storage device inquiry source book is to carry out full backup, namely the strategy of full backup is back up the snapshot of source book, the valid data bitmap of the concrete snapshot for obtaining source book or valid data corresponding to valid data bitmap, so that the full backup strategy of valid data corresponding to the follow-up further valid data bitmap realizing the snapshot obtaining source book.
S117, main storage device are according to the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap of inquiry snapshot.
S118, main storage device send the valid data bitmap of snapshot to backup server, to make the valid data bitmap of backup server backup snapshots to backup storage device.
S119, main storage device receive the signaling of valid data corresponding to the valid data bitmap of inquiry snapshot that backup server sends.
S120, main storage device are according to the signaling inquiry valid data of the valid data corresponding to valid data bitmap of inquiry snapshot.
S121, main storage device send valid data to backup server, back up valid data to backup storage device to make backup server.Backup server backs up valid data further to backup storage device, multi-level data backup, make to improve backup performance, even if application server and backup server have fault, also can from backup storage device extracted valid data, recover the fault of application server, improve backup quality.Get valid data bitmap and valid data corresponding to valid data bitmap by backup server, then can be recovered according to the valid data in the valid data application server in valid data bitmap by backup server.Then without backup invalidation data, decrease the data volume of backup, improve backup speed.
After the data back up method that the present embodiment provides receives the backup instruction of the trigger backups strategy that backup server sends by main storage device, through snapping technique process, inquire about and send backup data to backup server and backup storage device, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.The valid data bitmap of the snapshot of the source book inquired be sent to backup server mainly through main storage device, so that backup server sends valid data bitmap to backup storage device, backup storage device is enable to back up effective bitmap, so that standby system obtains effective data further, and then without the data of backup invalidation, simplified Backup Data.
As the optional embodiment of one, before based on the step S111 shown in Fig. 1, before namely main storage device generates the snapshot of source book, the method is further comprising the steps of:
A, main storage device create source book.
B, main storage device map source book to application server, to make application server carry source book, to store the data of application server to source book.
Wherein, establish a communications link between main storage device and application server relation, mainly got the mark of the source book of main storage device by application server, so that carry source book is on application server, the data write operation of application server stores.Namely the data of application server when operation system are stored.
The data back up method that the present embodiment provides, by the relation that establishes a communications link between main storage device and application server, sends the mark of source book to application server, by application server carry source book to store the data of application server.
As the optional embodiment of one, the data back up method that the present embodiment provides is further comprising the steps of:
1, main storage device receives the second instruction that backup server sends.Wherein, the second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot.
2, main storage device removes the mapping relations between backup server and snapshot.
As the optional embodiment of one, the data back up method that the present embodiment provides is further comprising the steps of:
A, main storage device receive the 3rd instruction that backup server sends.Wherein, the 3rd instruction is used to indicate the snapshot that main storage device deletes source book.
B, main storage device delete the snapshot of source book.
Refer to Fig. 2, Fig. 2 is the process flow diagram of a kind of data back up method that the embodiment of the present application two provides.The data back up method that the present embodiment two provides describes with the angle of the backup server in full backup situation, and as shown in Figure 2, the data back up method that the present embodiment provides can comprise the following steps:
S211, backup server send backup and are indicated to main storage device, with the snapshot indicating main storage device to generate source book, send the snapshot identification of snapshot to backup server by main storage device.
Wherein, backup instruction is used to indicate the snapshot that main storage device generates source book, starts to carry out full backup with trigger backups system, performs full backup strategy.And, send the mark of source book to application server, to make application server carry source book on application server, to store the data of application server by main storage device.Establish a communications link between main storage device and application server relation, and the data write operation of application server stores, and namely stores the data of application server when operation system.
S212, backup server receive the snapshot identification that main storage device sends.
S213, backup server send first and are indicated to main storage device, indicate the mapping relations set up between snapshot and backup server to make main storage device according to first.
S214, backup server according to the mapping relations between snapshot and backup server, carry snapshot.Wherein, backup server can utilize the data in the data application server in snapshot to recover.
S215, backup server send the signaling of the valid data bitmap of inquiry snapshot to main storage device, to make main storage device according to the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap of inquiry snapshot.
Optionally, in other embodiments, step S213 and step S214 can be omitted, namely backup server does not need this snapshot of carry, the signaling of the valid data bitmap of this snapshot of inquiry can be sent to main storage device according to the snapshot identification received, make main storage device inquire about the valid data bitmap of this snapshot.
Wherein, the valid data bitmap of the snapshot of inquiry source book is to carry out full backup, namely the strategy of full backup is back up the snapshot of source book, the valid data bitmap of the concrete snapshot for obtaining source book and valid data corresponding to valid data bitmap, so that the full backup strategy of valid data corresponding to the follow-up further valid data bitmap realizing the snapshot obtaining source book.
S216, backup server receive the valid data bitmap of the snapshot that main storage device sends.
The valid data bitmap of S217, backup server backup snapshots is to backup storage device.
S218, backup server receive the feedback information of the valid data bitmap of the backup snapshots that backup storage device sends.
S219, backup server send the signaling of valid data corresponding to the valid data bitmap of inquiry snapshot to main storage device according to the feedback information of the valid data bitmap of backup snapshots, to make main storage device according to the signaling inquiry valid data of valid data corresponding to the valid data bitmap of inquiry snapshot.
Wherein, by further processing effective bitmap, to obtain valid data corresponding to valid data bitmap further.The data in the source book of main storage device can be recovered according to these valid data, and then make application server recover normal situation about running.Valid data are backed up further to backup storage device by backup server, multi-level data backup, make to improve backup performance, even if application server and backup server have fault, also can from backup storage device extracted valid data, recover the fault of application server, improve backup quality.
S220, backup server receive the valid data that main storage device sends.
S221, backup server backup valid data are to backup storage device.
S222, backup server receive the feedback information of the valid data of the backup snapshots that backup storage device sends.
The data back up method that the present embodiment provides, the backup being sent trigger backups strategy by backup server is indicated to main storage device, make main storage device through snapping technique process, send the data of backup to backup server and backup storage device, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.By the snapshot of backup server carry source book, inquired about the valid data bitmap of snapshot by main storage device after, send the valid data bitmap of snapshot to backup server, and then after the valid data bitmap of the snapshot of backup server reception main storage device transmission, the valid data bitmap of backup snapshots is to backup storage device.Then without backup invalidation data, decrease the data volume of backup, improve backup speed.
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises:
Backup server sends second and is indicated to main storage device, to make the mapping relations between main storage device releasing backup server and snapshot.
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises:
Backup server sends the 3rd and is indicated to main storage device, with the snapshot making main storage device delete source book.
Refer to Fig. 3 a, Fig. 3 a is the shared storage architecture schematic diagram that the embodiment of the present application provides.As shown in Figure 3 a, the shared storage architecture of data back up method application that provides of the present embodiment based on equipment comprise: carry the application server 31 of application operating system, backup server 32, with the main storage device 33 of snapshot functions and a backup storage device 34.Wherein, the application server 31 carrying application operating system can carry out business processing, and the main storage device 33 with snapshot functions can generate the snapshot of application server to the operation that data are write.Communication connection relation is set up, by the source book of application server 31 carry main storage device to store the data of application server 31 between application server 31 and main storage device 33.Communication connection relation is set up, the snapshot generated with carry main storage device 33 between backup server 32 and main storage device 33.And between backup server 32 and backup storage device 34, foundation has communication connection relation, backs up in backup storage device 34 with the valid data obtained by backup server 32 or valid data bitmap.When standby system performs full backup strategy time, then what main storage device 33 generated is the snapshot of source book.Further, main storage device 33 sends the snapshot identification of the snapshot of source book to backup server 32, send first to make backup server 32 and be indicated to main storage device 33, indicate according to first the mapping relations set up between snapshot and backup server 32 by main storage device 33, to make backup server 32 carry snapshot, then backup server 32 can utilize the data in the data application server 31 in snapshot to recover.Backup server 32 sends the signaling of the valid data bitmap of inquiry snapshot to main storage device 33, to obtain valid data bitmap, while realizing full backup, has simplified the data needing backup.Valid data bitmap can be backed up to backup storage device 34 by further backup server 32.This backup storage device 34 can be general storage medium, then utilize snapshot functions, in the unmatched situation of model, equally simply can realize full backup.
Further, backup server 32 can according to the backup storage device 34 that receives send store the feedback information of effective data bit figure after, send the signaling of the valid data corresponding to valid data bitmap of inquiry snapshot to main storage device 33, inquire about valid data corresponding to the valid data bitmap of snapshot to make main storage device 33.After backup server 32 gets valid data from main storage device 33, back up to further in backup storage device 34.Thus multi-level data backup, makes to improve backup performance, even if application server and backup server have fault, also can from backup storage device extracted valid data, recover the fault of application server, improve backup quality.
About as follows to the processing procedure of data bitmap under full backup:
Refer to Fig. 3 b, Fig. 3 b is the full dose data bitmap of the full backup that the embodiment of the present application provides.As shown in Figure 3 b, block is the zone bit of data block, whether zone bit changes for the data block distinguishing byte bit position correspondence, whether usual use 0 and 1 is distinguished data block and is changed, in the present embodiment, fast for the data changed, by the mark position 1 under byte bit position corresponding for this data block, the block mark position 1 of the byte bit position correspondence not having the data block of change corresponding.As shown in Figure 3 b, bit position is labeled as the mark position 1 of the data block of 2, and bit position is labeled as the mark position 1 of the data block of 11.Further, valid data bitmap can be obtained according to the data bitmap of importance mark, can back up for there is no the data bitmap of importance, or according to the priority of importance setting Backup Data bitmap, for the data bitmap that importance is high, can extract in advance, be sent to backup server 32 by main storage device 33, the data bitmap high until importance backs up successfully, backs up at extraction time important data bitmap.Concrete backup form is not by the restriction of the present embodiment.
Received the backup instruction of the trigger backups strategy that backup server 32 sends by main storage device 33 after, through snapping technique process, send the data of backup to backup server 32 and backup storage device 34, the participation of application server 31 is not had in backup procedure, avoid the service feature being had influence on application server 31 self by application server 31 running client backup software or disk mirroring functional software Backup Data, while achieving the normal operation of application server 31, the function of high-level efficiency Backup Data, namely Backup Data function and application server 31 runs business software and does not interfere with each other.
Refer to Fig. 4, wherein, Fig. 4 is the process flow diagram of a kind of data back up method that the embodiment of the present application three provides.
The data back up method that the present embodiment provides describes with the angle of the main storage device under incremental backup, and as shown in Figure 4, the data back up method that the present embodiment provides comprises:
S411, main storage device receive backup server according to Preset Time, and the backup instruction that intermittent sends, backup instruction is used to indicate main storage device generating snapshot.Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.Carrying out incremental backup is the snapshot obtained based on intermittent, draws the variance data bitmap between snapshot, then backs up variance data bitmap or variance data corresponding to variance data bitmap.Thus, Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
S412, main storage device are according to backup instruction generating snapshot.
S413, main storage device send the snapshot identification of snapshot to backup server, send first be indicated to main storage device to make backup server.
First instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server.
S414, main storage device receive the first instruction.
S415, main storage device indicate according to first the mapping relations set up between snapshot and backup server, to make backup server carry snapshot.
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when S416, main storage device receive this Backup Data of inquiry that backup server sends.
Optionally, in other embodiments, can omit step S414 and step S415, namely backup server need not send the first instruction to main storage device, and main storage device also need not receive the first instruction, without the need to setting up the mapping relations between snapshot and backup server.The signaling of the variance data bitmap between snapshot when only needing the front Backup Data adjacent with this Backup Data of snapshot during this Backup Data of inquiry receiving backup server transmission performs follow-up backup-step.
The variance data bitmap inquired about between twice snapshot is to carry out incremental backup, the strategy of incremental backup be namely to snapshot between variance data bitmap or variance data back up.To recover the data under incremental backup strategy, then obtain the data of a variance data front snapshot corresponding with write operation position, variance data place with, be recover data values.
Variance data bitmap between snapshot when snapshot when S417, main storage device inquire about this Backup Data according to the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during this Backup Data of inquiry and a front Backup Data adjacent with this Backup Data.
Variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when S418, main storage device send this Backup Data is to backup server, and the variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when backing up this Backup Data to make backup server is to backup storage device.
The signaling of the variance data that the inquiry variance data bitmap that S419, main storage device reception backup server sends is corresponding.
S420, main storage device are according to the signaling inquiry variance data of inquiring about variance data corresponding to variance data bitmap.
S421, main storage device send variance data to backup server, back up variance data to backup storage device to make backup server.Backup server is made to back up valid data further to backup storage device, multi-level data backup, make to improve backup performance, even if application server and backup server have fault, also variance data or variance data bitmap can be extracted from backup storage device, recover the fault of application server, improve backup quality.
The data back up method that the present embodiment provides is the realization of incremental backup strategy, namely after main storage device receives the backup instruction of backup server transmission trigger backups strategy, variance data bitmap between the snapshot that main storage device inquiry main storage device intermittent generates, this variance data bitmap is backed up to backup storage device by backup server, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.
Particularly, variance data bitmap between snapshot when snapshot when sending by main storage device this Backup Data inquired and a front Backup Data adjacent with this Backup Data is to backup server, so that the variance data bitmap of snapshot when backup server sends twice adjacent Backup Data or variance data corresponding to this variance data bitmap are to backup storage device, backup storage device is made only to back up the data of there are differences, save the storage space of backup storage device, improve backup efficiency further.
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises: main storage device receives the second instruction that backup server sends, and the second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot;
Main storage device removes the mapping relations between backup server and snapshot;
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises:
Main storage device receives the 3rd instruction that backup server sends, and the 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data;
Main storage device deletes snapshot during a front Backup Data adjacent with this Backup Data.
Refer to Fig. 5, Fig. 5 is the process flow diagram of a kind of data back up method that the embodiment of the present application four provides.
The data back up method that the present embodiment provides describes with the angle of the backup server in incremental backup situation, and as shown in Figure 5, the data back up method that the present embodiment provides comprises:
S511, backup server are according to Preset Time, and intermittent sends backup and is indicated to main storage device, and to make main storage device according to backup instruction generating snapshot, by main storage device generating snapshot, and the snapshot identification sending snapshot is to backup server.Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.Wherein, snapshot when snapshot during this Backup Data and a front Backup Data adjacent with this Backup Data is by main storage device according to Preset Time, and intermittent generates.
S512, backup server receive the snapshot identification of the snapshot that main storage device sends.
S513, backup server send first and are indicated to main storage device, indicate the mapping relations set up between snapshot and backup server to make main storage device according to first.
S514, backup server are according to mapping relations carry snapshot.
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when S515, backup server send this Backup Data of inquiry to main storage device, the variance data bitmap between snapshot when snapshot when inquiring about this Backup Data to make main storage device and a front Backup Data adjacent with this Backup Data.
Optionally, in other embodiments, can omit step S513 and step S514, namely backup server need not send the first instruction to main storage device, and main storage device is without the need to setting up the mapping relations between snapshot and backup server.Namely backup server can need the snapshot of the data of backup without carry when back-up processing, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when only needing this Backup Data of inquiry sent according to the snapshot identification receiving the snapshot that main storage device sends to main storage device, to perform follow-up backup-step.
Make the main storage device variance data bitmap inquired about between twice snapshot be to carry out incremental backup, the strategy of incremental backup be namely to snapshot between variance data bitmap or variance data back up.To recover the data under incremental backup strategy, then obtain the data of a variance data front snapshot corresponding with write operation position, variance data place with, be recover data values.
Variance data bitmap between snapshot when snapshot when S516, backup server receive this Backup Data and a front Backup Data adjacent with this Backup Data.
Variance data bitmap between snapshot when snapshot when S517, backup server back up this Backup Data and a front Backup Data adjacent with this Backup Data is to backup storage device.
S518, backup server receive the feedback information backing up variance data bitmap that backup storage device sends.
S519, backup server send the signaling of variance data corresponding to inquiry variance data bitmap to main storage device, inquire about variance data corresponding to variance data bitmap to make main storage device.
S520, backup server receive the variance data that main storage device sends.
S521, backup server backup variance data is to backup storage device.Backup server backs up valid data further to backup storage device, multi-level data backup, make to improve backup performance, even if application server and backup server have fault, also variance data or variance data bitmap can be extracted from backup storage device, recover the fault of application server, improve backup quality.
S522, backup server receive the feedback information backing up variance data that backup storage device sends.
The data back up method that the present embodiment provides, send backup by backup server and be indicated to main storage device, inquire about the variance data bitmap between the snapshot of main storage device intermittent generation to make main storage device and after sending to backup server, back up this variance data bitmap to backup storage device by backup server.The participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.
Particularly, variance data bitmap between snapshot when snapshot during this Backup Data inquired by backup server reception main storage device and a front Backup Data adjacent with this Backup Data is to backup server, so that the variance data bitmap of snapshot when backup server sends twice adjacent Backup Data or variance data corresponding to this variance data bitmap are to backup storage device, backup storage device is made only to back up the data of there are differences, save the storage space of backup storage device, improve backup efficiency further.
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises:
Backup server sends second and is indicated to main storage device, removes the mapping relations between backup server and snapshot to make main storage device according to the second instruction.
As the optional embodiment of one, the data back up method that the present embodiment provides also comprises:
Backup server sends the 3rd and is indicated to main storage device, to make main storage device according to snapshot during the front Backup Data that the 3rd instruction deletion is adjacent with this Backup Data.
Refer to Fig. 3 a, Fig. 3 a is the shared storage architecture schematic diagram of the data back up method that the embodiment of the present application provides.As shown in Figure 3 a, the shared storage architecture of data back up method that provides of the present embodiment based on equipment comprise: carry the application server 31 of application operating system, backup server 32, with the main storage device 33 of snapshot functions and a backup storage device 34.Wherein, the application server 31 carrying application operating system can carry out business processing, and the main storage device 33 with snapshot functions can generate the snapshot of application server to the operation that data are write.Communication connection relation is set up, by the source book of application server 31 carry main storage device to store the data of application server 31 between application server 31 and main storage device 33.Communication connection relation is set up, the snapshot generated with carry main storage device 33 between backup server 32 and main storage device 33.And between backup server 32 and backup storage device 34, foundation has communication connection relation, backs up in backup storage device 34 with the valid data obtained by backup server 32 or valid data bitmap.When standby system perform incremental backup strategy time, then main storage device 33 generate be according to backup server intermittence send backup instruction generating snapshot.Further, the snapshot identification of snapshot when main storage device 33 sends current backup is to backup server 32, send first to make backup server 32 and be indicated to main storage device 33, indicate according to first the mapping relations set up between snapshot and backup server 32 by main storage device 33, by backup server 32 according to these mapping relations by snapshots on backup server 32.Backup server 32 can indicate main storage device 33 to contrast the snapshot of adjacent twice Backup Data, obtain the variance data bitmap between these two snapshots, thus backup server 32 can obtain the full dose data bitmap of the data block after change according to the variance data bitmap between the snapshot of a front Backup Data and this two snapshots.Or when running into fault, the full dose data bitmap obtained through snapshot when can back up according to first time, and return to the full dose data bitmap before fault generates through several variance data bitmaps of several times backup acquisition after first time backup.Wherein, in backup procedure, the signaling of the variance data bitmap between snapshot when snapshot during backup server 32 transmission this Backup Data of inquiry and a front Backup Data adjacent with this Backup Data is to main storage device 33, to obtain variance data bitmap, while realizing incremental backup, the data needing backup are simplified.Variance data bitmap can be backed up to backup storage device 34 by further backup server 32.This backup storage device 34 can be general storage medium, then utilize snapshot functions, in the unmatched situation of model, equally simply can realize incremental backup.
Further, after the feedback information of the bitmap of store discrepancy data that backup server 32 can send according to the backup storage device 34 received, send the signaling of variance data corresponding to inquiry variance data bitmap to main storage device 33, inquire about variance data to make main storage device 33.After backup server 32 gets variance data from main storage device 33, back up to further in backup storage device 34.Thus multi-level data backup, make to improve backup performance, even if application server and backup server have fault, also variance data or difference bitmap can be extracted from backup storage device, recover data, the problem avoiding the fault due to application server to cause business processing not carry out continuously occurs, improves backup quality.
About as follows to the processing procedure of variance data bitmap under incremental backup:
Refer to Fig. 3 c, 3d, Fig. 3 e, 3f, Fig. 3 g, Fig. 3 c be the embodiment of the present application provide first time backup time data bit figure schematic diagram corresponding to snapshot that obtain; Fig. 3 d be the embodiment of the present application provide first time backup time obtain variance data bitmap schematic diagram; Fig. 3 e be the embodiment of the present application provide second time backup time obtain variance data bitmap schematic diagram; Fig. 3 f be the embodiment of the present application provide third time backup time obtain variance data bitmap schematic diagram; Fig. 3 g is the full dose data bit figure schematic diagram returned to when backing up for the third time that the embodiment of the present application provides.Wherein, in each variance data bitmap, block is the zone bit of data block, whether whether zone bit changes for the data block distinguishing byte bit position correspondence, usually distinguish data block with 0 and 1 and change, in the present embodiment, fast for the data changed, by the mark position 1 under byte bit position corresponding for this data block, for the data block not having to change, by the block mark position 1 corresponding to the byte bit position of its correspondence.In initialization data bitmap, the value of each zone bit is 0, and for the first time snapshot carried out after initialization, as shown in Figure 3 c, the mark position that bit position is labeled as the data block of 2 is 1, and bit position is labeled as the mark position 1 of the data block of 11.As shown in Figure 3 d, the mark position that bit position is labeled as the data block of 2 is 1, show that the data block that this bit position is labeled as 2 changes, and bit position is labeled as the mark position 1 of the data block of 11, shows that the data block that this bit position is labeled as 11 changes.Because the value of each zone bit is 0 in initialization data bitmap, then the variance data bitmap obtained when the data bitmap that the snapshot obtained during first time backup is corresponding backed up with first time is identical.As shown in Figure 3 e, the mark position that bit position is labeled as the data block of 4 is 1, shows that the data block that this bit position is labeled as 4 changes.As illustrated in figure 3f, the mark position that bit position is labeled as the data block of 1 is 1, and show that the data block that this bit position is labeled as 4 changes, the mark position that bit position is labeled as the data block of 2 is 1, shows that the data block that this bit position is labeled as 2 changes.
The variance data bitmap obtained when the variance data bitmap obtained when the data bitmap that the snapshot obtained when then backing up according to first time is corresponding, second time backup and backup for the third time, merge the zone bit of the data block corresponding to identical bit position, namely have at least in identical bit position in each data bitmap one put 1 zone bit, then the mark position 1 of this bit position correspondence.The full dose data bitmap of snapshot when backing up for the third time can be obtained, namely as shown in figure 3g after then merging.
As optionally, can when each Backup Data, the full dose data bitmap that snapshot when the variance data bitmap obtained according to this Backup Data and last Backup Data is corresponding obtains the full dose data bitmap of this Backup Data, back up successively, finally obtain full dose data bitmap, to obtain full dose data according to full dose data bitmap, and be stored to backup storage device, so that when recovering data, directly obtain from backup storage device.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of memory device that the embodiment of the present application five provides.The memory device that the present embodiment provides, it is the execution carrier that a kind of data back up method described with the angle of main storage device provided based on embodiment one is provided, i.e. a kind of main storage device, a kind of memory device as shown in Figure 6, comprising: receiving element 61, snapshot unit 62, transmitting element 63 and processing unit 64.
Wherein, receiving element 61, for receiving the backup instruction that backup server sends, wherein, backup instruction is used to indicate the snapshot that memory device generates source book.
Snapshot unit 62, for generating the snapshot of source book.
Transmitting element 63, for sending the snapshot identification of snapshot to backup server.
Receiving element 61, also for receiving the signaling of the valid data bitmap of the inquiry snapshot that backup server sends.
Processing unit 64, for the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap according to inquiry snapshot.
Transmitting element 63, also for sending the valid data bitmap of snapshot to backup server, to make the valid data bitmap of backup server backup snapshots to backup storage device.
Receiving element 61, also for receiving the signaling of valid data corresponding to the valid data bitmap of inquiry snapshot that backup server sends.
Processing unit 64, also for the signaling inquiry valid data of valid data corresponding to valid data bitmap according to inquiry snapshot.
Transmitting element 63, also for sending valid data to backup server, backs up valid data to backup storage device to make backup server.
The present embodiment is generated the snapshot of source book, to carry out full backup after receiving the backup instruction of backup server transmission by receiving element 61 by snapshot unit 62.The snapshot identification of snapshot is sent to backup server by transmitting element 63, to notify that the processing unit 64 of main storage device inquires about the valid data bitmap of this snapshot further by backup server, the valid data bitmap that transmitting element 63 sends is received, to back up this valid data bitmap to backup storage device by backup server.And, the signaling inquiry valid data of the valid data that the valid data bitmap of the inquiry snapshot received according to receiving element 61 further by processing unit 64 is corresponding, send valid data to backup server by transmitting element 63, back up valid data to backup storage device to make backup server.By performing full backup strategy, the valid data of source book are backed up, decrease Backup Data, and do not need the extra running client software of application server to back up, only set up between backup server with main storage device and communicate, obtain valid data bitmap, by the back-up processing between backup server and backup storage device, complete the full backup of data.
As the optional embodiment of one, this memory device also comprises:
Creating unit, for creating source book.
Map unit, for mapping source book to application server, to make application server carry source book, to store the data of application server to source book.
As the optional embodiment of one, receiving element, also for receiving the first instruction.First instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server.
Processing unit, also for indicating according to first the mapping relations set up between snapshot and backup server, to make backup server carry snapshot.
As the optional embodiment of one, receiving element, also for receiving the second instruction that backup server sends, the second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot;
Processing unit, also for removing the mapping relations between backup server and snapshot.
As the optional embodiment of one, receiving element, also for receiving the 3rd instruction that backup server sends, the 3rd instruction is used to indicate the snapshot that main storage device deletes source book;
Processing unit, also for deleting the snapshot of source book.
Refer to Fig. 7, Fig. 7 is the another kind of memory device structural representation that the embodiment of the present application five provides.As shown in Figure 7, the memory device that the present embodiment provides, it is the execution carrier of a kind of data back up method described with the angle of main storage device provided based on embodiment one, comprise: input media 71, output unit 72, storer 73 and processor 74, wherein, store batch processing code in storer 73, and processor 74 is for calling the program code stored in storer, for performing following operation:
Receive the backup instruction that backup server sends.Wherein, backup instruction is used to indicate the snapshot that main storage device generates source book.
Generate the snapshot of source book.
Send the snapshot identification of snapshot to backup server;
Receive the signaling of the valid data bitmap of the inquiry snapshot that backup server sends.
According to the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap of inquiry snapshot.
Send the valid data bitmap of snapshot to backup server, to make the valid data bitmap of backup server backup snapshots to backup storage device.Wherein, get valid data bitmap by backup server, then can be recovered according to the valid data in the valid data application server in valid data bitmap by backup server.Then without backup invalidation data, decrease the data volume of backup, improve backup speed.
Receive the signaling of valid data corresponding to the valid data bitmap of inquiry snapshot that backup server sends.
According to the signaling inquiry valid data of the valid data corresponding to valid data bitmap of inquiry snapshot.
Send valid data to backup server, back up valid data to backup storage device to make backup server.
The present embodiment controls output unit mainly through the processor 74 of main storage device and sends the valid data bitmap of the snapshot of the source book inquired to backup server, so that backup server sends valid data bitmap to backup storage device, backup storage device is enable to back up effective bitmap, so that standby system obtains effective data further, and then without the data of backup invalidation, simplified Backup Data.
As the optional embodiment of one, before this processor performs the operation of the snapshot generating source book, also for performing following step:
Create source book;
Map source book to application server, to make application server carry source book, to store the data of application server to source book.
As the optional embodiment of one, this processor perform send snapshot snapshot identification to backup server step after, and before the step of the signaling of the valid data bitmap of the inquiry snapshot of execution reception backup server transmission, also for performing following step:
Receive the first instruction that backup server sends, the first instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server;
The mapping relations set up between snapshot and backup server are indicated, to make backup server carry snapshot according to first.
As the optional embodiment of one, this processor is also for performing following step:
Receive the second instruction that backup server sends.Second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot.
Remove the mapping relations between backup server and snapshot.
As the optional embodiment of one, this processor is also for performing following step:
Receive the 3rd instruction that backup server sends.3rd instruction is used to indicate the snapshot that main storage device deletes source book.
Delete the snapshot of source book.
Refer to Fig. 8, Fig. 8 is a kind of server architecture schematic diagram that the embodiment of the present application six provides.The server that the present embodiment provides is the execution carrier of a kind of data back up method provided based on embodiment two, i.e. a kind of backup server, backup server as shown in Figure 8 comprises: transmitting element 81, receiving element 82, backup units 83.
Wherein, transmitting element 81, is indicated to main storage device for sending backup, with the snapshot indicating main storage device to generate source book, sends the snapshot identification of snapshot to backup server by main storage device;
Receiving element 82, for receiving the snapshot identification that main storage device sends;
Transmitting element 81, also for sending the signaling of the valid data bitmap of inquiry snapshot to main storage device, to make main storage device according to the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap of inquiry snapshot;
Receiving element 82, also for receiving the valid data bitmap of the snapshot that main storage device sends;
Backup units 83, for the valid data bitmap of backup snapshots to backup storage device;
Receiving element 82, also for receiving the feedback information of the valid data bitmap of the backup snapshots that backup storage device sends;
Transmitting element 81, also for the signaling of valid data corresponding to the valid data bitmap sending inquiry snapshot according to the feedback information of the valid data bitmap of backup snapshots to main storage device, to make main storage device according to the signaling inquiry valid data of valid data corresponding to the valid data bitmap of inquiry snapshot;
Receiving element 82, also for receiving the valid data that main storage device sends;
Backup units 83, also for backing up valid data to backup storage device.
Receiving element 82, also for receiving the feedback information of the valid data of the backup snapshots that backup storage device sends.
The server that the present embodiment provides, it is the backup server of a Backup Data, send backup by transmitting element 81 and be indicated to main storage device, with the snapshot indicating main storage device to generate source book, the snapshot identification of snapshot is sent by main storage device, receiving element 82 receives the snapshot identification of the snapshot of the source book that main storage device sends, and then inquire about the signaling of the valid data bitmap of snapshot to main storage device by transmitting element 81 transmission, to make main storage device according to the valid data bitmap of the signaling inquiry snapshot of the valid data bitmap of inquiry snapshot, to receive valid data bitmap by receiving element 82, and then by the valid data bitmap of backup units 83 backup snapshots to backup storage device.While reaching full backup, without the data of backup invalidation, simplify Backup Data.And backing up valid data bitmap further to backup storage device by backup units, achieve multi-level data backup, the perfect performance of data backup, having done sufficient preparation for better recovering the data writing operation of application server when normal operation.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending first, indicates the mapping relations set up between snapshot and backup server to make main storage device according to first;
This server also comprises: processing unit, for the mapping relations carry snapshot obtained according to receiving element.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending second, to make the mapping relations between main storage device releasing backup server and snapshot.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending the 3rd, with the snapshot making main storage device delete source book.
Refer to Fig. 9, Fig. 9 is the another kind of server architecture schematic diagram that the embodiment of the present application six provides.The server that the present embodiment provides, it is the execution carrier of a kind of data back up method provided based on embodiment two, i.e. a kind of backup server, backup server as shown in Figure 9 comprises: input media 91, output unit 92, storer 93 and processor 94, wherein, store batch processing code in storer 93, and processor 94 is for calling the program code stored in storer, for performing following operation:
Send backup and be indicated to main storage device, with the snapshot indicating main storage device to generate source book, send the snapshot identification of snapshot to backup server by main storage device.
Receive the snapshot identification that main storage device sends.
The signaling sending the valid data bitmap of inquiry snapshot, to main storage device, inquires about the valid data bitmap of snapshot to make main storage device according to the signaling of the valid data bitmap of inquiry snapshot.
Receive the valid data bitmap of the snapshot that main storage device sends.
The valid data bitmap of backup snapshots is to backup storage device.
Receive the feedback information of the valid data bitmap of the backup snapshots that backup storage device sends.
The signaling of valid data corresponding to the valid data bitmap of inquiry snapshot is sent to main storage device, to make main storage device according to the signaling inquiry valid data of valid data corresponding to the valid data bitmap of inquiry snapshot according to the feedback information of the valid data bitmap of backup snapshots.
Receive the valid data that main storage device sends.
Backup valid data are to backup storage device.
Receive the feedback information of the valid data of the backup snapshots that backup storage device sends.
The present embodiment performs associative operation by processor 94, main storage device is indicated to send backup, with the snapshot indicating main storage device to generate source book, receive the snapshot identification of the snapshot of the source book that main storage device sends, send the signaling of the valid data bitmap of inquiry snapshot to main storage device, inquire about and the valid data bitmap of the snapshot sent, so that the valid data bitmap of backup snapshots is to backup storage device to receive main storage device.By controlling the back-up processing correspondence setting up snapshot functions between backup server and main storage device, obtaining the valid data bitmap of source book, not needing application server to load and run the client software with backup functionality just can complete backup.And realize the method that full backup specifically adopts acquisition valid data bitmap, then simplify the backup of invalid data, improve backup speed.And obtain the valid data bitmap in backup server further by backup storage device, achieve multi-level data backup, the perfect performance of data backup, has done sufficient preparation for better recovering the data writing operation of application server when normal operation.
As the optional embodiment of one, after this processor performs the step receiving the snapshot identification that main storage device sends, and execution sends the signaling of the valid data bitmap of inquiry snapshot to before the step of main storage device, also for performing following operation:
Send first and be indicated to main storage device, indicate according to first the mapping relations set up between snapshot and backup server to make main storage device.
According to the mapping relations between snapshot and backup server, carry snapshot.
As the optional embodiment of one, this processor is also for performing following operation:
Send second and be indicated to main storage device, to make the mapping relations between main storage device releasing backup server and snapshot.
As the optional embodiment of one, this processor is also for performing following operation:
Send the 3rd and be indicated to main storage device, with the snapshot making main storage device delete source book.
Refer to Figure 10, Figure 10 is the structural representation of a kind of memory device that the embodiment of the present application seven provides.As shown in Figure 10, the memory device that the present embodiment provides is the execution carrier performing a kind of data back up method provided based on embodiment three, is a main storage device, comprises: receiving element 101, snapshot unit 102, transmitting element 103 and processing unit 104.
Wherein, receiving element 101, for receiving backup server according to Preset Time, the backup instruction that intermittent sends, backup instruction is used to indicate memory device generating snapshot.Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
Snapshot unit 102, for indicating generating snapshot according to backup.
Transmitting element 103, for sending the snapshot identification of snapshot to backup server.
Receiving element 101, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data time also for receiving this Backup Data of inquiry that backup server sends.
Processing unit 104, the variance data bitmap between snapshot when snapshot during for inquiring about this Backup Data according to the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during this Backup Data of inquiry and a front Backup Data adjacent with this Backup Data.
Transmitting element 103, also for the variance data bitmap between snapshot during a front Backup Data that snapshot when sending this Backup Data is adjacent with this Backup Data to backup server, the variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when backing up this Backup Data to make backup server is to backup storage device.
Receiving element 101, also for receiving the signaling of variance data corresponding to inquiry variance data bitmap that backup server sends.
Processing unit 104, also for inquiring about variance data according to the signaling of inquiring about variance data corresponding to variance data bitmap.
Transmitting element 103, also for sending variance data to backup server, backs up variance data to backup storage device to make backup server.
The memory device that the present embodiment provides is a main storage device, in backup procedure, the backup server received according to receiving element 101 by snapshot unit 102 is according to Preset Time, the backup instruction intermittent generating snapshot that intermittent sends, so that transmitting element 103 sends the snapshot identification of snapshot to backup server, and the signaling of variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when receiving according to receiving element 101 this Backup Data of inquiry that backup server sends by processing unit 104, variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when inquiring about this Backup Data, after inquiring this variance data bitmap, variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when sending this Backup Data by transmitting element 103 is to backup server, variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when backing up this Backup Data to make backup server is to backup storage device.In backup procedure, what perform is incremental backup strategy, after triggering incremental backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during by obtaining this Backup Data, Backup Data can be simplified further, decrease back up memory space, be no longer confined to adopt the backup policy of full backup to carry out the backup of data.
As the optional embodiment of one, receiving element, also for receiving the first instruction that backup server sends.First instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server.
Processing unit, also for indicating according to first the mapping relations set up between snapshot and backup server, to make backup server carry snapshot.
As the optional embodiment of one, receiving element, also for receiving the second instruction that backup server sends, the second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot;
Processing unit, also for removing the mapping relations between backup server and snapshot.
As the optional embodiment of one, receiving element, also for receiving the 3rd instruction that backup server sends, the 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data;
Processing unit, also for deleting snapshot during a front Backup Data adjacent with this Backup Data.
Refer to Figure 11, Figure 11 is the structural representation of the another kind of memory device that the embodiment of the present application seven provides.As shown in figure 11, the memory device that this enforcement provides is the execution carrier performing a kind of data back up method provided based on embodiment three, it is a main storage device, comprise: input media 111, output unit 112, storer 113 and processor 114, wherein, store batch processing code in storer 113, and processor 114 is for calling the program code stored in storer, for performing following operation:
Receive backup server according to Preset Time, the backup instruction that intermittent sends, backup instruction is used to indicate main storage device generating snapshot, and Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
According to backup instruction generating snapshot;
Send the snapshot identification of snapshot to backup server;
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when receiving this Backup Data of inquiry that backup server sends;
Variance data bitmap between snapshot when snapshot when inquiring about this Backup Data according to the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during this Backup Data of inquiry and a front Backup Data adjacent with this Backup Data;
Variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when sending this Backup Data is to backup server, and the variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data of snapshot when backing up this Backup Data to make backup server is to backup storage device;
The signaling of the variance data that the inquiry variance data bitmap that reception backup server sends is corresponding;
According to the signaling inquiry variance data of inquiring about variance data corresponding to variance data bitmap;
Send variance data to backup server, back up variance data to backup storage device to make backup server.
The memory device that the present embodiment provides is a kind of main storage device, associative operation is performed mainly through processor 114, with the backup instruction intermittent generating snapshot of control store equipment according to interval acquiring, after the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when receiving this Backup Data of inquiry that backup server sends, variance data bitmap between snapshot when snapshot when inquiring about this Backup Data and a front Backup Data adjacent with this Backup Data, and send this variance data bitmap to backup server, backup server is made to back up this variance data bitmap to backup storage device.In backup procedure, what perform is incremental backup strategy, after triggering incremental backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during by obtaining this Backup Data, Backup Data can be simplified further, decrease back up memory space, be no longer confined to adopt the backup policy of full backup to carry out the backup of data.
As the optional embodiment of one, this processor perform send snapshot snapshot identification to backup server step after, and before the step of the signaling of variance data bitmap between snapshot when performing when receiving this Backup Data of inquiry that backup server sends a snapshot front Backup Data adjacent with this Backup Data, this processor is also for performing following operation:
Receive the first instruction that backup server sends, the first instruction is used to indicate main storage device and sets up mapping relations between snapshot and backup server;
The mapping relations set up between snapshot and backup server are indicated, to make backup server carry snapshot according to first.
As the optional embodiment of one, this processor is also for performing following operation:
Receive the second instruction that backup server sends, the second instruction is used to indicate the mapping relations between main storage device releasing backup server and snapshot;
Remove the mapping relations between backup server and snapshot.
As the optional embodiment of one, this processor is also for performing following operation:
Receive the 3rd instruction that backup server sends, the 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data;
Delete snapshot during a front Backup Data adjacent with this Backup Data.
Refer to Figure 12, Figure 12 is the structural representation of a kind of server that the embodiment of the present application eight provides.As shown in figure 12, the server that the present embodiment provides is the execution carrier performing a kind of data back up method provided based on embodiment four, is a kind of backup server, comprises: transmitting element 121, receiving element 122, backup units 123.
Wherein, transmitting element 121, for according to Preset Time, intermittent sends backup and is indicated to main storage device, and to make main storage device according to backup instruction generating snapshot, by main storage device generating snapshot, and the snapshot identification sending snapshot is to backup server.Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
Receiving element 122, for receiving the snapshot identification of the snapshot that main storage device sends.
Transmitting element 121, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data time also for sending this Backup Data of inquiry to main storage device, the variance data bitmap between snapshot when snapshot when inquiring about this Backup Data to make main storage device and a front Backup Data adjacent with this Backup Data.
Receiving element 122, the variance data bitmap between snapshot when snapshot time also for receiving this Backup Data and a front Backup Data adjacent with this Backup Data.
Backup units 123, the variance data bitmap between snapshot when snapshot during for backing up this Backup Data and a front Backup Data adjacent with this Backup Data is to backup storage device.
Receiving element 122, also for receiving the feedback information backing up variance data bitmap that backup storage device sends.
Transmitting element 121, also for sending the signaling of variance data corresponding to inquiry variance data bitmap to main storage device, inquires about variance data corresponding to variance data bitmap to make main storage device.
Receiving element 122, also for receiving the variance data that main storage device sends.
Backup units 123, also for backing up variance data to backup storage device.
Receiving element 122, also for receiving the feedback information backing up variance data that backup storage device sends.
Wherein, snapshot when snapshot during this Backup Data and a front Backup Data adjacent with this Backup Data is generated according to backing up to indicate by main storage device, and Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
The server that the present embodiment provides is a backup server, mainly through transmitting element 121 according to Preset Time, intermittent sends backup and is indicated to main storage device, to make main storage device according to backup instruction generating snapshot, by main storage device generating snapshot, and the snapshot identification sending snapshot is to backup server, the snapshot identification of the snapshot that main storage device sends is received by receiving element 122, so that the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when sending this Backup Data of inquiry by transmitting element 121 is to main storage device, variance data bitmap between snapshot when snapshot when inquiring about this Backup Data to make main storage device and a front Backup Data adjacent with this Backup Data, and this variance data bitmap of main storage device transmission is received by receiving element 122, to be backed up this variance data bitmap by backup units 123 to backup storage device.In backup procedure, what perform is incremental backup strategy, after triggering incremental backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during by obtaining this Backup Data, Backup Data can be simplified further, decrease back up memory space, be no longer confined to adopt the backup policy of full backup to carry out the backup of data.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending first, indicates the mapping relations set up between snapshot and backup server to make main storage device according to first.
Processing unit, for the mapping relations carry snapshot that basis gets.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending second, removes the mapping relations between backup server and snapshot to make main storage device according to the second instruction.
As the optional embodiment of one, transmitting element, is also indicated to main storage device for sending the 3rd, to make main storage device according to snapshot during the front Backup Data that the 3rd instruction deletion is adjacent with this Backup Data.
Refer to Figure 13, Figure 13 is the structural representation of the another kind of server that the embodiment of the present application eight provides.As shown in figure 13, the server that the present embodiment provides is the execution carrier performing a kind of data back up method provided based on embodiment four, for a kind of backup server, comprise: input media 131, output unit 132, storer 133 and processor 134, wherein, store batch processing code in storer 133, and processor 134 is for calling the program code stored in storer 133, for performing following operation:
According to Preset Time, intermittent sends backup and is indicated to main storage device, and to make main storage device according to backup instruction generating snapshot, by main storage device generating snapshot, and the snapshot identification sending snapshot is to backup server.Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
Receive the snapshot identification of the snapshot that main storage device sends.
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when sending this Backup Data of inquiry to main storage device, the variance data bitmap between snapshot when snapshot when inquiring about this Backup Data to make main storage device and a front Backup Data adjacent with this Backup Data.
Variance data bitmap between snapshot when snapshot when receiving this Backup Data and a front Backup Data adjacent with this Backup Data.
Variance data bitmap between snapshot when snapshot when backing up this Backup Data and a front Backup Data adjacent with this Backup Data is to backup storage device.
Receive the feedback information backing up variance data bitmap that backup storage device sends.
The signaling sending variance data corresponding to inquiry variance data bitmap, to main storage device, inquires about variance data corresponding to variance data bitmap to make main storage device.
Receive the variance data that main storage device sends.
Backup variance data is to backup storage device.
Receive the feedback information backing up variance data that backup storage device sends.
Wherein, snapshot when snapshot during this Backup Data and a front Backup Data adjacent with this Backup Data is generated according to backing up to indicate by main storage device, backup instruction is sent by backup server interval, and Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data.
The server that the present embodiment provides is a backup server, associative operation is performed mainly through processor 134, with according to Preset Time, intermittent sends backup and is indicated to main storage device, to make main storage device according to backup instruction generating snapshot, by main storage device generating snapshot, and the snapshot identification sending snapshot is to backup server, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data when then sending this Backup Data of inquiry is to main storage device, after variance data bitmap between snapshot when snapshot when inquiring about this Backup Data to make main storage device and a front Backup Data adjacent with this Backup Data, receive the variance data bitmap that main storage device sends, back up this variance data bitmap to backup storage device.In backup procedure, what perform is incremental backup strategy, after triggering incremental backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during by obtaining this Backup Data, Backup Data can be simplified further, decrease back up memory space, be no longer confined to adopt the backup policy of full backup to carry out the backup of data.
As the optional embodiment of one, after this processor performs the step of the snapshot identification receiving the snapshot that main storage device sends, and the signaling of variance data bitmap between snapshot when performing when sending this Backup Data of inquiry a snapshot front Backup Data adjacent with this Backup Data to main storage device step before, this processor is also for performing following operation:
Send first and be indicated to main storage device, indicate according to first the mapping relations set up between snapshot and backup server to make main storage device;
According to mapping relations carry snapshot.
As the optional embodiment of one, this processor is also for performing following operation:
Send second and be indicated to main storage device, remove the mapping relations between backup server and snapshot to make main storage device according to the second instruction.
As the optional embodiment of one, this processor is also for performing following operation:
Send the 3rd and be indicated to main storage device, to make main storage device according to snapshot during the front Backup Data that the 3rd instruction deletion is adjacent with this Backup Data.
Refer to Figure 14, Figure 14 is the structural representation of a kind of data backup system that the embodiment of the present application nine provides.As shown in figure 14, the data backup system that the present embodiment provides comprises a kind of main storage device that embodiment five provides and a kind of backup server that embodiment six provides, and comprises application server, also comprises:
Backup storage device 141, for the valid data bitmap of the snapshot of the source book of storage and backup service device transmission.
Backup storage device 141, also feeds back to backup server for what send the valid data bitmap of backup snapshots;
Backup storage device 141, also for the valid data corresponding with valid data bitmap of storage and backup service device transmission.
Backup storage device 141, also feeds back to backup server for what send the valid data that store snapshot.
The data backup system that the present embodiment provides, the valid data bitmap of the snapshot of the source book inquired be sent to backup server by main storage device, so that backup server sends valid data bitmap or sends valid data corresponding to valid data bitmap further to backup storage device, backup storage device is enable to back up effective data, and then without the data of backup invalidation, simplified Backup Data.Secondly, in backup procedure, what perform is full backup strategy, after triggering full backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And by obtaining valid data bitmap, Backup Data can be simplified further, decreasing back up memory space.
Refer to Figure 15, Figure 15 is the structural representation of a kind of data backup system that the embodiment of the present application ten provides.As shown in figure 15, the data backup system that the present embodiment provides comprises a kind of main storage device that embodiment seven provides and a kind of backup server that embodiment eight provides, and also comprises:
Backup storage device 151, the variance data bitmap between snapshot when snapshot during for storing this Backup Data and a front Backup Data adjacent with this Backup Data.
Backup storage device 151, also for send back up variance data bitmap feed back to backup server.
Backup storage device 151, also for storing the variance data corresponding with variance data bitmap to backup storage device.
Backup storage device 151, also feeds back to backup server for what send store discrepancy data.
The data backup system that the present embodiment provides, variance data bitmap between snapshot when snapshot when sending by main storage device this Backup Data inquired and a front Backup Data adjacent with this Backup Data is to backup server, so that the variance data bitmap of snapshot when backup server sends twice adjacent Backup Data or variance data corresponding to this variance data bitmap, to backup storage device, make backup storage device only back up the data of there are differences.In backup procedure, what perform is incremental backup strategy, after triggering incremental backup strategy, between backup server and this memory device, then set up the communication link with snapshot communication function, load without the need to application server and run the client software with backup functionality and just can complete backup.Thus can not affect the normal operation of application server, ensure the normal process business of application server, complete data backup online simultaneously.And the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data during by obtaining this Backup Data, Backup Data can be simplified further, decrease back up memory space, be no longer confined to adopt the backup policy of full backup to carry out the backup of data.
To sum up state, the data back up method that the present embodiment provides and relevant device, by arranging different backup policy in backup server, after receiving the signaling of trigger backups strategy to make backup server, and through snapping technique process between main storage device, send the data of backup to backup storage device, the participation of application server is not had in backup procedure, avoid the service feature being had influence on application server self by application server running client backup software or disk mirroring functional software Backup Data, achieve while application server normally runs, the function of high-level efficiency Backup Data, namely Backup Data function and application server operation business software does not interfere with each other.
The valid data bitmap of the snapshot of the source book inquired be sent to backup server in particular by main storage device, so that backup server sends valid data bitmap or sends valid data corresponding to valid data bitmap further to backup storage device, backup storage device is enable to back up effective data, and then without the data of backup invalidation, simplified Backup Data.
Or, variance data bitmap between snapshot when snapshot when sending by main storage device this Backup Data inquired and a front Backup Data adjacent with this Backup Data is to backup server, so that the variance data bitmap of snapshot when backup server sends twice adjacent Backup Data or variance data corresponding to this variance data bitmap are to backup storage device, backup storage device is made only to back up the data of there are differences, save the storage space of backup storage device, improve backup efficiency further.
Make the selectivity of backup scenario more by full backup or incremental backup, and the performance of application server is without any impact, and by backup server, valid data, effectively bitmap or variance data variance data bitmap are stored in file, the model being different from primary storage can be used, namely support that isomery stores, and enhances the general applicability of each equipment in standby system.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, apparatus embodiments described above is only schematic, such as, the division of module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or module can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling by some interfaces, device, module or unit or communication connection, also can be electric, machinery or other form connect.
The module illustrated as separating component or unit or can may not be and physically separate, parts as module or unit display can be or may not be physical module or unit, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media or unit.Some or all of module wherein or unit can be selected according to the actual needs to realize the object of embodiment of the present invention scheme.
In addition, each functional module in each embodiment of the present invention or unit can be integrated in a processing module or unit, also can be that the independent physics of modules or unit exists, also can be that two or more modules or unit are integrated in a module or unit.Above-mentioned integrated module or unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If integrated module or unit using the form of software function module or unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is in essence in other words to the part that prior art contributes, or all or part of of this technical scheme can the form of software product embody, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of each embodiment method of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
Above; be only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect amendment or the replacement of various equivalence easily, these amendments or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (28)

1. a data back up method, is characterized in that, comprising:
Main storage device receives the backup instruction that backup server sends, and described backup instruction is used to indicate the snapshot that described main storage device generates source book;
Described main storage device generates the snapshot of source book;
Described main storage device sends the snapshot identification of described snapshot to described backup server;
Described main storage device receives the signaling of the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described main storage device inquires about the valid data bitmap of described snapshot according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described main storage device sends the valid data bitmap of described snapshot to described backup server, backs up the valid data bitmap of described snapshot to backup storage device to make described backup server;
Described main storage device receives the signaling of valid data corresponding to the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described main storage device inquires about described valid data according to the signaling of valid data corresponding to the valid data bitmap of the described snapshot of described inquiry;
Described main storage device sends described valid data to described backup server, backs up described valid data to described backup storage device to make described backup server;
Wherein, after the snapshot identification that described main storage device sends described snapshot to described backup server, and before described main storage device receives the signaling of the valid data bitmap of the described snapshot of inquiry that described backup server sends, described method also comprises:
Described main storage device receives the first instruction that described backup server sends, and described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described main storage device indicates according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
2. data back up method as claimed in claim 1, is characterized in that, before described main storage device generates the snapshot of source book, described method also comprises:
Main storage device creates source book;
Described main storage device maps described source book to application server, to make source book described in described application server carry, to store the data of described application server to described source book.
3. data back up method as claimed in claim 1, it is characterized in that, described method also comprises:
Described main storage device receives the second instruction that described backup server sends, and described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described main storage device removes the mapping relations between described backup server and described snapshot.
4., as the data back up method as described in arbitrary in claims 1 to 3, it is characterized in that, described method also comprises:
Described main storage device receives the 3rd instruction that described backup server sends, and described 3rd instruction is used to indicate the described snapshot that described main storage device deletes described source book;
Described main storage device deletes the described snapshot of described source book.
5. a data back up method, is characterized in that, comprising:
Backup server sends backup and is indicated to main storage device, with the snapshot indicating described main storage device to generate source book, is sent the snapshot identification of described snapshot to described backup server by described main storage device;
Described backup server receives the snapshot identification that described main storage device sends;
Described backup server sends the signaling of the valid data bitmap of the described snapshot of inquiry to described main storage device, inquires about the valid data bitmap of described snapshot to make described main storage device according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described backup server receives the valid data bitmap of the described snapshot that described main storage device sends;
Described backup server backs up the valid data bitmap of described snapshot to backup storage device;
Described backup server receives the feedback information backing up the valid data bitmap of described snapshot that described backup storage device sends;
The signaling of the valid data that the described valid data bitmap that described backup server sends the described snapshot of inquiry according to the described described feedback information having backed up the valid data bitmap of described snapshot is corresponding, to described main storage device, inquires about described valid data to make described main storage device according to the described signaling of valid data corresponding to the described valid data bitmap of the described snapshot of described inquiry;
Described backup server receives the described valid data that described main storage device sends;
Described backup server backs up described valid data to described backup storage device;
Described backup server receives the feedback information backing up the described valid data of described snapshot that described backup storage device sends;
Wherein, after described backup server receives the snapshot identification of described main storage device transmission, and described backup server sends the signaling of the valid data bitmap of the described snapshot of inquiry to before described main storage device, and described method also comprises:
Described backup server sends first and is indicated to described main storage device, indicates the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described backup server according to the mapping relations between described snapshot and described backup server, snapshot described in carry.
6. data back up method as claimed in claim 5, it is characterized in that, described method also comprises:
Described backup server sends second and is indicated to described main storage device, removes mapping relations between described backup server and described snapshot to make described main storage device.
7., as the data back up method as described in arbitrary in claim 5 to 6, it is characterized in that, described method also comprises:
Described backup server sends the 3rd and is indicated to described main storage device, with the described snapshot making described main storage device delete described source book.
8. a data back up method, is characterized in that, comprising:
Main storage device receives backup server according to Preset Time, the backup instruction that intermittent sends, described backup instruction is used to indicate described main storage device generating snapshot, and described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Described main storage device is according to described backup instruction generating snapshot;
Described main storage device sends the snapshot identification of described snapshot to described backup server;
The signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data described when described main storage device receives this Backup Data described in inquiry that described backup server sends;
Described main storage device inquire about according to the signaling of the variance data bitmap between snapshot during the front Backup Data that snapshot during inquiry this Backup Data described is adjacent with this Backup Data described described in this Backup Data time snapshot and a front Backup Data adjacent with this Backup Data described time snapshot between described variance data bitmap;
Described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when described main storage device sends this Backup Data described is to described backup server, and the described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when backing up this Backup Data described to make described backup server is to backup storage device;
Described main storage device receives the signaling of variance data corresponding to inquiry described variance data bitmap that described backup server sends;
Described main storage device inquires about described variance data according to the described signaling of variance data corresponding to described inquiry described variance data bitmap;
Described main storage device sends described variance data to described backup server, backs up described variance data to described backup storage device to make described backup server;
Wherein, after the snapshot identification that described main storage device sends described snapshot to described backup server, and before the signaling of variance data bitmap between snapshot during the snapshot front Backup Data adjacent with this Backup Data described of described main storage device when receiving this Backup Data described in inquiry that described backup server sends, described method also comprises:
Described main storage device receives the first instruction that described backup server sends, and described first instruction is used to indicate described main storage device and sets up mapping relations between described snapshot and described backup server;
Described main storage device indicates according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
9. data back up method as claimed in claim 8, it is characterized in that, described method also comprises:
Described main storage device receives the second instruction that described backup server sends, and described second instruction is used to indicate described main storage device and removes mapping relations between described backup server and described snapshot;
Described main storage device removes the mapping relations between described backup server and described snapshot.
10. data back up method as claimed in claim 8 or 9, it is characterized in that, described method also comprises:
Described main storage device receives the 3rd instruction that described backup server sends, and described 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data described;
Described main storage device deletes snapshot during a front Backup Data adjacent with this Backup Data described.
11. 1 kinds of data back up method, is characterized in that, comprising:
Backup server is according to Preset Time, intermittent sends backup and is indicated to main storage device, to make described main storage device according to described backup instruction generating snapshot, by described main storage device generating snapshot, and send the snapshot identification of described snapshot to described backup server; Described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Described backup server receives the snapshot identification of the described snapshot that described main storage device sends;
The signaling of the variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of described snapshot when described backup server sends inquiry this Backup Data described to described main storage device, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described to make described main storage device and a front Backup Data adjacent with this Backup Data described;
Described variance data bitmap between snapshot when the described snapshot described in described backup server receives during this Backup Data and a front Backup Data adjacent with this Backup Data described;
Described variance data bitmap between the snapshot when snapshot described in described backup server backup during this Backup Data and a front Backup Data adjacent with this Backup Data described is to backup storage device;
Described backup server receives the feedback information backing up described variance data bitmap that described backup storage device sends;
Described backup server sends the signaling of variance data corresponding to the described variance data bitmap of inquiry to described main storage device, inquires about variance data corresponding to described variance data bitmap to make described main storage device;
Described backup server receives the described variance data that described main storage device sends;
Described backup server backs up described variance data to described backup storage device;
Described backup server receives the feedback information backing up described variance data that described backup storage device sends;
Wherein, after described backup server receives the snapshot identification of the described snapshot that described main storage device sends, and before the signaling of variance data bitmap between snapshot during described backup server described snapshot when sending inquiry this Backup Data described front Backup Data adjacent with this Backup Data described to described main storage device, described method also comprises:
Described backup server sends first and is indicated to described main storage device, indicates the mapping relations set up between described snapshot and described backup server to make described main storage device according to described first;
Described backup server is snapshot according to described mapping relations carry.
12. data back up method as claimed in claim 11, it is characterized in that, described method also comprises:
Described backup server sends second and is indicated to described main storage device, removes the mapping relations between described backup server and described snapshot to make described main storage device according to described second instruction.
13. data back up method as described in claim 11 or 12, it is characterized in that, described method also comprises:
Described backup server sends the 3rd and is indicated to described main storage device, to make described main storage device according to snapshot during the front Backup Data that described 3rd instruction deletion is adjacent with this Backup Data described.
14. 1 kinds of memory devices, is characterized in that, comprising:
Receiving element, for receiving the backup instruction that backup server sends, described backup instruction is used to indicate the snapshot that described memory device generates source book;
Snapshot unit, for generating the snapshot of source book;
Transmitting element, for sending the snapshot identification of described snapshot to described backup server;
Described receiving element, also for receiving the signaling of the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Processing unit, the signaling for the valid data bitmap according to the described snapshot of described inquiry inquires about the valid data bitmap of described snapshot;
Described transmitting element, also for sending the valid data bitmap of described snapshot to described backup server, backs up the valid data bitmap of described snapshot to backup storage device to make described backup server;
Described receiving element, also for receiving the signaling of valid data corresponding to the valid data bitmap of the described snapshot of inquiry that described backup server sends;
Described processing unit, also for inquiring about described valid data according to the signaling of valid data corresponding to the valid data bitmap of the described snapshot of described inquiry;
Described transmitting element, also for sending described valid data to described backup server, backs up described valid data to described backup storage device to make described backup server;
Wherein, described receiving element, also for receiving the first instruction that described backup server sends; Described first instruction is used to indicate described memory device and sets up mapping relations between described snapshot and described backup server;
Described processing unit, also for indicating according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
15. memory devices as claimed in claim 14, is characterized in that, also comprise:
Creating unit, for creating source book;
Map unit, for mapping described source book to application server, to make source book described in described application server carry, to store the data of described application server to described source book.
16. memory devices as claimed in claim 14, is characterized in that,
Described receiving element, also for receiving the second instruction that described backup server sends, described second instruction is used to indicate described memory device and removes mapping relations between described backup server and described snapshot;
Described processing unit, also for removing the mapping relations between described backup server and described snapshot.
17., as the memory device as described in arbitrary in claim 14 to 16, is characterized in that,
Described receiving element, also for receiving the 3rd instruction that described backup server sends, described 3rd instruction is used to indicate the described snapshot that described source book deleted by described memory device;
Described processing unit, also for deleting the described snapshot of described source book.
18. 1 kinds of servers, is characterized in that, comprising:
Transmitting element, is indicated to main storage device for sending backup, with the snapshot indicating described main storage device to generate source book, is sent the snapshot identification of described snapshot to described server by described main storage device;
Receiving element, for receiving the snapshot identification that described main storage device sends;
Described transmitting element, also for sending the signaling of the valid data bitmap inquiring about described snapshot to described main storage device, inquires about the valid data bitmap of described snapshot to make described main storage device according to the signaling of the valid data bitmap of the described snapshot of described inquiry;
Described receiving element, also for receiving the valid data bitmap of the described snapshot that described main storage device sends;
Backup units, for backing up the valid data bitmap of described snapshot to backup storage device;
Described receiving element, also for receiving the feedback information backing up the valid data bitmap of described snapshot that described backup storage device sends;
Described transmitting element, also for the signaling of valid data corresponding to the described valid data bitmap sending the described snapshot of inquiry according to the described described feedback information having backed up the valid data bitmap of described snapshot to described main storage device, inquire about described valid data to make described main storage device according to the described signaling of valid data corresponding to the described valid data bitmap of the described snapshot of described inquiry;
Described receiving element, also for receiving the described valid data that described main storage device sends;
Described backup units, also for backing up described valid data to described backup storage device;
Described receiving element, also for receiving the feedback information backing up the described valid data of described snapshot that described backup storage device sends;
Wherein, described transmitting element, being also indicated to described main storage device for sending first according to described snapshot identification, indicating the mapping relations set up between described snapshot and described server to make described main storage device according to described first;
Described server also comprises: processing unit, for snapshot according to the mapping relations carry between described snapshot and described server.
19. servers as claimed in claim 18, is characterized in that,
Described transmitting element, is also indicated to described main storage device for sending second, removes mapping relations between described server and described snapshot to make described main storage device.
20. servers as described in claim 18 or 19, is characterized in that,
Described transmitting element, is also indicated to described main storage device for sending the 3rd, with the described snapshot making described main storage device delete described source book.
21. 1 kinds of memory devices, is characterized in that, comprising:
Receiving element, for receiving backup server according to Preset Time, the backup instruction that intermittent sends, described backup instruction is used to indicate described memory device generating snapshot, and described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Snapshot unit, for indicating generating snapshot according to described backup;
Transmitting element, for sending the snapshot identification of described snapshot to described backup server;
Described receiving element, the signaling of the variance data bitmap between snapshot during a snapshot front Backup Data adjacent with this Backup Data described time also for receiving this Backup Data described in inquiry that described backup server sends;
Processing unit, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described for the signaling of the variance data bitmap between snapshot during a front Backup Data that the snapshot according to described inquiry during this Backup Data is adjacent with this Backup Data described and a front Backup Data adjacent with this Backup Data described;
Described transmitting element, also for the described variance data bitmap between snapshot during a front Backup Data that snapshot when sending this Backup Data described is adjacent with this Backup Data described to described backup server, the described variance data bitmap between snapshot during the front Backup Data adjacent with this Backup Data described of snapshot when backing up this Backup Data described to make described backup server is to backup storage device;
Described receiving element, also for receiving the signaling of variance data corresponding to inquiry described variance data bitmap that described backup server sends;
Described processing unit, also for inquiring about described variance data according to the described signaling of variance data corresponding to described inquiry described variance data bitmap;
Described transmitting element, also for sending described variance data to described backup server, backs up described variance data to described backup storage device to make described backup server;
Wherein, described receiving element, also for receiving the first instruction that described backup server sends; Described first instruction is used to indicate described memory device and sets up mapping relations between described snapshot and described backup server;
Described processing unit, also for indicating according to described first the mapping relations set up between described snapshot and described backup server, to make snapshot described in described backup server carry.
22. memory devices as claimed in claim 21, is characterized in that,
Described receiving element, also for receiving the second instruction that described backup server sends, described second instruction is used to indicate described memory device and removes mapping relations between described backup server and described snapshot;
Described processing unit, also for removing the mapping relations between described backup server and described snapshot.
23. memory devices as described in claim 21 or 22, is characterized in that,
Described receiving element, also for receiving the 3rd instruction that described backup server sends, described 3rd instruction is used to indicate snapshot when deleting a front Backup Data adjacent with this Backup Data described;
Described processing unit, also for deleting snapshot during a front Backup Data adjacent with this Backup Data described.
24. 1 kinds of servers, is characterized in that, comprising:
Transmitting element, for according to Preset Time, intermittent sends backup and is indicated to main storage device, indicates generating snapshot to make described main storage device according to described backup, by described main storage device generating snapshot, and send the snapshot identification of described snapshot to described server; Described Preset Time is the time interval of the front Backup Data that this Backup Data is adjacent with this Backup Data;
Receiving element, for receiving the snapshot identification of the described snapshot that described main storage device sends;
Described transmitting element, also for the signaling of the variance data bitmap between snapshot during a front Backup Data that described snapshot when sending inquiry this Backup Data described is adjacent with this Backup Data described to described main storage device, the described variance data bitmap between snapshot when snapshot when inquiring about this Backup Data described to make described main storage device and a front Backup Data adjacent with this Backup Data described;
Described receiving element, the described variance data bitmap between snapshot when described snapshot time also for receiving this Backup Data described and a front Backup Data adjacent with this Backup Data described;
Backup units, the described variance data bitmap between snapshot when snapshot during for backing up this Backup Data described and a front Backup Data adjacent with this Backup Data described is to backup storage device;
Described receiving element, also for receiving the feedback information backing up described variance data bitmap that described backup storage device sends;
Described transmitting element, also for sending the signaling of variance data corresponding to the described variance data bitmap of inquiry to described main storage device, inquires about variance data corresponding to described variance data bitmap to make described main storage device;
Described receiving element, also for receiving the described variance data that described main storage device sends;
Described backup units, also for backing up described variance data to described backup storage device;
Described receiving element, also for receiving the feedback information backing up described variance data that described backup storage device sends;
Wherein, described transmitting element, being also indicated to described main storage device for sending first according to the snapshot identification of described snapshot, indicating the mapping relations set up between described snapshot and described server to make described main storage device according to described first;
Described server also comprises: processing unit, for snapshot according to described mapping relations carry.
25. servers as claimed in claim 24, is characterized in that,
Described transmitting element, is also indicated to described main storage device for sending second, removes the mapping relations between described server and described snapshot to make described main storage device according to described second instruction.
26. servers as described in claim 24 or 25, is characterized in that,
Described transmitting element, is also indicated to described main storage device for sending the 3rd, to make described main storage device according to snapshot during the front Backup Data that described 3rd instruction deletion is adjacent with this Backup Data described.
27. 1 kinds of data backup systems, is characterized in that,
Comprise as the memory device as described in arbitrary in claim 14 to 17, and comprise as the server as described in arbitrary in claim 18 to 20; Described data backup system also comprises:
Backup storage device, for storing the valid data bitmap of the snapshot of the source book that described server sends;
Described backup storage device, also feeds back to described server for what send the valid data bitmap that backs up described snapshot;
Described backup storage device, also for storing the valid data corresponding with valid data bitmap that described server sends;
Described backup storage device, also feeds back to described server for what send the valid data that store described snapshot.
28. 1 kinds of data backup systems, is characterized in that, comprise arbitrary described memory device in claim 21 to 23, and arbitrary described server in claim 24 to 26; Described data backup system also comprises:
Backup storage device, the variance data bitmap between snapshot when snapshot during for storing this Backup Data and a front Backup Data adjacent with this Backup Data described;
Described backup storage device, also for send back up described variance data bitmap feed back to described server;
Described backup storage device, also for storing the described variance data corresponding with described variance data bitmap to described backup storage device;
Described backup storage device, also for send store described variance data feed back to described server.
CN201210578614.9A 2012-12-27 2012-12-27 A kind of data back up method and relevant device, system Active CN103064763B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210578614.9A CN103064763B (en) 2012-12-27 2012-12-27 A kind of data back up method and relevant device, system
PCT/CN2013/080459 WO2014101409A1 (en) 2012-12-27 2013-07-31 Data backup method and related device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210578614.9A CN103064763B (en) 2012-12-27 2012-12-27 A kind of data back up method and relevant device, system

Publications (2)

Publication Number Publication Date
CN103064763A CN103064763A (en) 2013-04-24
CN103064763B true CN103064763B (en) 2015-12-02

Family

ID=48107396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210578614.9A Active CN103064763B (en) 2012-12-27 2012-12-27 A kind of data back up method and relevant device, system

Country Status (2)

Country Link
CN (1) CN103064763B (en)
WO (1) WO2014101409A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254873A (en) * 2018-08-15 2019-01-22 华为技术有限公司 Data back up method, relevant apparatus and system

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064763B (en) * 2012-12-27 2015-12-02 华为技术有限公司 A kind of data back up method and relevant device, system
CN104281538B (en) * 2013-07-03 2019-05-31 联想(北京)有限公司 It is a kind of store equipment dilatation and Snapshot Method and storage equipment
CN106959888B (en) * 2016-01-11 2020-09-04 杭州海康威视数字技术股份有限公司 Task processing method and device in cloud storage system
CN107229523A (en) * 2016-03-25 2017-10-03 中兴通讯股份有限公司 A kind of method and electronic equipment for copying data
CN105938457B (en) * 2016-03-31 2018-10-02 华为技术有限公司 Filter method, device and the data reading system of data
CN106331152B (en) * 2016-09-20 2020-02-07 郑州云海信息技术有限公司 Method and device for realizing information synchronization between modules
CN106844597A (en) * 2017-01-14 2017-06-13 郑州云海信息技术有限公司 The method and its device of a kind of quick deletion dependent snapshot target volume
CN107197022B (en) * 2017-06-02 2020-01-10 华南理工大学 OpenStack storage optimization method and system
CN108776622A (en) * 2018-06-06 2018-11-09 北京达佳互联信息技术有限公司 Method of data synchronization, device, computer equipment and storage medium
CN109408283A (en) * 2018-09-04 2019-03-01 深圳市宝德计算机系统有限公司 A kind of method of server data protection, equipment and storage medium
CN109324870A (en) * 2018-09-20 2019-02-12 郑州云海信息技术有限公司 A kind of method and apparatus for deleting the snapshot disk of virtual machine
EP4300314A3 (en) * 2018-12-29 2024-04-10 Huawei Technologies Co., Ltd. Data backup method, apparatus and system
CN109828950A (en) * 2019-01-29 2019-05-31 深圳前海达闼云端智能科技有限公司 Data protection method, management system, server and readable storage medium
CN111309527B (en) * 2020-02-29 2022-07-15 上海爱数信息技术股份有限公司 Method for reserving and restoring user snapshot in virtual backup system
CN112286869A (en) * 2020-10-29 2021-01-29 杭州宏杉科技股份有限公司 Snapshot creating method and device
CN114546714B (en) * 2020-11-27 2023-07-21 中国移动通信集团四川有限公司 Data backup method, system, device and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331063C (en) * 2003-06-10 2007-08-08 联想(北京)有限公司 On-line data backup method based on data volume snapshot
CN100454265C (en) * 2007-06-07 2009-01-21 华为技术有限公司 Image recovery method, storage equipment and network system
CN102479118B (en) * 2010-11-30 2013-08-21 英业达集团(天津)电子技术有限公司 Incremental backup method for data blocks
US8635187B2 (en) * 2011-01-07 2014-01-21 Symantec Corporation Method and system of performing incremental SQL server database backups
CN102402471A (en) * 2011-12-23 2012-04-04 创新科软件技术(深圳)有限公司 Method and system for backing up data in real time based on snapshot function of memory array
CN102567145A (en) * 2011-12-28 2012-07-11 云海创想信息技术(无锡)有限公司 Remote copying method
CN102411524A (en) * 2011-12-30 2012-04-11 云海创想信息技术(天津)有限公司 Snapshot volume data copying method
CN103064763B (en) * 2012-12-27 2015-12-02 华为技术有限公司 A kind of data back up method and relevant device, system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254873A (en) * 2018-08-15 2019-01-22 华为技术有限公司 Data back up method, relevant apparatus and system
CN109254873B (en) * 2018-08-15 2022-04-22 华为云计算技术有限公司 Data backup method, related device and system

Also Published As

Publication number Publication date
WO2014101409A1 (en) 2014-07-03
CN103064763A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103064763B (en) A kind of data back up method and relevant device, system
CN100461121C (en) Method and system for copying storage units and related metadata to storage
CN106776130B (en) Log recovery method, storage device and storage node
CN102981931B (en) Backup method and device for virtual machine
EP2849048B1 (en) Data sending method, data receiving method and storage device
CN103049400B (en) A kind of disk reconstructing method and device thereof
CN103814360A (en) Data replication method and storage system
EP2131284A1 (en) Storage system and method of producing recovery volume
CN101094154B (en) Multi-master data backup different place protection system and method
CN104166606A (en) File backup method and main storage device
CN102521083A (en) Backup method and system of virtual machine in cloud computing system
CN103886091B (en) A kind of database synchronization method based on recording mark
CN105468475A (en) Backup method and backup device of database
CN105938457A (en) Data filtering method, and device and data reading system
CN102782639A (en) Systems and methods for enabling replication targets to reclaim unused storage space on thin-provisioned storage systems
CN105955836A (en) Cold-hot backup automatic walkthrough multifunction system
CN107133132B (en) Data sending method, data receiving method and storage device
CN106681865B (en) Service recovery method and device
CN104461773A (en) Backup deduplication method of virtual machine
CN104363977A (en) Data replication method, data replication device and storage device
CN106681862A (en) Method and apparatus for incremental recovery of data
CN105487940A (en) Disaster recovery side, production side and data recovery method between disaster recovery side and production side
CN105376329A (en) Remote online backup method for virtual machine
CN101937378B (en) Method for carrying out back-up protection on data of storage equipment and computer system
CN112631831A (en) Bare computer recovery method and system of service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191216

Address after: 314400 No.11, Weisan Road, Nongfa District, Chang'an Town, Haining City, Jiaxing City, Zhejiang Province

Patentee after: Haining hi tech Zone Science and Innovation Center Co.,Ltd.

Address before: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20191216

Address after: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.