CN114924914A - Disk partition table information backup and recovery method and system - Google Patents

Disk partition table information backup and recovery method and system Download PDF

Info

Publication number
CN114924914A
CN114924914A CN202210608721.5A CN202210608721A CN114924914A CN 114924914 A CN114924914 A CN 114924914A CN 202210608721 A CN202210608721 A CN 202210608721A CN 114924914 A CN114924914 A CN 114924914A
Authority
CN
China
Prior art keywords
disk
information
partition table
table information
partition
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
CN202210608721.5A
Other languages
Chinese (zh)
Other versions
CN114924914B (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.)
Guangzhou Dingjia Computer Technology Co ltd
Original Assignee
Guangzhou Dingjia Computer Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dingjia Computer Technology Co ltd filed Critical Guangzhou Dingjia Computer Technology Co ltd
Priority to CN202210608721.5A priority Critical patent/CN114924914B/en
Publication of CN114924914A publication Critical patent/CN114924914A/en
Application granted granted Critical
Publication of CN114924914B publication Critical patent/CN114924914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

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

Abstract

The application relates to a method and a system for backing up and recovering disk partition table information. The method for backing up the information of the disk partition table comprises the following steps: reading the disk information of a target backup disk; the disk information comprises the disk type of the target backup disk; reading partition table information of a target backup disk according to the disk type; the partition table information comprises a plurality of partition information; based on the disk partition table information template, the disk information and the partition table information in the standardized format, obtaining disk partition table information text data in the standardized format and storing the disk partition table information text data in a database; the disk partition table information template in the standardized format specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information. According to the method and the device, the backup efficiency of the disk partition table information is improved, the disk partition table information text data in a standardized format is convenient for backup and restoration of partition table information between different machines in different places at the cloud end, and the management efficiency of the disk partition table information is effectively improved.

Description

