CN102455949A - Backup method - Google Patents

Backup method Download PDF

Info

Publication number
CN102455949A
CN102455949A CN2010105229288A CN201010522928A CN102455949A CN 102455949 A CN102455949 A CN 102455949A CN 2010105229288 A CN2010105229288 A CN 2010105229288A CN 201010522928 A CN201010522928 A CN 201010522928A CN 102455949 A CN102455949 A CN 102455949A
Authority
CN
China
Prior art keywords
backup data
backup
source
desire
data
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.)
Granted
Application number
CN2010105229288A
Other languages
Chinese (zh)
Other versions
CN102455949B (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.)
IValley Holding Co., Ltd.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 201010522928 priority Critical patent/CN102455949B/en
Publication of CN102455949A publication Critical patent/CN102455949A/en
Application granted granted Critical
Publication of CN102455949B publication Critical patent/CN102455949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a backup method, comprising the following steps of: firstly, acquiring source information from a source disk, and establishing mirror image information, wherein the mirror image information comprises a buffer value; then acquiring multiple data to be backed up from the source disk sequentially according to the magnitude of the buffer value, and establishing multiple continuous backup data blocks sequentially, wherein each backup data block comprises a backup data; and after all data in the source disk is read and established into backup data blocks, combining the data blocks, the source information and the mirror image information into a mirror image file. Therefore, the backup method capable of reducing the size of the mirror image file and improving the backup and restore time is provided by means of the steps.

Description

