CN104317674A - Disk data backup method and device - Google Patents
Disk data backup method and device Download PDFInfo
- Publication number
- CN104317674A CN104317674A CN201410612738.3A CN201410612738A CN104317674A CN 104317674 A CN104317674 A CN 104317674A CN 201410612738 A CN201410612738 A CN 201410612738A CN 104317674 A CN104317674 A CN 104317674A
- Authority
- CN
- China
- Prior art keywords
- computing machine
- disk
- time period
- utilization factor
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a disk data backup method and device. The disk data backup method and device is applied to disk array Raid with a redundancy function. The method comprises, when monitoring that a computer reaches an unavailable state threshold, determining the time period corresponding to the minimum utilization rate of the computer according to the prerecorded one-to-one correspondence between the utilization rate of the computer and every time period; during the determined time period corresponding the minimum utilization rate of the computer, backing up every disk datum of the computer through the offline backup technology. The disk data backup method and device saves the computer resources and reduces the maintaining cost.
Description
Technical field
The present invention relates to data security arts, espespecially a kind of method of backup disk data and device.
Background technology
Current, along with cloud computing, large market demand get more and more, the physical equipment thereupon increased, virtual unit also get more and more.Along with the increase of equipment compared with in the past, the safety of computer data was also subject to people's attention day by day, and client wishes that the data that oneself stores on computers will exist forever, can not lose.This has higher requirement to computer maintenance, based on this object, in order to ensure that user is using the data security in computer procedures, proposes stricter demand for the data backup of computing machine and recovery.
At present; each computer vendors solution roughly comprises: by the monitoring to hard disc of computer state, realizes the data security of computing machine, when the hard disk corruptions of computing machine; the hard disk more renewed in time, utilizes the Raid functional realiey of computing machine to the protection of computer data.Under this situation, the maintenance intensity of computing machine is large, and the frequency of patrolling and examining requires higher, if do not change the hard disk of alarm timely, probably causes the loss of data, brings huge loss to user.How on existing basis, maximizedly utilize existing resource, for user provides the using environment of computer of a safety, become the problem previously ought needing solution badly.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of method and device of backup disk data, the saving of computer resource can be realized, reduce maintenance cost.
In order to reach the object of the invention, the invention provides a kind of method of backup disk data, being applied in the disk array (Raid) with redundancy feature, comprising:
When monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determine the time period corresponding to minimum utilization factor of this computing machine;
In the time period corresponding to the minimum utilization factor of this computing machine determined, offline backup technology each data in magnetic disk to computing machine is adopted to back up.
Further, also comprise before the method: monitor the state of each disk in described computing machine and record the time point of each disk failures;
Wherein, Disk State comprises: normal or break down.
Further, the method also comprises: when monitoring first piece of disk failures, sends alarm and points out replacing first piece of disk.
Further, after having changed first piece of disk, the method has also comprised:
Raid function is utilized to be the recovery that the new hard disk changed realizes data.
Further, describedly determine that the time period corresponding to minimum utilization factor of this computing machine comprises: sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
Present invention also offers a kind of device of backup disk data, be applied in the disk array (Raid) with redundancy feature, comprise: determination module and software backup module; Wherein,
Determination module, for when monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determines the time period corresponding to minimum utilization factor of this computing machine;
Software backup module, for the time period corresponding to the minimum utilization factor of this computing machine determined, adopts offline backup technology each data in magnetic disk to computing machine to back up.
Further, this device also comprises state monitoring module, for monitoring the state of each disk in described computing machine and recording the time point of each disk failures; Wherein, Disk State comprises: normal or break down.
Further, this device also comprises alarm module, during for monitoring first piece of disk failures when state detection module, sends alarm and points out replacing first piece of disk.
Further, this device also comprises hardware backup module, for after having changed first piece of disk, utilizes Raid function to be the recovery that the new hard disk changed realizes data.
Further, described determination module specifically for: sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
Technical solution of the present invention comprises: when monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determines the time period corresponding to minimum utilization factor of this computing machine; In the time period corresponding to the minimum utilization factor of this computing machine determined, offline backup technology each data in magnetic disk to computing machine is adopted to back up.Technical scheme of the present invention has saved computer resource, decreases maintenance cost.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the method for backup disk data of the present invention;
Fig. 2 is the structural representation of the device of backup disk data of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 1 is the process flow diagram of the method for backup disk data of the present invention, is applied in the disk array (Raid) with redundancy feature, as shown in Figure 1, comprises:
Step 101: when monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determines the time period corresponding to minimum utilization factor of this computing machine.
Wherein, computing machine down state refers to: the disk system collapse of computing machine.
Illustrate, to have three pieces of disk configuration Raid5, first piece of disk failures, computing machine can normally use, and during second piece of disk failures, computing machine just can thoroughly be paralysed, computing machine down state now, when referring to this second piece of disk failures.It should be noted that be conventional techniques means well-known to those skilled in the art about how whether monitoring computer reaches down state threshold value, do not repeat them here, be not used for limiting the present invention.
Before step 101, the method also comprises: obtain the utilization factor of each time period of computing machine and record the utilization factor of this computing machine and the one-to-one relationship of each time period.And,
In monitoring computer each disk state and record the time point of each disk failures; Wherein Disk State comprises normal or breaks down.
It should be noted that, be conventional techniques means well-known to those skilled in the art about the utilization factor how obtaining computing machine, is not used for limiting the present invention.
Further, when monitoring first piece of disk failures, sending alarm and pointing out replacing first piece of disk.
Further, after having changed first piece of disk, the method has also comprised: utilize Raid function to be the recovery that the new hard disk changed realizes data.
Wherein, determine the time period corresponding to minimum utilization factor of this computing machine, comprising:
Sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
Step 102: in the time period corresponding to the minimum utilization factor of this computing machine determined, adopts offline backup technology each data in magnetic disk to computing machine to back up.
Wherein, according to the one-to-one relationship of the utilization factor and time that record this computing machine, the utilization factor of this each time period of computing machine is sorted, obtain the utilization factor of minimum computing machine after sequence and the time period of its correspondence, in the time period of this correspondence, offline backup is carried out to the data in magnetic disk broken down.
Illustrate, such as obtain between 1:00 AM to 5:00 AM, the utilization factor of this computing machine is minimum, restarts computing system when 1:00 AM, this server is performed to the data backup of off-line, backs up all data on this disk broken down.After completion of the back-up, restart computing machine, for user uses.
It should be noted that, in the present invention, first piece of disk and second piece of disk are not construed as limiting the present invention, why are referred to as first piece of disk, show that this disk breaks down at first
Method of the present invention, because data back up completely, even if so in second piece of disk failures or damage, when Raid function cannot be used to recover data from hardware view, also all hard disks can again changed, reform Raid when, use the data of offline backup, carry out the recovery of data from software view.
Embodiment one
Use 3 pieces of disks and Disk1, Disk2 and Disk3 for computing machine, configuration Raid5, the first preset duration of equipment manager setting is 7 days.User, in the middle of the use procedure of computing machine, supposes Disk3 disk failures, and has sent alarm notification to equipment manager, but the Disk3 be damaged never is changed, when Disk3 damages the 3rd day, Disk2 also sends warning information, but Disk2 still can use.Now, need to adopt offline backup technology to back up the data on this computing machine, find between 1:00 AM to 5:00 AM, the utilization factor of this computing machine is minimum, system is restarted when 1:00 AM, data on this computing machine are performed to the data backup of off-line, back up all data on this computing machine.After completion of the back-up, restart computing machine, for user uses.Because data back up completely, even if so damage at Disk2, Raid5 cannot be used to recover data from hardware view, also all hard disks can again changed, reform Raid5 when, use backup data, carry out date restoring from software view.
Another situation only has Disk3 to damage, and equipment use was more than 7 days, and Disk3 is never changed, and now, offline backup technology also can be adopted to back up the data on this computing machine.
Fig. 2 is the structural representation of the device of backup disk data of the present invention, is applied in the disk array (Raid) with redundancy feature, as shown in Figure 2, comprises: determination module and software backup module.Wherein,
Determination module, for when monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determines the time period corresponding to minimum utilization factor of this computing machine.
Wherein, determination module specifically for:
Sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
Software backup module, for the time period corresponding to the minimum utilization factor of this computing machine determined, adopts offline backup technology each data in magnetic disk to computing machine to back up.
Further, this device also comprises state monitoring module, for each disk in monitoring computer state and record the time point of each disk failures; Wherein Disk State comprises normal or breaks down.
Further, this device also comprises alarm module, during for monitoring first piece of disk failures when state detection module, sends alarm and points out replacing first piece of disk.
Further, this device also comprises hardware backup module, for after having changed first piece of disk, utilizes Raid function to be the recovery that the new hard disk changed realizes data.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The application is not restricted to the combination of the hardware and software of any particular form.
The above, be only preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a method for backup disk data, is applied to and has in the disk array Raid of redundancy feature, it is characterized in that, comprising:
When monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determine the time period corresponding to minimum utilization factor of this computing machine;
In the time period corresponding to the minimum utilization factor of this computing machine determined, offline backup technology each data in magnetic disk to computing machine is adopted to back up.
2. method according to claim 1, is characterized in that, also comprises before the method: monitor the state of each disk in described computing machine and record the time point of each disk failures;
Wherein, Disk State comprises: normal or break down.
3. method according to claim 1, is characterized in that, the method also comprises: when monitoring first piece of disk failures, sends alarm and points out replacing first piece of disk.
4. method according to claim 3, is characterized in that, after having changed first piece of disk, the method also comprises:
Raid function is utilized to be the recovery that the new hard disk changed realizes data.
5. method according to claim 1, is characterized in that, describedly determines that the time period corresponding to minimum utilization factor of this computing machine comprises: sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
6. a device for backup disk data, is applied to and has in the disk array Raid of redundancy feature, it is characterized in that, comprising: determination module and software backup module; Wherein,
Determination module, for when monitoring computing machine and reaching down state threshold value, according to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, determines the time period corresponding to minimum utilization factor of this computing machine;
Software backup module, for the time period corresponding to the minimum utilization factor of this computing machine determined, adopts offline backup technology each data in magnetic disk to computing machine to back up.
7. device according to claim 6, is characterized in that, this device also comprises state monitoring module, for monitoring the state of each disk in described computing machine and recording the time point of each disk failures; Wherein, Disk State comprises: normal or break down.
8. device according to claim 6, is characterized in that, this device also comprises alarm module, during for monitoring first piece of disk failures when state detection module, sends alarm and points out replacing first piece of disk.
9. device according to claim 9, is characterized in that, this device also comprises hardware backup module, for after having changed first piece of disk, utilizes Raid function to be the recovery that the new hard disk changed realizes data.
10. device according to claim 6, is characterized in that, described determination module specifically for: sort to the utilization factor of this each time period of computing machine, select progressively goes out the minimum utilization factor of this computing machine; According to the utilization factor of pre-recorded computing machine and the one-to-one relationship of each time period, obtain the time period corresponding to minimum utilization factor of this computing machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410612738.3A CN104317674A (en) | 2014-11-04 | 2014-11-04 | Disk data backup method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410612738.3A CN104317674A (en) | 2014-11-04 | 2014-11-04 | Disk data backup method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104317674A true CN104317674A (en) | 2015-01-28 |
Family
ID=52372909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410612738.3A Pending CN104317674A (en) | 2014-11-04 | 2014-11-04 | Disk data backup method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317674A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843764A (en) * | 2017-01-22 | 2017-06-13 | 联想(北京)有限公司 | Soft raid-array creation method and system |
CN107526651A (en) * | 2016-06-21 | 2017-12-29 | 深圳中电长城信息安全系统有限公司 | A kind of method and system of disk array backup |
CN107562576A (en) * | 2017-09-14 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method of data protection |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6341341B1 (en) * | 1999-12-16 | 2002-01-22 | Adaptec, Inc. | System and method for disk control with snapshot feature including read-write snapshot half |
US6567892B1 (en) * | 2001-05-23 | 2003-05-20 | 3Ware, Inc. | Use of activity bins to increase the performance of disk arrays |
CN102981930A (en) * | 2012-11-15 | 2013-03-20 | 浪潮电子信息产业股份有限公司 | Automatic restoration method for disk array multi-level data |
CN103500136A (en) * | 2013-10-18 | 2014-01-08 | 浪潮电子信息产业股份有限公司 | Method for protecting computer hardware data in cloud system |
CN103744749A (en) * | 2014-01-11 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Virtual machine intelligent backup method based on prediction algorithm |
-
2014
- 2014-11-04 CN CN201410612738.3A patent/CN104317674A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6341341B1 (en) * | 1999-12-16 | 2002-01-22 | Adaptec, Inc. | System and method for disk control with snapshot feature including read-write snapshot half |
US6567892B1 (en) * | 2001-05-23 | 2003-05-20 | 3Ware, Inc. | Use of activity bins to increase the performance of disk arrays |
CN102981930A (en) * | 2012-11-15 | 2013-03-20 | 浪潮电子信息产业股份有限公司 | Automatic restoration method for disk array multi-level data |
CN103500136A (en) * | 2013-10-18 | 2014-01-08 | 浪潮电子信息产业股份有限公司 | Method for protecting computer hardware data in cloud system |
CN103744749A (en) * | 2014-01-11 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Virtual machine intelligent backup method based on prediction algorithm |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107526651A (en) * | 2016-06-21 | 2017-12-29 | 深圳中电长城信息安全系统有限公司 | A kind of method and system of disk array backup |
CN106843764A (en) * | 2017-01-22 | 2017-06-13 | 联想(北京)有限公司 | Soft raid-array creation method and system |
CN106843764B (en) * | 2017-01-22 | 2020-02-21 | 联想(北京)有限公司 | Method and system for creating soft independent redundant disk array |
CN107562576A (en) * | 2017-09-14 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method of data protection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2868247C (en) | Data sending method, data receiving method, and storage device | |
US8938643B1 (en) | Cloning using streaming restore | |
JP5986577B2 (en) | ALUA preference and state transition detection and processing by the host | |
US9377964B2 (en) | Systems and methods for improving snapshot performance | |
US8996826B2 (en) | Techniques for system recovery using change tracking | |
US9292371B1 (en) | Systems and methods for preventing failures of nodes in clusters | |
JP2020035430A (en) | Hot backup system, hot backup method and computer equipment | |
US8732429B2 (en) | Preserving a deleted data volume | |
CN105095125A (en) | Highly available double-control storage system and operation method thereof based on quorum disc | |
EP3238063B1 (en) | Techniques for data backup and restoration | |
US8707107B1 (en) | Systems and methods for proactively facilitating restoration of potential data failures | |
US10509705B2 (en) | Application protection through a combined functionality failure manager | |
CN104317674A (en) | Disk data backup method and device | |
EP3697024B1 (en) | Data processing method, device and distributed storage system | |
EP4300314A2 (en) | Data backup method, apparatus and system | |
CN103902401A (en) | Virtual machine fault tolerance method and device based on monitoring | |
CN109358988A (en) | A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data | |
CN105159846A (en) | Method for supporting dual-control switching of virtualized disk and storage system | |
CN107908370B (en) | Data storage method and device | |
CN103838643A (en) | Novel mutual backing-up method based on system disk and RAID | |
WO2016101225A1 (en) | Data backup method, apparatus and system | |
US20220129393A1 (en) | Dynamically Managing Protection Groups | |
CN106933698B (en) | Method and device for storage system | |
US9535806B1 (en) | User-defined storage system failure detection and failover management | |
US20170103114A1 (en) | Mirroring resynchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150128 |
|
WD01 | Invention patent application deemed withdrawn after publication |