Disk partition table information backup and recovery method and system
Technical Field
The present application relates to the field of disk management technologies, and in particular, to a method and a system for backing up and recovering information of a disk partition table.
Background
The Windows partition table information records the size and the starting position of each independent physical area of the hard disk, and is a set of specifications established for better managing the data of the hard disk. Currently, software products on the market usually store the backup of partition table information in a binary file form after serializing the backup according to a byte order format. Because the versions of the Windows system are numerous, the formats of the partition table information have some differences, and the partition types also have a plurality of types, and respectively managing the partition information in different formats is a complicated and tedious matter. Moreover, the partition information is stored by binary data, and more workload needs to be invested for data mutual recognition among different platforms.
However, the existing disk partition table information backup method has the problem of low efficiency.
Disclosure of Invention
Therefore, it is necessary to provide a method and a system for backing up and recovering information of a disk partition table in order to solve the above technical problems.
A disk partition table information backup method comprises the following steps:
reading the disk information of a target backup disk; the disk information comprises the disk type of the target backup disk;
reading partition table information of a target backup disk according to the disk type; the partition table information comprises a plurality of partition information;
obtaining the disk partition table information text data in the standardized format based on the disk partition table information template, the disk information and the partition table information in the standardized format, and storing the data in a database; the disk partition table information template in the standardized format specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information.
In one embodiment, the standardized format is a json format;
the method comprises the steps of obtaining disk partition table information text data in a standardized format based on a disk partition table information template, disk information and partition table information in the standardized format, and comprises the following steps:
based on the partition table information, acquiring partition information by traversing each partition node;
and filling the disk information into the json object of the disk and filling the partition information into the partition json object according to the disk partition table information template in the json format to obtain disk partition table information text data in the json format.
In one embodiment, the step of filling the disk information into the disk json object and filling the partition information into the partition json object according to the disk partition table information template in the json format to obtain the disk partition table information text data in the json format includes:
obtaining a partition format of a target backup disk based on disk information, and creating a disk json object;
obtaining the type of a partition based on the partition information, and creating a partition json object;
according to a json-format disk partition table information template, filling each sub-item data in disk information into a disk json object according to the meaning of each sub-item in the disk information, and filling each sub-item data in partition information into a partition json object according to the meaning of each sub-item in the partition information to obtain json-format disk partition table information text data.
In one embodiment, the step of reading the disk information of the target backup disk is preceded by the steps of:
and searching all local disks, and selecting the disk needing the backup partition table information as a target backup disk.
A disk partition table information recovery method comprises the following steps:
reading basic information of a target recovery disk, and reading disk partition table information text data in a standardized format from a database; the disk partition table information text data in the standardized format is obtained by backing up the partition table information of the target backup disk by adopting the disk partition table information backup method;
judging whether a target recovery disk meets disk partition table information recovery conditions or not according to the basic information and disk partition table information text data in a standardized format;
and writing the partition table information in the disk partition table information text data in the standardized format into the target recovery disk under the condition that the target recovery disk meets the disk partition table information recovery condition according to the judgment result.
In one embodiment, the step of determining whether the target recovery disk meets the disk partition table information recovery condition according to the basic information and the disk partition table information text data in the standardized format includes:
obtaining the disk information of a target backup disk based on the disk partition table information text data in the standardized format;
obtaining the disk capacity of the target recovery disk according to the basic information, and obtaining the disk capacity of the target backup disk according to the disk information;
comparing the size relationship between the disk capacity of the target recovery disk and the disk capacity of the target backup disk;
if the comparison result is that the disk capacity of the target recovery disk is larger than or equal to the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk meets the disk partition table information recovery condition;
and if the comparison result is that the disk capacity of the target recovery disk is smaller than the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition.
In one embodiment, the step of writing the partition table information in the text data of the disk partition table information in the standardized format to the target recovery disk includes:
filling the disk information into the local disk object;
obtaining each partition information of the target backup disk based on the disk partition table information text data in the standardized format;
and creating corresponding local disk partition objects according to the partition information, and filling and writing the partition information into the corresponding local disk partition objects respectively.
In one embodiment, the step of reading the basic information of the target recovery disk is preceded by the steps of:
retrieving all local disks, and selecting the disk needing to recover partition table information as a target recovery disk;
after the step of writing the partition table information in the disk partition table information text data with the standardized format into the target recovery disk, the method comprises the following steps:
updating a local disk, and reading partition table information of a target recovery disk;
checking whether each piece of partition information in the partition table information of the target recovery disk is consistent with each piece of partition information in the disk partition table information text data in a standardized format;
and determining whether the partition table information in the disk partition table information text data in the standardized format is successfully restored to the target restoration disk according to the check result.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method when the processor executes the computer program.
A disk partition table information backup and recovery system comprises: the computer equipment and the database connected with the computer equipment; the database is used for storing the disk partition table information text data in the standardized format uploaded by the computer equipment.
One of the above technical solutions at least has the following advantages and beneficial effects:
the method and the device achieve backup of the disk partition table information by reading the disk information of the target backup disk, reading the partition table information of the target backup disk according to the disk type in the disk information, and obtaining and storing the disk partition table text data in a standardized format into a database based on the disk partition table information target in the standardized format which prescribes the disk information, the partition table information and the storage position of each partition information, and the read disk information and the partition table information. According to the method, the disk information and the distributed information of the partition table information are well integrated together through the disk partition table information template in the standardized format, and the disk partition table information is stored in the public standard format, so that the backup efficiency of the disk partition table information is greatly improved, the disk partition table information text data in the standardized format is convenient for backup and restoration of the partition table information between different machines in different places at the cloud end, the whole process is automatically completed according to a planned flow, manual intervention is not needed, and the management efficiency of the disk partition table information is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the description of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the description below are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating a method for backing up disk partition table information according to an embodiment;
FIG. 2 is a flowchart illustrating steps for obtaining textual data of disk partition table information in a standardized format in one embodiment;
FIG. 3 is a flowchart illustrating steps of obtaining json-formatted disk partition table information text data in an embodiment;
FIG. 4 is a flowchart illustrating a method for backing up disk partition table information in a specific embodiment;
FIG. 5 is a flowchart illustrating a method for recovering information from a disk partition table in an embodiment;
FIG. 6 is a flowchart illustrating steps of determining whether a target recovery disk satisfies disk partition table information recovery conditions in one embodiment;
FIG. 7 is a flowchart illustrating the steps of writing partition table information in standardized format disk partition table information text data to a target recovery disk in one embodiment;
FIG. 8 is a flowchart illustrating a step after writing partition table information in standardized format disk partition table information text data to a target recovery disk in one embodiment;
FIG. 9 is a flowchart illustrating a method for recovering information from a disk partition table in a specific embodiment;
FIG. 10 is a block diagram showing the configuration of a disk partition table information backup apparatus according to an embodiment;
FIG. 11 is a block diagram showing the structure of a disk partition table information recovery apparatus according to an embodiment;
FIG. 12 is a diagram showing an internal structure of a computer device in one embodiment;
FIG. 13 is a block diagram of a disk partition table information backup-recovery system in accordance with one embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. Further, "connection" in the following embodiments is understood to mean "electrical connection", "communication connection", or the like, if there is a transfer of electrical signals or data between the connected objects.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
In an embodiment, as shown in fig. 1, a disk partition table information backup method is provided, which is described by taking the method as an example for being applied to a computer device, and may include the following steps:
step 202, reading the disk information of the target backup disk; the disk information comprises the disk type of the target backup disk;
step 204, reading partition table information of the target backup disk according to the disk type; the partition table information comprises a plurality of partition information;
step 206, obtaining the disk partition table information text data in the standardized format based on the disk partition table information template, the disk information and the partition table information in the standardized format, and storing the data in a database; the disk partition table information template in the standardized format specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information.
The target backup disk is a disk which needs to backup partition table information; the disk information may include: the device number of a disk on a local machine (a computer generally has many hard disks, each hard disk is assigned with an independent number by the computer), a descriptor of the device of the disk in the local system, disk types (IDE, SATA, SCSI, SSD), disk partition formats (MBR, GPT), a disk signature (for MBR format), a disk GUID number (for GPT format), the number of disk partitions, the maximum number of partitions supported by the disk (for GPT format), a disk serial number, the location where the first partition of the disk starts, the total capacity of the disk, and the available capacity of the disk; the database may be located in the cloud.
The partition table information records the size and the initial position of each independent physical area of the hard disk, and is a set of specifications established for better managing the data of the hard disk; the partition table information comprises partition information, the partition table can be used as a table, a plurality of pieces of data exist in the table, one piece of data is equivalent to one piece of partition information, and each piece of partition information comprises a plurality of sub items; the disk partition information in different disk partition formats is different, for example, the disk partition information in MBR format mainly includes: the partition number, the starting position of the partition, the capacity size of the partition, the type of the partition (ntfs or fat32 type), the partition activation state and the number of hidden sectors, and the disk partition information in GPT format mainly includes: the partition number, the starting location of the partition, the size of the capacity of the partition, the type of partition (reserved partition MSR, system partition ESP, base data partition, dynamic partition, etc.), the partition attributes, the name of the partition, the GUID number of the partition, and the number of hidden sectors.
The disk partition table information template in the standardized format is a concept of data structured description, and specifies disk information, partition table information and storage positions of the partition information. The standardized format is a published standardized format, such as json format, xml format, and the like.
Specifically, when data on some computer devices is very important and disaster recovery processing is required, thermal backup of data on a server is required at irregular intervals, including omnibearing backup of information such as disk information, partition table information, an operating system, business data and the like, so that data loss caused by abnormal conditions is avoided. Common abnormal conditions include data damage caused by computer viruses, aging damage of computer hardware and the like. Therefore, the backup partition table information is mainly used for ensuring that the operating system and the software operating environment of the computer can be well restored and rebuilt to the maximum extent, so that the recovery of other data is facilitated.
When the disk partition table information backup is carried out, the disk information of a target backup disk needing the partition table information backup is read, the disk information comprises the disk type of the target backup disk, and the content of the partition information is determined by the disk type, so that after the disk information is obtained, a processing process corresponding to the disk type is called according to the disk type in the disk information, and the partition table and the partition information are further obtained, wherein the information is a component element of the disk partition table information in a standardized format; and then based on the disk information, the partition table information and a disk partition table information template with a standardized format which specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information, obtaining disk partition table information text data with a standardized format and storing the disk partition table information text data into a database, thereby completing the backup process of the partition table information of the target backup disk.
According to the disk partition table information backup method, the scattered data such as the disk information and the partition table information are well integrated into the data in the standardized format for backup, so that backup and restoration of the partition table information among different computer devices in different places at the cloud end are facilitated. In the backup process, disk information, partition information corresponding to each disk and volume information in a system are read through an agent program on a target backup disk of computer equipment, the information is correlated, and then according to the disk information, the partition table information and a disk partition table information template in a standardized format, partition table information needing to be backed up is converted into disk partition table information text data in the standardized format for storage and transmission, the disk partition table information is convenient to restore.
In one embodiment, the step 202 of reading the disk information of the target backup disk may include:
and searching all local disks, and selecting the disk needing the backup partition table information as a target backup disk.
Specifically, all the disks on the local computer device can be retrieved through windows api, the windows api interface is the most basic function library provided by microsoft to developers, and although microsoft also provides some tool programs that can retrieve and acquire disk information, these tool programs are also developed using windows api interface, such as microsoft's diskpart program. Therefore, for developing the service of partition information backup and restoration, calling the Windows API is the most direct and effective way. After all local disks are retrieved, the disk needing to backup the partition table information can be selected as a target backup disk, and a subsequent partition table information backup process of the target backup disk can be carried out under the condition that the target backup disk is determined.
In one embodiment, the standardized format may be a json format;
as shown in fig. 2, the step 206 of obtaining the disk partition table information text data in the standardized format based on the disk partition table information template in the standardized format, the disk information, and the partition table information may include:
step 302, based on the partition table information, obtaining the partition information by traversing the partition nodes;
and step 304, according to a json-format disk partition table information template, filling disk information into a disk json object and filling all partition information into a partition json object to obtain json-format disk partition table information text data.
The standardized format can be a json format or an xml format, but the json format is simpler, the efficiency of the json format is higher, and the processing of the Web front end is more convenient, namely the json data format has the characteristics of high generality, strong readability, easiness in expansion and simplicity, so that the json format is preferentially adopted. The json object is an abstraction of a memory data set concept during program operation, and the json data is used for standardizing and textualizing the data in the content through a json format so as to be convenient to store and transmit.
Specifically, under the condition that the disk information and the partition table information of the target backup disk are read, the partition information can be obtained by traversing each partition boundary node based on the partition table information, the disk information is filled in the json object of the disk according to the disk partition table information template in the json format, and the partition information is filled in the json object of the partition, so that the text data of the disk partition table information in the json format can be obtained.
The Windows partition table information is stored in the json data format, and because the json format data content is text, the readability problem can be well solved; aiming at the partition information with different formats, the whole structure of the data is not influenced by adding or changing the data field, and the problem of structure unification can be solved; the json data format is a public standard, and partition table information is backed up and restored by adopting the json format, so that the problems that data cannot be mutually identified among different platforms and the conversion frequency is high can be solved. Therefore, the method and the device adopt the json data format to backup and restore the Windows partition table information, have strong readability of data, are convenient for data content expansion, and are convenient for intercommunication and mutual recognition among different platforms, thereby effectively improving the management efficiency of backup and recovery of the disk partition table information.
In one embodiment, as shown in fig. 3, the step 304 of filling the disk information into the disk json object and filling each partition information into the partition json object according to the disk partition table information template in the json format to obtain disk partition table information text data in the json format may include:
step 402, obtaining a partition format of a target backup disk based on disk information, and creating a disk json object;
step 404, obtaining the type of the partition based on the partition information, and creating a partition json object;
and step 406, according to the json-format disk partition table information template, filling each sub-item data in the disk information into a disk json object according to the meaning of each sub-item in the disk information, and filling each sub-item data in the partition information into a partition json object according to the meaning of each sub-item in the partition information to obtain json-format disk partition table information text data.
Specifically, in the process of filling the disk information into the disk json object and filling the partition information into the partition json object according to the disk partition table information template in the json format, the partition format of the target backup disk can be obtained based on the disk information, and a corresponding disk json object is created according to the partition format of the target backup disk; and obtaining the type of the partition based on the partition information, and creating a corresponding partition json object according to the type of the partition. Under the condition that corresponding disk json objects and partition json objects are created, filling all sub-item data in the disk information into the disk json objects according to the meanings of all sub-items in the disk information and a disk partition table information template in a json format, and filling all sub-item data in the partition information into the partition json objects according to the disk partition table information template in the json format and the meanings of all sub-items in the partition information, so that self-expressive structured disk partition table information text data in the json format can be obtained.
The json-format disk partition table information text data displays data in a key value pair mode, the front part is used for describing key words, and the rear part is used for describing values, so that binary data of computer data can be converted into text data which can be easily read and understood by a person even if format description does not exist by the json-format disk partition table information text data; aiming at the partition information with different formats, the whole structure of the data is not influenced by adding or changing the data field, and the problem of structure unification can be solved; the partition table information is backed up and restored by adopting the json format, so that the problems that data cannot be mutually identified among different platforms and the conversion frequency is high can be solved. The method and the device adopt the json data format to backup the disk partition table information, the readability of the data is strong, the data content is convenient to expand, and the intercommunication and mutual recognition among different platforms are realized.
Fig. 4 is a schematic flowchart illustrating a method for backing up information of a disk partition table in a specific example.
In the above way, the agent service program on the computer device which needs to backup the disk partition table information obtains the disk information and the partition table information through the Windows API, and caches the information in the local memory of the backup computer device; and the agent service program on the backup computer equipment fills the partition table template in the json format according to the structure and the content of the partition table information in the local cache, so that the text data of the disk partition table information in the json format is generated, and the text data of the disk partition table information in the json format is written into a database for storage by the agent service program on the backup computer equipment. According to the method and the device, the scattered disk information and the partitioned table information are well associated, the content is filled according to the partitioned table template in the json format, so that the partitioned table information text data in the json format is converted into the partitioned table information text data in the json format for storage and transmission, the partitioned table information backup and restoration between different machines in different places at the cloud end are facilitated, the whole process is automatically completed according to a planned task, manual intervention is not needed, and the disk management efficiency is greatly improved.
In one embodiment, as shown in fig. 5, a disk partition table information recovery method is provided, which may include:
step 502, reading basic information of a target recovery disk, and reading disk partition table information text data in a standardized format from a database; the disk partition table information text data in the standardized format is obtained by backing up the partition table information of the target backup disk by adopting the disk partition table information backup method;
step 504, judging whether the target recovery disk meets the disk partition table information recovery condition or not according to the basic information and the disk partition table information text data in the standardized format;
step 506, writing the partition table information in the disk partition table information text data in the standardized format into the target recovery disk under the condition that the judgment result is that the target recovery disk meets the disk partition table information recovery condition.
The basic information of the disk comprises a device number of the disk on the local machine, the capacity size of the disk, a device descriptor of the disk on the local system and the type of the disk.
Specifically, when the backed-up disk partition table information needs to be restored to a disk of corresponding computer equipment, basic information of a target restoration disk of which the disk partition table information needs to be restored is read through the computer equipment, and disk partition table information text data in a standardized format is read from a database, so that whether the target restoration disk meets disk partition table information restoration conditions or not is judged according to the basic information of the target restoration disk and the disk partition table information text data in the standardized format, and the partition table information in the disk partition table information text data in the standardized format can be written into the target restoration disk under the condition that the target restoration disk meets the disk partition table information restoration conditions; if the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition, the disk partition table information recovery process can be directly quitted.
The backed up disk partition table information text data stored in the cloud database is in a standardized format, when the disk partition table information is restored, only an agent program on computer equipment is needed, the disk partition table information text data in the standardized format stored in the cloud is read, and the disk is subjected to partition operation and the like.
In one embodiment, the step 502 of reading the basic information of the target recovery disk may include:
and searching all local disks, and selecting the disk needing to recover the partition table information as a target recovery disk.
Specifically, all disks on the local computer device may be retrieved through windows api, after retrieving all local disks, a disk that needs to restore partition table information may be selected as a target restoration disk, and a subsequent process of restoring backed-up disk partition table information to the target restoration disk may be performed when the target restoration disk is determined. The agent program on the computer equipment can read the disk partition table information text data in the standardized format from the database, fill the local Windows API interface content of the computer equipment according to the disk partition table information text data in the standardized format, and write the local target recovery disk, thereby realizing the reconstruction of the partition table information and achieving the purpose of recovering the disk partition table information.
In one embodiment, as shown in fig. 6, the step 504 of determining whether the target recovery disk meets the disk partition table information recovery condition according to the basic information and the disk partition table information text data in the standardized format may include:
step 602, obtaining disk information of a target backup disk based on disk partition table information text data in a standardized format;
step 604, obtaining the disk capacity of the target recovery disk according to the basic information, and obtaining the disk capacity of the target backup disk according to the disk information;
step 606, comparing the relationship between the disk capacity of the target recovery disk and the disk capacity of the target backup disk;
step 608, if the comparison result is that the disk capacity of the target recovery disk is greater than or equal to the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk meets the disk partition table information recovery condition;
and step 610, if the comparison result is that the disk capacity of the target recovery disk is smaller than the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition.
Specifically, when the disk partition table information text data in the standardized format and the disk information of the target recovery disk are obtained, the disk information of the target backup disk can be obtained according to the self-expressive disk partition table information text data in the structured standardized format; obtaining the disk capacity of a target backup disk through the disk information, obtaining the disk capacity of a target recovery disk according to basic information of the target recovery disk, comparing the disk capacity of the target recovery disk with the disk capacity of the target backup disk, and determining whether the target recovery disk meets the disk partition table information recovery condition according to a comparison result; and when the comparison result is that the disk capacity of the target recovery disk is larger than or equal to the disk capacity of the target backup disk, confirming that the target recovery disk meets the disk partition table information recovery condition, and when the comparison result is that the disk capacity of the target recovery disk is smaller than the disk capacity of the target backup disk, confirming that the target recovery disk does not meet the disk partition table information recovery condition, thereby entering the next recovery flow.
In one embodiment, as shown in fig. 7, the step 506 of writing the partition table information in the standardized format disk partition table information text data to the target recovery disk may include:
step 702, filling the disk information into the local disk object;
step 704, obtaining partition information of the target backup disk based on the disk partition table information text data in the standardized format;
step 706, creating corresponding local disk partition objects according to the partition information, and filling the partition information into the corresponding local disk partition objects respectively.
Specifically, under the condition that the target recovery disk meets the disk partition table information recovery condition, the obtained disk information of the target backup disk can be filled in a local disk object through a Windows API, each partition information of the target backup disk is obtained based on disk partition table information text data in a standardized format, a corresponding local disk partition object is created according to each partition information, and each partition information of the target backup disk is filled in the corresponding local disk partition object through the Windows API, namely, a specific sector position of the local disk is written. If the disk partition table information text data in the standardized format is the disk partition table information text data in the json format, the disk information of the target backup disk can be obtained based on the disk partition table information text data in the json format, the obtained disk information of the target backup disk is filled in a local disk object through a Windows API, each partition information of the target backup disk is obtained based on the disk partition table information text data in the json format, a corresponding local disk partition object is created according to each partition information, and each partition information of the target backup disk is filled in the corresponding local disk partition object through the Windows API. The method and the device have the advantages that the process of restoring the partition table information of the backed-up target backup disk to the target restoration disk is realized, the data format universality is high, the readability is strong, the whole process is automatically completed, the human intervention is not needed, and the data backup and restoration efficiency is very high.
In one embodiment, as shown in fig. 8, after the step 506 of writing the partition table information in the standardized format disk partition table information text data to the target recovery disk, the method may include:
step 802, updating a local disk, and reading partition table information of a target recovery disk;
step 804, checking whether each partition information in the partition table information of the target recovery disk is consistent with each partition information in the disk partition table information text data in a standardized format;
step 806, determining whether the partition table information in the text data of the disk partition table information in the standardized format has been successfully restored to the target restoration disk according to the checking result.
Specifically, after writing the partition table information in the disk partition table information text data in the standardized format into the target recovery disk, the partition table information of the target recovery disk can be read by updating the local disk, whether the partition table information in the disk partition table information text data in the standardized format acquired from the database is successfully recovered to the target recovery disk is determined by checking whether each partition information in the partition table information of the target recovery disk is consistent with each partition information in the disk partition table information text data in the standardized format, and if the check result is that each partition information in the partition table information of the target recovery disk is consistent with each partition information in the disk partition table information text data in the standardized format, it is determined that the partition table information in the disk partition table information text data in the standardized format is successfully recovered to the target recovery disk, and if the checking result is that the partition information in the partition table information of the target recovery disk is inconsistent with the partition information in the disk partition table information text data in the standardized format, confirming that the partition table information in the disk partition table information text data in the standardized format is not successfully recovered to the target recovery disk, so that fault judgment and maintenance can be carried out, and disk partition table information recovery can be carried out again.
Fig. 9 is a schematic flowchart of a method for recovering information of a disk partition table in a specific example.
In the method, based on the characteristics of high universality, strong readability, easy expansion and simplicity of a json data format, the json is used as a carrier, and the physical information, the sub-table information and the volume information of the disk are well integrated together through the disk sub-table information template of the json format, so that the storage and the data are convenient. The physical information, the partition table information and the volume information of the disk are expressed according to a json format according to a disk partition table information template, and technical personnel can read the meaning of the structure and the content description of the disk partition without the help of professional tools. According to the scheme, backup and restoration of partition table information among different cloud-side machines in different places are realized, in the processing process, disk information, partition information corresponding to each disk and volume information in a system are read through an agent program on a backup machine, then the information is correlated, contents are filled according to a disk partition table information template format, and then the information is converted into a json format for storage and transmission; during restoration, an agent program on the target machine reads json format partition information stored in the cloud and performs operations such as partitioning on a disk, and the whole process is automatically completed according to a planned task without human intervention. Therefore, the Windows partition table information is stored in a json data format, the data content is textual, and the readability problem can be well solved; aiming at the partition information with different formats, the whole structure of the data is not influenced by adding or changing the data field, and the problem of structure unification can be solved; and the json data format is a public standard, and partition table information is backed up and restored by adopting the json format, so that the problems that data cannot be identified mutually and the conversion frequency is high between different platforms can be solved, therefore, the Windows partition table information is backed up and restored by adopting the json data format, the readability of the data is strong, the data content is convenient to expand, the intercommunication between different platforms is mutually acknowledged, and the disk data management efficiency is greatly improved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a disk partition table information backup device for realizing the disk partition table information backup method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so that specific limitations in one or more embodiments of the disk partition table information backup device provided below can refer to the limitations on the disk partition table information backup method in the above, and details are not described here.
In one embodiment, as shown in fig. 10, there is provided a disk partition table information backup apparatus, which may include:
a first reading module 110, configured to read disk information of a target backup disk; the disk information comprises the disk type of the target backup disk;
a second reading module 120, configured to read partition table information of the target backup disk according to the disk type; the partition table information comprises a plurality of partition information;
the processing module 130 is configured to obtain the disk partition table information text data in the standardized format based on the disk partition table information template, the disk information, and the partition table information in the standardized format, and store the data in the database; the disk partition table information template in the standardized format specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information.
In one embodiment, the standardized format may be a json format;
the processing module 130 is further configured to obtain information of each partition by traversing each partition node based on the partition table information; and filling the disk information into the json object of the disk and filling the partition information into the partition json object according to the disk partition table information template in the json format to obtain disk partition table information text data in the json format.
In one embodiment, the processing module 130 is further configured to obtain a partition format of the target backup disk based on the disk information, and create a disk json object; obtaining the type of the partition based on the partition information, and creating a partition json object; according to a json-format disk partition table information template, filling each sub-item data in disk information into a disk json object according to the meaning of each sub-item in the disk information, and filling each sub-item data in partition information into a partition json object according to the meaning of each sub-item in the partition information to obtain json-format disk partition table information text data.
In one embodiment, the disk partition table information backup apparatus may further include:
and the first retrieval module is used for retrieving all local disks and selecting the disk needing the backup partition table information as a target backup disk.
All or part of each module in the disk partition table information backup device can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Based on the same inventive concept, the embodiment of the present application further provides a disk partition table information recovery apparatus for implementing the above mentioned disk partition table information recovery method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so that specific limitations in one or more embodiments of the disk partition table information recovery device provided below can refer to the limitations on the disk partition table information recovery method in the above description, and details are not described here.
In one embodiment, as shown in fig. 11, an apparatus for recovering information of a disk partition table is provided, which may include:
a third reading module 210, configured to read basic information of the target recovery disk, and read disk partition table information text data in a standardized format from the database; the disk partition table information text data in the standardized format is obtained by backing up the partition table information of the target backup disk by adopting the disk partition table information backup method;
the judging module 220 is configured to judge whether the target recovery disk meets the disk partition table information recovery condition according to the basic information and the disk partition table information text data in the standardized format;
and the data recovery module 230 is configured to, if the determination result is that the target recovery disk meets the disk partition table information recovery condition, write the partition table information in the disk partition table information text data in the standardized format into the target recovery disk.
In one embodiment, the determining module 220 is further configured to obtain the disk information of the target backup disk based on the disk partition table information text data in the standardized format; obtaining the disk capacity of the target recovery disk according to the basic information, and obtaining the disk capacity of the target backup disk according to the disk information; comparing the size relationship between the disk capacity of the target recovery disk and the disk capacity of the target backup disk; if the comparison result is that the disk capacity of the target recovery disk is larger than or equal to the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk meets the disk partition table information recovery condition; and if the comparison result is that the disk capacity of the target recovery disk is smaller than the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition.
In one embodiment, the data recovery module 230 is further configured to fill the disk information in the local disk object; obtaining each partition information of the target backup disk based on the disk partition table information text data in the standardized format; and creating corresponding local disk partition objects according to the partition information, and filling the partition information into the corresponding local disk partition objects respectively.
In one embodiment, the disk partition table information recovery apparatus may further include:
the second retrieval module is used for retrieving all local disks and selecting the disk needing to recover the partition table information as a target recovery disk;
the disk partition table information recovery apparatus may further include:
the data confirmation module is used for updating the local disk and reading the partition table information of the target recovery disk; checking whether each partition information in the partition table information of the target recovery disk is consistent with each partition information in the disk partition table information text data in a standardized format; and determining whether the partition table information in the disk partition table information text data in the standardized format is successfully restored to the target restoration disk according to the check result.
All or part of each module in the disk partition table information recovery device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to realize a disk partition table information backup method and/or a disk partition table information recovery method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 12 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In one embodiment, as shown in fig. 13, a disk partition table information backup and recovery system is provided, which may include: the computer equipment and the database connected with the computer equipment; the database is used for storing the disk partition table information text data in the standardized format uploaded by the computer equipment.
The number of the computer devices can be a plurality, and the computer devices can execute a disk partition table information backup method and/or a disk partition table information recovery method; the database may be located in the cloud.
The disk partition table information backup and recovery system realizes backup and recovery of partition table information among different computer devices in different places at the cloud, and the data content is textual, so that the readability problem can be well solved; aiming at the partition information with different formats, the whole structure of the data is not influenced by adding or changing the data field, and the problem of structure unification can be solved; the partition table information is backed up and restored by adopting the open standardized format, the problems that data cannot be identified mutually and the conversion frequency is high between different platforms can be solved, the readability of the data is high, the data content is convenient to expand, the different platforms are communicated and mutually acknowledged, and the management efficiency of the partition table information of the disk is effectively improved.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that the data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A disk partition table information backup method is characterized by comprising the following steps:
reading the disk information of a target backup disk; the disk information comprises the disk type of the target backup disk;
reading the partition table information of the target backup disk according to the disk type; the partition table information comprises a plurality of partition information;
obtaining the disk partition table information text data in the standardized format based on the disk partition table information template in the standardized format, the disk information and the partition table information, and storing the data in a database; the disk partition table information template with the standardized format specifies the storage position of the disk information, the storage position of the partition table information and the storage position of each partition information.
2. The disk partition table information backup method according to claim 1, wherein the standardized format is json format;
the step of obtaining the disk partition table information text data in the standardized format based on the disk partition table information template in the standardized format, the disk information and the partition table information comprises the following steps:
based on the partition table information, acquiring the partition information by traversing the partition nodes;
and filling the disk information into a disk json object and filling each partition information into a partition json object according to a disk partition table information template in a json format to obtain disk partition table information text data in the json format.
3. The disk partition table information backup method according to claim 2, wherein the step of filling the disk information in a disk json object and filling each partition information in a partition json object according to a json-format disk partition table information template to obtain json-format disk partition table information text data comprises:
obtaining a partition format of the target backup disk based on the disk information, and creating a json object of the disk;
obtaining the type of the partition based on the partition information, and creating the partition json object;
according to the json-format disk partition table information template, filling each sub-item data in the disk information into the disk json object according to the meaning of each sub-item in the disk information, and filling each sub-item data in the partition information into the partition json object according to the meaning of each sub-item in the partition information to obtain the json-format disk partition table information text data.
4. The disk partition table information backup method according to claim 1, wherein the step of reading the disk information of the target backup disk is preceded by:
and searching all local disks, and selecting the disk needing the backup partition table information as the target backup disk.
5. A method for recovering disk partition table information is characterized by comprising the following steps:
reading basic information of a target recovery disk, and reading disk partition table information text data in a standardized format from a database; the disk partition table information text data in the standardized format is obtained by backing up partition table information of a target backup disk by using the disk partition table information backup method in any one of claims 1 to 4;
judging whether the target recovery disk meets the disk partition table information recovery condition or not according to the basic information and the disk partition table information text data in the standardized format;
and writing the partition table information in the disk partition table information text data in the standardized format into the target recovery disk under the condition that the target recovery disk meets the disk partition table information recovery condition as a judgment result.
6. The method for recovering the information of the disk partition table according to claim 5, wherein the step of determining whether the target recovery disk meets the disk partition table information recovery condition according to the basic information and the text data of the disk partition table information in the standardized format includes:
obtaining the disk information of the target backup disk based on the disk partition table information text data in the standardized format;
obtaining the disk capacity of the target recovery disk according to the basic information, and obtaining the disk capacity of the target backup disk according to the disk information;
comparing the size relationship between the disk capacity of the target recovery disk and the disk capacity of the target backup disk;
if the comparison result is that the disk capacity of the target recovery disk is larger than or equal to the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk meets the disk partition table information recovery condition;
and if the comparison result is that the disk capacity of the target recovery disk is smaller than the disk capacity of the target backup disk, determining that the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition.
7. The method for recovering the disk partition table information according to claim 6, wherein the step of writing the partition table information in the disk partition table information text data in the standardized format into the target recovery disk includes:
filling the disk information into a local disk object;
obtaining the partition information of the target backup disk based on the disk partition table information text data in the standardized format;
and creating a corresponding local disk partition object according to the partition information, and filling and writing the partition information into the corresponding local disk partition object respectively.
8. The method for recovering information of a disk partition table according to claim 7, wherein the step of reading the basic information of the target recovery disk is preceded by:
retrieving all local disks, and selecting the disk needing to recover the partition table information as the target recovery disk;
after the step of writing the partition table information in the standardized format disk partition table information text data into the target recovery disk, the method includes:
updating a local disk, and reading partition table information of the target recovery disk;
checking whether each partition information in the partition table information of the target recovery disk is consistent with each partition information in the disk partition table information text data in the standardized format;
and determining whether the partition table information in the disk partition table information text data in the standardized format is successfully restored to the target restoration disk according to the checking result.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
10. A disk partition table information backup and recovery system is characterized by comprising: the computer device of claim 9 and a database connected to the computer device; the database is used for storing the disk partition table information text data in the standardized format uploaded by the computer equipment.
CN202210608721.5A 2022-05-31 2022-05-31 Disk partition table information backup and recovery method and system Active CN114924914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210608721.5A CN114924914B (en) 2022-05-31 2022-05-31 Disk partition table information backup and recovery method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210608721.5A CN114924914B (en) 2022-05-31 2022-05-31 Disk partition table information backup and recovery method and system

Publications (2)

Publication Number Publication Date
CN114924914A true CN114924914A (en) 2022-08-19
CN114924914B CN114924914B (en) 2023-04-25

Family

ID=82812696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210608721.5A Active CN114924914B (en) 2022-05-31 2022-05-31 Disk partition table information backup and recovery method and system

Country Status (1)

Country Link
CN (1) CN114924914B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117539690A (en) * 2023-12-06 2024-02-09 广州鼎甲计算机科技有限公司 Method, device, equipment, medium and product for merging and recovering multi-disk data

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
US7024581B1 (en) * 2002-10-09 2006-04-04 Xpoint Technologies, Inc. Data processing recovery system and method spanning multiple operating system
US20080126837A1 (en) * 2006-09-15 2008-05-29 Inventec Corporation Method of recovering damage of hard disk having different types of partitions
US20130326189A1 (en) * 2012-05-29 2013-12-05 Fujitsu Limited Extensible method and system for storage metadata
WO2015176433A1 (en) * 2014-05-23 2015-11-26 中兴通讯股份有限公司 Hard disk repairing method and device based on partition table
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
US9946559B1 (en) * 2012-02-13 2018-04-17 Veritas Technologies Llc Techniques for managing virtual machine backups
CN108062262A (en) * 2017-12-25 2018-05-22 厦门市美亚柏科信息股份有限公司 Operating system backup-and-restore method and its system based on storage sector data
CN108829351A (en) * 2018-06-04 2018-11-16 成都傲梅科技有限公司 A kind of MBR disk turns the method and its system of GPT disk
CN109359087A (en) * 2018-06-15 2019-02-19 深圳市木浪云数据有限公司 Instant file index and searching method, apparatus and system
CN110688250A (en) * 2018-07-05 2020-01-14 Emc Ip控股有限公司 Method, apparatus and data processing system for partition level recovery
CN110941515A (en) * 2019-12-04 2020-03-31 深圳市科力锐科技有限公司 Host backup reconstruction method, device, server and storage medium
CN111158957A (en) * 2019-12-31 2020-05-15 广州鼎甲计算机科技有限公司 Virtual machine file recovery method, system, device and storage medium
CN113419680A (en) * 2021-06-28 2021-09-21 南京新联电能云服务有限公司 Storage method and system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
US7024581B1 (en) * 2002-10-09 2006-04-04 Xpoint Technologies, Inc. Data processing recovery system and method spanning multiple operating system
US20080126837A1 (en) * 2006-09-15 2008-05-29 Inventec Corporation Method of recovering damage of hard disk having different types of partitions
US9946559B1 (en) * 2012-02-13 2018-04-17 Veritas Technologies Llc Techniques for managing virtual machine backups
US20130326189A1 (en) * 2012-05-29 2013-12-05 Fujitsu Limited Extensible method and system for storage metadata
WO2015176433A1 (en) * 2014-05-23 2015-11-26 中兴通讯股份有限公司 Hard disk repairing method and device based on partition table
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
CN108062262A (en) * 2017-12-25 2018-05-22 厦门市美亚柏科信息股份有限公司 Operating system backup-and-restore method and its system based on storage sector data
CN108829351A (en) * 2018-06-04 2018-11-16 成都傲梅科技有限公司 A kind of MBR disk turns the method and its system of GPT disk
CN109359087A (en) * 2018-06-15 2019-02-19 深圳市木浪云数据有限公司 Instant file index and searching method, apparatus and system
CN110688250A (en) * 2018-07-05 2020-01-14 Emc Ip控股有限公司 Method, apparatus and data processing system for partition level recovery
CN110941515A (en) * 2019-12-04 2020-03-31 深圳市科力锐科技有限公司 Host backup reconstruction method, device, server and storage medium
CN111158957A (en) * 2019-12-31 2020-05-15 广州鼎甲计算机科技有限公司 Virtual machine file recovery method, system, device and storage medium
CN113419680A (en) * 2021-06-28 2021-09-21 南京新联电能云服务有限公司 Storage method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
戴俊梅;陈龙;: "分区表丢失后文件系统恢复方法的研究" *
权建军: "GPT分区数据恢复" *
程畅等: "RAID-5磁盘阵列分区信息恢复", 《现代电视技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117539690A (en) * 2023-12-06 2024-02-09 广州鼎甲计算机科技有限公司 Method, device, equipment, medium and product for merging and recovering multi-disk data
CN117539690B (en) * 2023-12-06 2024-04-05 广州鼎甲计算机科技有限公司 Method, device, equipment, medium and product for merging and recovering multi-disk data