Backup method
Technical field
The present invention is meant a kind of backup method that is used to roll up backup especially about a kind of backup method.
Background technology
Independent disk redundancy array (RAID; Redundant Array of Independent Disks); Be referred to as the disk array again, be a kind of polylith independently hard disk (physical hard disk) be combined into a single logic hard disk by different modes, and then provide than the higher memory property of single hard disk with the data backup technology is provided; Wherein, the hard disk array can have multiple volume rank according to the array array mode again.Each rolls up rank is writing down volume on hard disk Organization And Management's information.
In general; To involving in the method for row backup, all need be divided into two steps and back up, a step is that the data on the volume are backed up; Another step then will back up the organization and management information of volume; Therefore, when rolling up backup, not only consuming time but also will understand the definition of different operating system to volume level.
Therefore, how can see through a kind of method or means, when rolling up backup, not need the organizational information and the management information of extra duplicate volume, be the target that relevant at present manufacturer makes great efforts exploitation.
Summary of the invention
For simplify current volume back up in when backup complex steps complicated and reach above-mentioned target, the present invention provides a kind of backup method can the direct back-up of total data of the volume of desire backup be saved an operating system and other judgement of volume level.
Backup method of the present invention earlier comes source disk to obtain a source-information from one, and sets up a Mirror Info; Wherein, this Mirror Info comprises a buffer value, then; Come source disk to obtain many from this in regular turn according to the size of this buffer value and desire Backup Data; And set up many continuous Backup Data pieces in regular turn, wherein, respectively this Backup Data piece comprises a Backup Data.All data are all passed through to read and are created as after the Backup Data piece in coming source disk, and those data blocks, this source-information and this Mirror Info are combined into an image file.
Therefore; By above-mentioned method, the present invention can not be directed against the operating system of source disk or volume level to do processing when the volume backup; Just the direct source disk reading of data file that establishes mirror image always; So backup speed can be higher than the backup method of general existing volume, in addition, each Backup Data piece of the present invention is stored in the image file continuously; Therefore difference was rolled up the backup image file in the past and need be had the discrete data header file (header) of sensing, and this measure can reduce the size of image file and the time of improving backup-and-restore.
About characteristic of the present invention, the real work and effect, conjunction with figs. is made most preferred embodiment and is specified as follows.
Description of drawings
Fig. 1 is a backup method process flow diagram of the present invention;
Fig. 2 is an image file form synoptic diagram of the present invention;
Fig. 3 is the thin portion process flow diagram of step S12 among Fig. 1.
Wherein, Reference numeral:
20 source-informations
201 system types
202 source total amount of data
21 Mirror Infos
211 buffer values
212 mirror image data amounts
213 first off-set values
22 Backup Data pieces
221 Cyclical Redundancy Check sign indicating numbers
222 compression flag sign indicating numbers
223 second off-set values
224 Backup Data districts
Embodiment
Please refer to Fig. 1 and shown in Figure 2, Fig. 1 is a backup method process flow diagram of the present invention, and Fig. 2 is an image file form synoptic diagram of the present invention.Backup method comprises:
Step S10: come source disk to obtain a source-information from one;
Step S11: set up a Mirror Info;
Step S12: come source disk to obtain many from this in regular turn according to the size of a buffer value and desire Backup Data, and set up many continuous Backup Data pieces in regular turn, wherein, respectively this Backup Data piece comprises a Backup Data; And
Step S13: set up an image file, wherein, this image file comprises this source-information, this Mirror Info and those many Backup Data pieces.
Wherein, like the described source-information 20 of step S10, comprise a system type 201 and a source total amount of data 202; System type 201 is meant when rolling up back-up; Come the type of the operating system of source disk, 202 of the total amount of data in source are come in the source disk, need the size of the volume of backup.
Wherein, like the described Mirror Info 21 of step S11, comprise this buffer value 211, a mirror image data amount 212 and one first off-set value 213; Buffer value 211 is a preset numerical value, and visual user's demand is adjusted, and buffer value 211 defaults in 4 megabyte (Mega-Byte according to present embodiment; MB); Yet this is the usefulness of illustration, is not to be used to limit any technical characterictic of the present invention.212 of mirror image data amounts are the size of data that is used to represent image file, and first off-set value is then represented the side-play amount (offset) of the Backup Data piece that the first stroke is established.
Wherein, like the described Backup Data piece 22 of step S11, comprise a Cyclical Redundancy Check (CyclicRedundancy Check; CRC) sign indicating number 221, one compression flag sign indicating number 222 and one second off-set value 223 and a Backup Data district 224; This Backup Data district 224 stores Backup Data, and this compression flag sign indicating number 222 is preset as " 0 " and represents Backup Data without overcompression Chu Li, otherwise; When Backup Data is that this compression flag sign indicating number 222 just can be updated to " 1 " after the data that overcompression is handled.
Please refer to Fig. 1 to shown in Figure 3, Fig. 1 is a backup method process flow diagram of the present invention, and Fig. 2 is an image file form synoptic diagram of the present invention, and Fig. 3 is the thin portion process flow diagram of step S12 among Fig. 1.Comprise following substep among the step S12:
Step S30: respectively this desire Backup Data that will obtain, carry out a discrete test procedure in regular turn;
Step S31: judge the dispersion degree height that respectively should desire Backup Data;
Step S32: when dispersion degree is high; Should desire Backup Data and save as this Backup Data piece, wherein, respectively this Backup Data piece comprises a Cyclical Redundancy Check (Cyclic Redundancy Check in addition; CRC) sign indicating number and a compression flag sign indicating number, this compression flag sign indicating number is preset as 0;
Step S33: when dispersion degree is low, should desires Backup Data and compress; And
Step S34: the desire Backup Data that will be somebody's turn to do through compression saves as this Backup Data piece, and to upgrade this compression flag sign indicating number be 1.
Wherein, The described judgement of step S31 respectively should be desired the dispersion degree height of Backup Data; The method that its dispersion degree is judged can see through the discrete Fourier transfer algorithm; Yet the those skilled in the art that is judged as that the discrete Fourier transfer algorithm carries out the data discrete degree knows, does not state so do not tire out.
In sum; The present invention is when the volume backup; Can not be directed against the operating system or the volume level of source disk to do processing; Only can write down the size of rolling up in the source disk and the OS Type of volume, the just direct source disk reading of data file that establishes mirror image always afterwards is so backup speed can be higher than the backup method of general existing volume.
In addition; Each Backup Data piece of the present invention is stored in the image file continuously; Difference was rolled up the backup image file in the past need have the discrete data header file (header) of sensing, and this measure can reduce the size of image file and the time of improving backup-and-restore, moreover; The compression of Backup Data is carried out in the calculating that sees through dispersion degree, has also dwindled the size of image file.
Though embodiments of the invention openly as stated; But be not in order to limit the present invention; Any those skilled in the art; Do not breaking away from the spirit and scope of the present invention, such as according to the described shape of application protection domain of the present invention, structure, characteristic and spirit when doing a little change, therefore scope of patent protection of the present invention must be looked the scope that this instructions appending claims defined and is as the criterion.

Claims (5)

1. a backup method is characterized in that, comprises step:
Come source disk to obtain a source-information from one;
Set up a Mirror Info, this Mirror Info comprises a buffer value;
Come source disk to obtain many from this in regular turn according to the size of this buffer value and desire Backup Data, and set up many continuous Backup Data pieces in regular turn, wherein, respectively this Backup Data piece comprises a Backup Data; And
Set up an image file, wherein, this image file comprises this source-information, this Mirror Info and those many Backup Data pieces.
2. backup method as claimed in claim 1 is characterized in that, this size according to this buffer value comes source disk to obtain many desire Backup Datas from this in regular turn, and sets up the step of many continuous Backup Data pieces in regular turn, further comprises step:
With respectively this desire Backup Data of obtaining, carry out a discrete test procedure in regular turn;
Judge the dispersion degree height that respectively should desire Backup Data;
When dispersion degree is high, should desire Backup Data and save as this Backup Data piece, wherein, respectively this Backup Data piece comprises a Cyclical Redundancy Check sign indicating number and a compression flag sign indicating number in addition, this compression flag sign indicating number is preset as 0;
When dispersion degree is low, should desires Backup Data and compress; And
This desire Backup Data through compression is saved as this Backup Data piece, and to upgrade this compression flag sign indicating number be 1.
3. backup method as claimed in claim 2 is characterized in that, this discrete test procedure uses a discrete Fourier transfer algorithm.
4. backup method as claimed in claim 1 is characterized in that, this source-information comprises a system type and the source total amount of data that this comes source disk.
5. backup method as claimed in claim 1; It is characterized in that; This Mirror Info comprises one first off-set value; Respectively this Backup Data piece also comprises one second off-set value, and this first off-set value is the side-play amount of this Backup Data piece of being established of this first stroke, and this second off-set value is the side-play amount of last pen to this Backup Data piece of next record.
CN 201010522928 2010-10-20 2010-10-20 Backup method Active CN102455949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010522928 CN102455949B (en) 2010-10-20 2010-10-20 Backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010522928 CN102455949B (en) 2010-10-20 2010-10-20 Backup method

Publications (2)

Publication Number Publication Date
CN102455949A true CN102455949A (en) 2012-05-16
CN102455949B CN102455949B (en) 2013-10-02

Family

ID=46039159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010522928 Active CN102455949B (en) 2010-10-20 2010-10-20 Backup method

Country Status (1)

Country Link
CN (1) CN102455949B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995863A (en) * 2014-05-19 2014-08-20 华为技术有限公司 Method and device for deleting repeating data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596708A (en) * 1994-04-04 1997-01-21 At&T Global Information Solutions Company Method and apparatus for the protection of write data in a disk array
CN101118506A (en) * 2006-07-31 2008-02-06 英业达股份有限公司 Backup and recovery method of file system
CN101408855A (en) * 2008-11-07 2009-04-15 北京威视数据系统有限公司 Method for protecting remote backup equipment of temporary abnormal by continuous data protective system
CN101441638A (en) * 2007-11-21 2009-05-27 英业达股份有限公司 Data structure of mapping file
JP2010028451A (en) * 2008-07-18 2010-02-04 Nikon Corp Digital camera and program for controlling the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596708A (en) * 1994-04-04 1997-01-21 At&T Global Information Solutions Company Method and apparatus for the protection of write data in a disk array
CN101118506A (en) * 2006-07-31 2008-02-06 英业达股份有限公司 Backup and recovery method of file system
CN101441638A (en) * 2007-11-21 2009-05-27 英业达股份有限公司 Data structure of mapping file
JP2010028451A (en) * 2008-07-18 2010-02-04 Nikon Corp Digital camera and program for controlling the same
CN101408855A (en) * 2008-11-07 2009-04-15 北京威视数据系统有限公司 Method for protecting remote backup equipment of temporary abnormal by continuous data protective system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995863A (en) * 2014-05-19 2014-08-20 华为技术有限公司 Method and device for deleting repeating data
CN103995863B (en) * 2014-05-19 2018-06-19 华为技术有限公司 A kind of method and device of data de-duplication

Also Published As

Publication number Publication date
CN102455949B (en) 2013-10-02

Similar Documents

Publication Publication Date Title
US10031675B1 (en) Method and system for tiering data
CN102609360B (en) Data processing method, data processing device and data processing system
CN102779180B (en) The operation processing method of data-storage system, data-storage system
US9880762B1 (en) Compressing metadata blocks prior to writing the metadata blocks out to secondary storage
CN101661414B (en) Computer system and backup method therefor
CN104077380B (en) A kind of data de-duplication method, apparatus and system
CN106547641B (en) CDP backup method based on volume
CN107644071A (en) Buffering updating method, device and data-storage system
CN101777017B (en) Rapid recovery method of continuous data protection system
US10489289B1 (en) Physical media aware spacially coupled journaling and trim
EP2573689A1 (en) Method and device for implementing redundant array of independent disk protection in file system
CN102929748A (en) Method and device for data backup
CN110413454B (en) Data reconstruction method and device based on storage array and storage medium
CN104731896A (en) Data processing method and system
CN104281717A (en) Method for establishing massive ID mapping relation
CN105095027A (en) Data backup method and apparatus
CN103473258A (en) Cloud storage file system
CN109196458B (en) Storage system available capacity calculation method and device
CN114442937B (en) File caching method and device, computer equipment and storage medium
CN103176867A (en) Fast file differential backup method
CN102455949B (en) Backup method
CN105528344B (en) Determine the method and device that the affiliated media information of data is read in storage equipment
CN110032474A (en) A kind of snapshot, which occupies, holds method for determination of amount, system and associated component
CN103049391A (en) Data processing method, data format and equipment
CN110515562A (en) A kind of disk access method and device

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
ASS Succession or assignment of patent right

Owner name: I VALLEY HOLDINGS CO., LTD.

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20150721

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150721

Address after: Cayman Islands, George Town

Patentee after: IValley Holding Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation