CN114924914B - 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
CN114924914B
CN114924914B CN202210608721.5A CN202210608721A CN114924914B CN 114924914 B CN114924914 B CN 114924914B CN 202210608721 A CN202210608721 A CN 202210608721A CN 114924914 B CN114924914 B CN 114924914B
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.)
Active
Application number
CN202210608721.5A
Other languages
Chinese (zh)
Other versions
CN114924914A (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 disk partition table information backup and recovery method and a disk partition table information backup and recovery system. The disk partition table information backup method comprises the following steps: reading 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 text data in a database; the disk partition table information template in standardized format defines the storage location of disk information, the storage location of partition table information, and the storage location of each partition information. The method and the device improve the backup efficiency of the disk partition table information, and the text data of the disk partition table information in the standardized format are also convenient for the subsequent backup and restoration of the partition table information among different machines in different places of the cloud, so that 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 invention 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 formulated for better management of hard disk data. Currently, software products on the market typically store partition table information in binary files after serialization in a byte order format. Because of the numerous versions of Windows systems, there are some differences in the format of partition table information, and there are also various partition types, and it is a complex and cumbersome matter to manage partition information in these different formats separately. In addition, the partition information is stored in binary data, and more workload is required for data interoperability among different platforms.
However, the current disk partition table information backup method has the problem of low efficiency.
Disclosure of Invention
Accordingly, 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-mentioned technical problems.
A disk partition table information backup method comprises the following steps:
reading 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 text data in a database; the disk partition table information template in standardized format defines the storage location of disk information, the storage location of partition table information, and the storage location of each partition information.
In one embodiment, the standardized format is json format;
based on the disk partition table information template, the disk information and the partition table information in the standardized format, obtaining the text data of the disk partition table information in the standardized format comprises the following steps:
based on the partition table information, acquiring partition information by traversing partition nodes;
according to a disk partition table information template in a json format, filling the disk information into a disk json object and filling the partition information into the partition json object to obtain disk partition table information text data in the json format.
In one embodiment, according to a json format disk partition table information template, filling disk information into a disk json object and filling partition information into the partition json object to obtain json format disk partition table information text data, which includes the steps of:
Obtaining a partition format of a target backup disk based on disk information, and creating a disk json object;
obtaining the type of the partition based on the partition information, and creating a partition json object;
according to a disc partition table information template in a json format, filling each item of data in the disc information into a disc json object according to the meaning of each item in the disc information, and filling each item of data in the partition information into the partition json object according to the meaning of each item in the partition information to obtain disc partition table information text data in the json format.
In one embodiment, before the step of reading the disk information of the target backup disk, the method includes:
and searching all local disks, and selecting the disk needing to backup partition table information as a target backup disk.
A method for recovering information of a disk partition table 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 text data of the disk partition table information 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 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 writing partition table information in the text data of the partition table information of the disk in the standardized format into the target recovery disk under the condition that the judgment result shows that the target recovery disk meets the recovery condition of the partition table information of the disk.
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 text data of the disk partition table information in the standardized format includes:
obtaining 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 relation 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, confirming that the judgment result is that the target recovery disk meets the disk partition table information recovery condition;
and if the comparison result shows that the disk capacity of the target recovery disk is smaller than that of the target backup disk, confirming that the judgment result shows that the target recovery disk does not meet the disk partition table information recovery condition.
In one embodiment, the step of writing partition table information in the standardized-format disk partition table information text data to the target recovery disk includes:
filling the disk information into a 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 respectively filling the partition information into the corresponding local disk partition objects.
In one embodiment, before the step of reading the base information of the target recovery disk, the method includes:
retrieving all local disks, and selecting the disk needing to restore partition table information as a target restoring disk;
after the step of writing partition table information in the partition table information text data of the disk in 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 partition information in the partition table information of the target recovery disk is consistent with each partition information in the text data of the partition table information of the disk in the standardized format;
and determining whether partition table information in the text data of the disk partition table information in the standardized format is successfully restored to the target restoration disk according to the checking result.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A disk partition table information backup and recovery system, comprising: the computer equipment and a 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 has at least the following advantages and beneficial effects:
according to the method and the device, the disk information of the target backup disk is read, the partition table information of the target backup disk is read according to the disk type in the disk information, and the disk partition table information target of the standardized format which prescribes the storage positions of the disk information, the partition table information and each partition information and the read disk information and partition table information are based on, so that the text data of the disk partition table of the standardized format are obtained and stored in the database, and the backup of the disk partition table information is realized. According to the method and the device, the disk partition table information template with the standardized format well integrates the scattered information of the disk information and the partition table information, the disk partition table information is stored in the disclosed standard format, the backup efficiency of the disk partition table information is greatly improved, the text data of the disk partition table information with the standardized format are also convenient for backup and restoration of the partition table information among different machines in different places of a subsequent cloud, the whole process is automatically completed according to the 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 of embodiments or conventional techniques of the present application, the drawings required for the descriptions of the embodiments or conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flowchart of a method for backing up disk partition table information in one embodiment;
FIG. 2 is a flowchart illustrating steps for obtaining disk partition table information text data in a standardized format in one embodiment;
FIG. 3 is a flowchart illustrating steps for obtaining disk partition table information text data in json format in one embodiment;
FIG. 4 is a flowchart of a method for backing up disk partition table information in one embodiment;
FIG. 5 is a flowchart of a method for recovering information from a partition table of a disk in one embodiment;
FIG. 6 is a flowchart illustrating steps for determining whether a target recovery disk satisfies a disk partition table information recovery condition in one embodiment;
FIG. 7 is a flowchart illustrating a step of writing partition table information in the standardized format of disk partition table information text data to a target recovery disk in one embodiment;
FIG. 8 is a flowchart illustrating a process after writing partition table information in the standardized format of the disk partition table information text data to the target recovery disk, in one embodiment;
FIG. 9 is a flowchart of a method for recovering information from a partition table of a disk in one embodiment;
FIG. 10 is a block diagram illustrating an exemplary embodiment of a disk partition table information backup apparatus;
FIG. 11 is a block diagram illustrating an exemplary architecture of a disk partition table information retrieval device;
FIG. 12 is an internal block diagram of a computer device in one embodiment;
FIG. 13 is a block diagram of a disk partition table information backup and restore system in one embodiment.
Detailed Description
In order to facilitate an understanding of the present application, a more complete description of the present application will now be provided with reference to the relevant figures. Examples of the present application are given in the accompanying drawings. This application may, however, be embodied in many different forms and is not limited to the embodiments described 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 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 the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element.
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 should be understood as "electrical connection", "communication connection", and the like if there is transmission of electrical signals or data between objects to be connected.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
In one embodiment, as shown in fig. 1, a disk partition table information backup method is provided, and the method is applied to a computer device for illustration, and may include the following steps:
step 202, reading disk information of a 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 text data of the disk partition table information in the standardized format and storing the text data in the database based on the disk partition table information template, the disk information and the partition table information in the standardized format; the disk partition table information template in standardized format defines the storage location of disk information, the storage location of partition table information, and the storage location of each partition information.
The target backup disk is a disk needing to backup partition table information; the disk information may include: the device number of the disk on the local machine (a computer generally has a plurality of hard disks, each hard disk is assigned an independent number by the computer), the descriptor of the device of the disk in the local system, the type of the disk (IDE, SATA, SCSI, SSD), the disk partition format (MBR, GPT), the disk signature (for MBR format), the disk GUID number (for GPT format), the number of disk partitions, the maximum number of partitions supported by the disk (for GPT format), the disk serial number, the position of the first partition of the disk, the total capacity of the disk and the available capacity of the disk; the database may be located at the cloud.
The 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 formulated for better management of hard disk data; the partition table information comprises partition information, the partition table can be regarded as a table, a plurality of pieces of data exist in the table, one piece of data corresponds to one piece of partition information, and each piece of partition information comprises a plurality of sub-items; the disk partition information of different disk partition formats is different, for example, the disk partition information of the MBR format mainly includes: partition number, start position of partition, capacity size of partition, partition type (ntfs or fat32 type), partition activation state and number of hidden sectors, disk partition information in GPT format mainly includes: partition number, start position of partition, capacity size of partition, type of partition (reserved partition MSR, system partition ESP, base data partition, dynamic partition, etc.), partition attribute, name of partition, GUID number of partition, and number of hidden sectors.
The disk partition table information template in a standardized format is a concept of data structure description, which prescribes disk information, partition table information and storage positions of partition information. The standardized format is a publicly 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 needed, irregular hot backup is needed to be performed on the data on the server, and the data is prevented from being lost due to abnormal conditions, wherein the hot backup is performed on information such as disk information, partition table information, an operating system, service data and the like. Common abnormal conditions are damage to data by computer viruses, aging damage to computer hardware and the like. Therefore, the backup partition table information is mainly used for ensuring that the computer operating system and the software running environment can be restored and rebuilt well to the greatest extent, so that the recovery of other data is facilitated.
When the disk partition table information is backed up, the disk information of a target backup disk which needs to be backed up 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 acquired, a processing process corresponding to the disk type is called according to the disk type in the disk information, and the partition table and each partition information which are the constituent elements of the disk partition table information forming a standardized format are further acquired; and obtaining the text data of the disk partition table information in the standardized format based on the disk information, the partition table information and the disk partition table information templates in the standardized format, which prescribe the storage positions of the disk information, the partition table information and the storage positions of the partition information, and storing the text data in the standardized format into a database, thereby completing the backup process of the partition table information of the target backup disk.
The disk partition table information backup method well integrates the scattered disk information, partition table information and other data into standardized format data for backup, thereby being convenient for realizing backup and restoration of partition table information among different computer devices in different places of the cloud. In the backup process, the agent program on the target backup disk of the computer equipment is used for reading the disk information, partition information corresponding to each disk and volume information in the system, then the disk information, the partition table information and the disk partition table information template in a standardized format are related, and the partition table information to be backed up is converted into the disk partition table information text data in the standardized format for storage and transmission according to the disk information, so that the disk partition table information is conveniently restored, the whole process is automatically completed according to a planned task without human intervention, and the management efficiency of disk partition table information backup and restoration is effectively improved.
In one embodiment, before the step 202 of reading the disk information of the target backup disk, the method may include:
and searching all local disks, and selecting the disk needing to backup partition table information as a target backup disk.
Specifically, all of the disks on the local computer device may first be retrieved through the windows sapi, which is the most basic library of functions that microsoft provides to developers, and although microsoft also provides some tools that can retrieve and acquire disk information, these tools are also developed using the windows sapi interface, such as microsoft's diskpart program. Therefore, invoking WindowsAPI is the most direct and efficient way to develop a business for partition information backup and restore. After all local disks are searched, the disk needing to backup partition table information can be selected as a target backup disk, and the subsequent process of backing up the partition table information of the target backup disk can be performed under the condition that the target backup disk is determined.
In one embodiment, the standardized format may be json format;
as shown in fig. 2, the step 206 of obtaining the text data of the disk partition table information in the standardized format based on the disk partition table information template, the disk information and the partition table information in the standardized format may include:
step 302, based on partition table information, obtaining partition information by traversing partition nodes;
And 304, filling the disk information into a disk json object and filling the partition information into the partition json object according to a disk partition table information template in the json format to obtain disk partition table information text data in the json format.
The standardized format can be json format or xml format, but the json format is simpler, the json format has higher efficiency, and the processing of the Web front end is more convenient, namely, the json data format has the characteristics of high universality, strong readability, easy expansion and simplicity, so that the json format is preferentially adopted. The json object is an abstraction of the concept of the memory data set when the program runs, and the json data is formed by texting the data in the content through the format specification of json, so that the memory data is 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, based on the partition table information, each partition information can be obtained by traversing each partition boundary node, the disk information is filled into a disk json object according to a disk partition table information template in json format, and each partition information is filled into the partition json object, so that disk partition table information text data in json format can be obtained.
The Windows partition table information is stored in the json data format, and the problem of readability can be well solved because the json format data content is text; aiming at partition information with different formats, the addition or change of data fields does not affect the overall structure of the data, and the problem of unified structure can be solved; the json data format book is a published standard, and the problems that data among different platforms cannot be mutually identified and the conversion frequency is high can be solved by adopting json format backup and restoration of partition table information. Therefore, the json data format is adopted to backup and restore the Windows partition table information, the readability of the data is strong, the expansion of the data content is convenient, the intercommunication and mutual recognition between different platforms are convenient, and the management efficiency of disk partition table information backup and restoration is further effectively improved.
In one embodiment, as shown in fig. 3, according to the disk partition table information template in json format, the step 304 of filling the disk information into the disk json object and filling each partition information into the partition json object to obtain the text data of the disk partition table information in 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;
step 406, 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 the partition json object according to the meaning of each sub item in the partition information according to the rule of each sub item in the disk information, so as to obtain the text data of the disk partition table information in the json format.
Specifically, in the process 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 of 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, according to the meaning of each sub-item in disk information, filling each sub-item data in the disk information into the disk json objects according to a disk partition table information template in json format, and according to the meaning of each sub-item in partition information, filling each sub-item data in the partition information into the partition json objects according to the disk partition table information template in json format, so that structured json-format disk partition table information text data capable of being expressed by oneself can be obtained.
The data is displayed in a key value pair mode, the description key words are arranged in the front, and the values are arranged in the rear, so that binary data of computer data can be converted into text data which can be easily read by a person even if the format description is not available, a person skilled in the art can open a json data file through a notepad, the meaning of the structure and the content description of a disk partition can be read by the person skilled in the art without the help of a professional tool, and the problem of readability is well solved; aiming at partition information with different formats, the addition or change of data fields does not affect the overall structure of the data, and the problem of unified structure can be solved; the json format is adopted to backup and restore partition table information, so that the problem that data among different platforms cannot be mutually identified and the conversion frequency is high can be solved. The method and the device have the advantages that json data format is adopted to backup the disk partition table information, the data readability is high, the data content expansion is convenient, and the intercommunication and mutual recognition between different platforms are realized.
FIG. 4 is a flow chart illustrating a method for backing up disk partition table information in a specific example.
Above, the proxy service program on the computer device needing to backup the disk partition table information acquires the disk information and the partition table information through windowsAPI, and caches the information in the local memory of the backup computer device; and filling the partition table template of the json format by the agent service program on the backup computer equipment according to the structure and the content of the partition table information in the local cache, thereby generating the disk partition table information text data of the json format, and writing the disk partition table information text data of the json format into a database for storage by the agent service program on the backup computer equipment. The method well associates the scattered disk information with the partition table information, fills the content according to the partition table template in the json format, stores and transmits the text data of the partition table information converted into the json format, is also convenient for backup and restoration of the partition table information among different machines in different places of the subsequent cloud, automatically completes the whole process according to the planned task, does not need human intervention, and greatly improves the disk management efficiency.
In one embodiment, as shown in fig. 5, a method for recovering information of a disk partition table 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 text data of the disk partition table information 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 according to the basic information and the disk partition table information text data in the standardized format;
and step 506, writing partition table information in the text data of the partition table information of the disk in the standardized format into the target recovery disk under the condition that the target recovery disk meets the recovery condition of the partition table information of the disk.
The basic information of the disk comprises the device number of the disk on the local machine, the capacity of the disk, the 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 the disk of the corresponding computer device, the basic information of the target restoration disk of which the disk partition table information needs to be restored can be read through the computer device, and the disk partition table information text data in the standardized format is read from the database, so that whether the target restoration disk meets the disk partition table information restoration condition 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 condition; 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 exited.
The backed-up disk partition table information text data stored in the cloud database is in the standardized format, when the disk partition table information is restored, only an agent program on the computer equipment is needed, the disk partition table information text data in the standardized format stored in the cloud is read, the disk is partitioned and other operations are performed, the backup data in the standardized format are convenient to restore, the problems that the data between different platforms cannot be mutually identified and the conversion frequency is high can be solved, the whole process is automatically completed according to a planned task, human intervention is not needed, the data restoration efficiency is effectively improved, and the disk management efficiency is high.
In one embodiment, before the step 502 of reading the basic information of the target recovery disk, the method may include:
and searching all local disks, and selecting the disk needing to restore partition table information as a target restoring disk.
Specifically, firstly, all disks on the local computer equipment can be searched through the windowsAPI, after all the local disks are searched, the disk needing to restore partition table information can be selected as a target restoring disk, and under the condition that the target restoring disk is determined, the process of restoring the backed-up partition table information of the disk to the target restoring disk can be performed. The agent program on the computer equipment can read the text data of the disk partition table information in the standardized format from the database, fill the local WindowsAPI interface content of the computer equipment according to the text data of the disk partition table information in the standardized format, and write the text data into 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 text data of the disk partition table information 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 size 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, confirming that the judgment result is that the target recovery disk meets the disk partition table information recovery condition;
in 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, it is determined that the target recovery disk does not satisfy the disk partition table information recovery condition.
Specifically, when obtaining the text data of the disk partition table information in the standardized format and the disk information of the target recovery disk, obtaining the disk information of the target backup disk according to the text data of the disk partition table information in the standardized format which can be expressed by the user; obtaining the disk capacity of the target backup disk through the disk information, obtaining the disk capacity of the target recovery disk according to the 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 the comparison result; 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, so that the next recovery flow is entered.
In one embodiment, as shown in fig. 7, the step 506 of writing partition table information in the partition table information text data of the disk in the standardized format to the target recovery disk may include:
step 702, writing the disk information into a local disk object;
step 704, obtaining each partition information of the target backup disk based on the disk partition table information text data in the standardized format;
step 706, creating a corresponding local disk partition object according to each partition information, and respectively filling each partition information into the corresponding local disk partition object.
Specifically, under the condition that the target recovery disk meets the disk partition table information recovery condition, the acquired disk information of the target backup disk can be filled into the local disk object through the Window sAPI, each partition information of the target backup disk is obtained based on the text data of the disk partition table information in the 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 into the corresponding local disk partition object through the window sAPI, namely, the specific sector position of the local disk is written. If the disc partition table information text data in the standardized format is the disc partition table information text data in the json format, the disc partition table information text data in the json format can be based on to obtain the disc information of the target backup disc, the obtained disc information of the target backup disc is filled into the local disc object through the Window sAPI, all partition information of the target backup disc is obtained based on the disc partition table information text data in the json format, corresponding local disc partition objects are created according to all the partition information, and all the partition information of the target backup disc is filled into the corresponding local disc partition objects through the window sAPI. Therefore, the process of recovering the partition table information of the backed-up target backup disk to the target recovery disk is realized, the universality of the data format is high, the readability is strong, the whole process is automatically completed, no human intervention is needed, and the efficiency of data backup and recovery is very high.
In one embodiment, as shown in fig. 8, after the step 506 of writing partition table information in the partition table information text data of the disk in the standardized format 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 text data of the disk partition table information in the standardized format;
step 806, determining whether the partition table information in the text data of the partition table information of the disk in the standardized format has been successfully restored to the target restoring disk according to the checking result.
Specifically, after the partition table information in the text data of the disk partition table information in the standardized format is written into the target recovery disk, the local disk may be updated, the partition table information of the target recovery disk may be read, whether the partition table information in the partition table information of the target recovery disk is successfully recovered to the target recovery disk may be determined by checking whether the partition information in the partition table information of the target recovery disk is inconsistent with the partition information in the text data of the disk partition table information in the standardized format, if the checking result is that the partition information in the partition table information of the target recovery disk is consistent with the partition information in the text data of the disk partition table information in the standardized format, it may be confirmed that the partition table information in the partition table information text data in the standardized format has been 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 text data of the disk partition table information in the standardized format, it may be confirmed that the partition table information in the standardized format has not been successfully recovered to the target recovery disk, so that the fault and the maintenance of the partition table information may be carried out again.
FIG. 9 is a flow chart illustrating a method of recovering disk partition table information according to one specific example.
Above, the method and the device have the characteristics of high universality, strong readability, easiness in expansion and simplicity based on the json data format, and the json is used as a carrier, so that the scattered information such as physical information, partition table information and volume information of the disk is well integrated together through the disk partition table information template in the json format, and the storage and the data are convenient. The physical information, partition table information and volume information of the disk are expressed according to a disk partition table information template through json format, and a technician can read the meaning of the structure and the content description of the disk partition without using a professional tool. According to the scheme, the partition table information backup and restoration among different machines in different places of the cloud are realized, in the processing process, the disk information, partition information corresponding to each disk and volume information in a system are read through an agent program on the backup machine, then the information is associated, the content is filled according to a disk partition table information template format, and then the content is converted into json format for storage and transmission; when the agent program on the target machine is restored, the json format partition information stored in the cloud is read, the operations such as partitioning are performed on the disk, and the whole process is automatically completed according to the planned task without human intervention. Therefore, the json data format is adopted to store Windows partition table information, and the data content is textual, so that the problem of readability can be well solved; aiming at partition information with different formats, the addition or change of data fields does not affect the overall structure of the data, and the problem of unified structure can be solved; the json data format is a public standard, and the problems that data among different platforms cannot be mutually identified and the conversion frequency is high can be solved by adopting the json format to backup and restore partition table information, so that the json data format is adopted to backup and restore Windows partition table information, the readability of the data is strong, the expansion of the data content is convenient, the intercommunication and mutual identification among different platforms are convenient, and the disk data management efficiency is greatly improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a disk partition table information backup device for realizing the above related disk partition table information backup method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device for backing up disk partition table information provided in the following may be referred to the limitation of the method for backing up disk partition table information hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 10, a disk partition table information backup apparatus is provided, 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;
the second reading module 120 is 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, based on the disk partition table information template, the disk information and the partition table information in the standardized format, text data of the disk partition table information in the standardized format and store the text data in the database; the disk partition table information template in standardized format defines the storage location of disk information, the storage location of partition table information, and the storage location of each partition information.
In one embodiment, the standardized format may be json format;
the processing module 130 is further configured to obtain each partition information by traversing each partition node based on the partition table information; according to a disk partition table information template in a json format, filling the disk information into a disk json object and filling the partition information into the partition json object 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 disc partition table information template in a json format, filling each item of data in the disc information into a disc json object according to the meaning of each item in the disc information, and filling each item of data in the partition information into the partition json object according to the meaning of each item in the partition information to obtain disc partition table information text data in the json format.
In one embodiment, the disk partition table information backup apparatus may further include:
the first retrieval module is used for retrieving all local disks and selecting the disk needing to be backed up with partition table information as a target backup disk.
The modules in the disk partition table information backup device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Based on the same inventive concept, the embodiment of the application also provides a disk partition table information recovery device for realizing the above-mentioned disk partition table information recovery method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in the embodiments of the apparatus for recovering disk partition table information provided below may be referred to the limitation of the method for recovering disk partition table information hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 11, a disk partition table information recovering apparatus is provided, which may include:
a third reading module 210, configured to read basic information of the target recovery disk, and read text data of disk partition table information in a standardized format from the database; the text data of the disk partition table information 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;
The data recovery module 230 is configured to write partition table information in the text data of the partition table information in the standardized format into the target recovery disk if the target recovery disk meets the recovery condition of the partition table information.
In one embodiment, the judging module 220 is further configured to obtain disk information of the target backup disk based on the text data of the disk partition table information 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 relation 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, confirming that the judgment result is that the target recovery disk meets the disk partition table information recovery condition; and if the comparison result shows that the disk capacity of the target recovery disk is smaller than that of the target backup disk, confirming that the judgment result shows 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 write the disc information into the local disc 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 respectively filling the partition information into the corresponding local disk partition objects.
In one embodiment, the disk partition table information recovering apparatus may further include:
the second retrieval module is used for retrieving all local disks and selecting the disk needing to recover 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 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 text data of the partition table information of the disk in the standardized format; and determining whether partition table information in the text data of the disk partition table information in the standardized format is successfully restored to the target restoration disk according to the checking result.
The above-mentioned modules in the disk partition table information recovering apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof 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 includes a non-volatile 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 operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by the processor, implements 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, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
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 a 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 of, 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 at the cloud.
The disk partition table information backup and recovery system realizes the backup and recovery of partition table information among different computer devices in different cloud places, and the data content of the system is text, so that the problem of readability can be well solved; aiming at partition information with different formats, the addition or change of data fields does not affect the overall structure of the data, and the problem of unified structure can be solved; the disclosed standardized format is adopted for backing up and restoring partition table information, so that the problems that data between different platforms cannot be mutually identified and the conversion frequency is high can be solved, the readability of the data is strong, the expansion of the data content is convenient, and the mutual identification between different platforms is realized, and the management efficiency of the partition table information of a disk is effectively improved.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
The data (including, but not limited to, data for analysis, data stored, data displayed, etc.) referred to in this application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various 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 (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-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 units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (8)

1. A method for backing up disk partition table information, the method comprising:
reading disk information of a target backup disk; the disk information comprises the disk type of the target backup disk;
reading partition table information of the target backup disk according to the disk type; the partition table information comprises a plurality of partition information;
based on the partition table information, acquiring each partition information by traversing each partition node;
Obtaining a partition format of the target backup disk based on the disk information, and creating a disk json object;
obtaining the type of the partition based on the partition information, and creating a partition json object;
according to a disc partition table information template in a json standardized format, filling all sub-item data in the disc information into the disc json object according to the meaning of all sub-items in the disc information, and filling all sub-item data in the partition information into the partition json object according to the meaning of all sub-items in the partition information, so as to obtain disc partition table information text data in the json format and store the disc partition table information text data in a database; the disc partition table information template in the standardized format prescribes a storage position of the disc information, a storage position of the partition table information and a storage position of each partition information.
2. The method for backing up disk partition table information according to claim 1, wherein before the step of reading disk information of the target backup disk, comprising:
and searching all local disks, and selecting the disk needing to backup partition table information as the target backup disk.
3. A method for recovering information of a disk partition table, comprising:
Reading basic information of a target recovery disk and reading disk partition table information text data in a standardized format from a database; the text data of the disk partition table information 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 according to any one of claims 1 to 2;
judging 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 writing partition table information in the text data of the partition table information of the disk in the standardized format into the target recovery disk under the condition that the judgment result shows that the target recovery disk meets the recovery condition of the partition table information of the disk.
4. The method for recovering information from a disk partition table according to claim 3, wherein said step of determining whether said target recovery disk satisfies a disk partition table information recovery condition based on said basic information and said standardized format of the disk partition table information text data comprises:
obtaining 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 recovery disk according to the disk information;
comparing the size relation between the disk capacity of the target recovery disk and the disk capacity of the target backup disk;
if the comparison result shows 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 judgment result shows 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, confirming that the judgment result is that the target recovery disk does not meet the disk partition table information recovery condition.
5. The method of claim 4, wherein the step of writing partition table information in the text data of the partition table information in the standardized format to the target recovery disk comprises:
filling the disk information into a 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 respectively filling the partition information into the corresponding local disk partition objects.
6. The method for recovering information from a partition table of a magnetic disk according to claim 5, wherein said step of reading basic information of a target recovery magnetic disk is preceded by:
retrieving all local disks, and selecting the disk needing to restore partition table information as the target restoring disk;
after the step of writing the partition table information in the partition table information text data of the disk in the standardized format into the target recovery disk, the method comprises the following steps:
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 partition table information in the text data of the disk partition table information in the standardized format is successfully restored to the target restoration disk according to the checking result.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
8. A disk partition table information backup and recovery system, comprising: the computer device of claim 7 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 CN114924914A (en) 2022-08-19
CN114924914B true 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)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688250A (en) * 2018-07-05 2020-01-14 Emc Ip控股有限公司 Method, apparatus and data processing system for partition level recovery

Family Cites Families (13)

* 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
US9870232B2 (en) * 2012-05-29 2018-01-16 Fujitsu Limited Extensible method and system for storage metadata
CN105095017A (en) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 Partition table based hard disk repair method and apparatus
CN106557384B (en) * 2015-09-25 2020-10-02 南京中兴软件有限责任公司 Data processing method, device and system 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
CN108829351B (en) * 2018-06-04 2021-10-12 成都傲梅科技有限公司 Method for converting MBR disk into GPT disk
CN109359087B (en) * 2018-06-15 2020-11-17 深圳市木浪云数据有限公司 Instant file indexing and searching method, device and system
CN110941515B (en) * 2019-12-04 2022-05-24 深圳市科力锐科技有限公司 Host backup reconstruction method, device, server and storage medium
CN111158957B (en) * 2019-12-31 2021-02-09 广州鼎甲计算机科技有限公司 Virtual machine file recovery method, system, device and storage medium
CN113419680A (en) * 2021-06-28 2021-09-21 南京新联电能云服务有限公司 Storage method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688250A (en) * 2018-07-05 2020-01-14 Emc Ip控股有限公司 Method, apparatus and data processing system for partition level recovery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴俊梅 ; 陈龙 ; .分区表丢失后文件系统恢复方法的研究.数字技术与应用.(第04期), *

Also Published As

Publication number Publication date
CN114924914A (en) 2022-08-19

Similar Documents

Publication Publication Date Title
US9703640B2 (en) Method and system of performing incremental SQL server database backups
US10705919B2 (en) Data backup using metadata mapping
US9372762B2 (en) Systems and methods for restoring application data
JP5731000B2 (en) Method and system for performing individual restore of a database from a differential backup
EP2494456B1 (en) Backup using metadata virtual hard drive and differential virtual hard drive
US11093387B1 (en) Garbage collection based on transmission object models
US8825653B1 (en) Characterizing and modeling virtual synthetic backup workloads
US11397749B2 (en) Asynchronous replication of in-scope table data
US9201739B1 (en) Method and system for a database management system add-in for third party backup and restore applications
CN107451138A (en) A kind of distributed file system storage method and system
US8843450B1 (en) Write capable exchange granular level recoveries
CN113568582A (en) Data management method and device and storage equipment
CN114924914B (en) Disk partition table information backup and recovery method and system
US10877854B2 (en) Partial restore from tape backup
CN114924911B (en) Method, device, equipment and storage medium for backing up effective data of Windows operating system
CN113467997B (en) Data recovery method and device, mobile equipment and storage medium
CN114816470A (en) Metadata database management method and device, electronic equipment and medium
CN107545022A (en) Disk management method and device
CN108614838B (en) User group index processing method, device and system
Kuts et al. Deleted Data Recovery on Solid-State Drives by Software Based Methods
US20240103973A1 (en) Leveraging file-system metadata for direct to cloud object storage optimization
CN109284270A (en) A kind of disposition optimization method and device of distributed file system memory module
US20230393948A1 (en) Storage system and method of restoring storage system
CN118170589A (en) Data processing method, computer program product, equipment and computer medium
CN115373903A (en) Logic backup method and device, computer equipment and storage medium

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