Also Published As

Publication number Publication date
CN114924914B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN110531940B (en) Video file processing method and device
US9703640B2 (en) Method and system of performing incremental SQL server database backups
US9372762B2 (en) Systems and methods for restoring application data
CN109086388B (en) Block chain data storage method, device, equipment and medium
US9442805B2 (en) Recovering a volume table and data sets
CN100452052C (en) Method and apparatus to capture and transmit dense diagnostic data of a file system
US11093387B1 (en) Garbage collection based on transmission object models
KR20110050452A (en) Recovery of a computer that includes virtual disks
CN105573859A (en) Data recovery method and device of database
US9201739B1 (en) Method and system for a database management system add-in for third party backup and restore applications
CN111177143B (en) Key value data storage method and device, storage medium and electronic equipment
US11836067B2 (en) Hyper-converged infrastructure (HCI) log system
US8843450B1 (en) Write capable exchange granular level recoveries
CN113568582A (en) Data management method and device and storage equipment
WO2019084917A1 (en) Method and apparatus for calculating available capacity of storage system
CN114924914B (en) Disk partition table information backup and recovery method and system
US8595271B1 (en) Systems and methods for performing file system checks
CN114924911B (en) Method, device, equipment and storage medium for backing up effective data of Windows operating system
CN114816470A (en) Metadata database management method and device, electronic equipment and medium
CN114328007B (en) Container backup and restoration method, device and medium thereof
US9053100B1 (en) Systems and methods for compressing database objects
CN113467997B (en) Data recovery method and device, mobile equipment and storage medium
CN109766313A (en) Geological project data processing method, device and computer equipment
CN114328373A (en) Method, electronic device and computer program product for managing a file system
US20240103973A1 (en) Leveraging file-system metadata for direct to cloud object storage optimization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant