Efficient data backup and recovery method and device and readable-writable medium
By evaluating data and optimizing the backup process, identifying key data and optimizing the backup plan, the problems of resource waste and low recovery efficiency in the existing technology are solved, and efficient and safe data backup and recovery are achieved.
Patent Information
- Application Number
- CN202410794915.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-01
AI Technical Summary
Existing data backup and recovery methods have problems such as resource waste, low recovery efficiency, and increased risks, and cannot effectively distinguish and protect critical data.
Through a thorough assessment of the data in the system, we determine key data and its backup priority, select appropriate backup methods and solutions based on needs, use compression and encryption modules to optimize storage and security, and provide efficient backup and recovery processes.
It saves resources and time, significantly shortens business recovery time, improves the efficiency and quality of data recovery, and ensures data security and business continuity.
Smart Images

Figure CN118733340A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an efficient data backup and recovery method, device and readable and writable medium. Background Art
[0002] With the rapid development of information technology, data has become the core element of enterprise operations and decision-making; therefore, data security and availability are particularly important, and data backup and recovery have become important means to ensure data security; currently, there are many data backup and recovery methods, mainly including full backup, incremental backup, differential backup, etc. These methods have their own advantages and disadvantages, and need to be selected according to needs;
[0003] Most companies use these traditional data backup and recovery methods, but in actual use, there are still certain disadvantages:
[0004] Waste of resources. In existing data backup and recovery methods, all data is treated equally regardless of its importance to the business, which results in the unnecessary use of valuable storage space.
[0005] Low recovery efficiency. When restoring data, key data cannot be quickly located, and it takes more time to restore all backup data, even if most of the data is not critical to business operations.
[0006] Risks increase. Insufficient security measures are not taken for critical data, which increases the risk of data leakage or damage. In the face of catastrophic events, critical business cannot be restored quickly, thus affecting the viability of the enterprise. Summary of the invention
[0007] The object of the present invention is to provide an efficient data backup and recovery method, device and readable and writable medium to solve the problems raised in the above background technology.
[0008] To achieve the above object, the present invention provides the following technical solutions:
[0009] An efficient data backup and recovery method comprises the following steps:
[0010] S1. Set the backup method: select the appropriate backup method according to the backup requirements and application scenarios;
[0011] S2. Evaluate data: Thoroughly evaluate the data in the system and determine the key data and its backup priority;
[0012] S3. Set up a backup plan: Select a suitable backup plan based on backup requirements and application scenarios;
[0013] S4. Set the backup plan: set the backup frequency and specific backup time point according to the needs;
[0014] S5. Determine the backup media: prepare the corresponding backup media according to the selected backup plan;
[0015] S6. Execute backup: copy the data to the selected backup media according to the set backup method, scheme and plan;
[0016] S7. Verify backup: Verify the integrity and availability of the backup to ensure that the backup data is not damaged or lost and can be restored normally later;
[0017] S8. Prepare the recovery environment: Ensure that the target system or application is ready. For damaged systems, repair or rebuild them first.
[0018] S9. Execute data recovery: Use the backup tool or method to restore the backup data to the original location. You can choose full recovery, partial recovery or file-level recovery.
[0019] S10. Verify recovery: Verify the integrity and accuracy of the recovered data to ensure that the recovered data is consistent with the source data.
[0020] As a further solution of the present invention: the backup method in S1 is any one of full backup, incremental backup and differential backup.
[0021] As a further solution of the present invention: the full backup is to copy all data to the backup medium; the incremental backup is to back up only the data that has changed since the last backup; and the differential backup is to back up all the data that has changed since the last full backup.
[0022] As a further solution of the present invention: the evaluation data in S2 includes:
[0023] Data classification, which is to classify the data within the organization and identify different types of data and their importance;
[0024] Data value assessment, which is to assess the value and impact of each data classification;
[0025] Data volume assessment, wherein the data volume assessment is to estimate the data volume of each type of data;
[0026] Risk assessment: The risk assessment is to determine the priority of backup based on the business needs and risk tolerance of the enterprise.
[0027] As a further solution of the present invention: the data classification can be divided according to the function, business relevance and legal and regulatory requirements of the data;
[0028] The data value assessment includes: data relevance, that is, the importance of data to organizational operations and business continuity; data sensitivity, that is, the sensitivity of data, involving personal identity information and financial data; business priority, that is, business processes and criticality;
[0029] The data volume assessment may be analyzed based on historical data and business requirements, including data growth trends, data change frequency, and data capacity.
[0030] As a further solution of the present invention: the backup solution in S3 is any one of local backup, cloud backup and hybrid backup.
[0031] As a further solution of the present invention: the local backup is to use a local hard disk, a network attached storage or a storage area network to perform data backup;
[0032] The cloud backup is data backup to the storage of the cloud service provider;
[0033] The hybrid backup is a combination of local backup and cloud backup.
[0034] An efficient data backup and recovery device, used to implement the above-mentioned efficient data backup and recovery method, comprising:
[0035] A compression module, which is used to compress the backup data to reduce the storage space occupied;
[0036] An encryption module, wherein the encryption module is used to encrypt the backup data to protect the confidentiality and privacy of the data;
[0037] A writing module, wherein the writing module is used to write the backup data into the backup device;
[0038] The reading module is used to read and extract backup data from the backup device to perform data recovery or retrieval.
[0039] A highly efficient data backup and recovery readable and writable medium stores a program or instruction thereon, wherein the program or instruction is configured to execute the highly efficient data backup and recovery method mentioned above when it is run.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention conducts a thorough evaluation of the data in the system in advance through evaluation data to determine the key data and its backup priority; by identifying which data is the key data, the enterprise can focus its limited resources and energy on backing up the most important data, avoiding unnecessary backup of unimportant data, thereby saving cost and time; in emergency data recovery scenarios, the business recovery time can be significantly shortened to ensure that key operations can be restored as soon as possible; the identified key data may contain sensitive information, and understanding the location and importance of this information can help organizations better manage the data and take appropriate security measures to reduce the risk of leakage or loss; data evaluation not only helps to maximize the efficiency of backup and recovery operations, but also improves the speed and quality of business recovery, ultimately ensuring the security of enterprise data and business continuity. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flowchart of an efficient data backup and recovery method;
[0043] Figure 2 It is a structural block diagram of an efficient data backup and recovery device; DETAILED DESCRIPTION
[0044] See also Figure 1 In an embodiment of the present invention, an efficient data backup and recovery method includes the following steps:
[0045] S1. Set the backup method: select the appropriate backup method according to the backup requirements and application scenarios;
[0046] S2. Evaluate data: Thoroughly evaluate the data in the system and determine the key data and its backup priority;
[0047] S3. Set up a backup plan: Select a suitable backup plan based on backup requirements and application scenarios;
[0048] S4. Set the backup plan: set the backup frequency and specific backup time point according to the needs;
[0049] S5. Determine the backup media: prepare the corresponding backup media according to the selected backup plan;
[0050] S6. Execute backup: copy the data to the selected backup media according to the set backup method, scheme and plan;
[0051] S7. Verify backup: Verify the integrity and availability of the backup to ensure that the backup data is not damaged or lost and can be restored normally later;
[0052] S8. Prepare the recovery environment: Ensure that the target system or application is ready. For damaged systems, repair or rebuild them first.
[0053] S9. Execute data recovery: Use the backup tool or method to restore the backup data to the original location. You can choose full recovery, partial recovery or file-level recovery.
[0054] S10. Verify recovery: Verify the integrity and accuracy of the recovered data to ensure that the recovered data is consistent with the source data.
[0055] Preferably, the backup method in S1 is any one of full backup, incremental backup and differential backup.
[0056] Preferably, a full backup is to copy all data to a backup medium, which includes all files, folders and directory structures of the source data. In a full backup, each backup will copy the entire content of the source data, regardless of whether the data has changed. This backup method can ensure that the data is the easiest and fastest to recover, because only the data on the backup medium needs to be completely restored. Although this method is time-consuming and resource-intensive, it is the easiest and fastest way to recover data.
[0057] Incremental backup only backs up the data that has changed since the last backup. It records the files and directories that are newly created or modified after the last backup. Incremental backup only copies the changed parts, which can save time and storage space. When restoring data, you need to restore the most recent full backup first, and then gradually apply each incremental backup until the data status at the target time is restored. This method saves time and storage space, but it takes more time to restore data.
[0058] A differential backup backs up all the data that has changed since the last full backup. It records the newly created or modified files and directories of the source data after the last full backup. Unlike an incremental backup, a differential backup backs up all the changes that have occurred since the last full backup, not just the changes since the most recent backup. In this way, when restoring data, you only need to restore the most recent full backup and the most recent differential backup to quickly restore to the data status at the target time. The recovery speed is relatively fast. Compared with an incremental backup, the recovery speed is faster, but it will take up more storage space.
[0059] Preferably, the evaluation data in S2 includes:
[0060] Data classification, data classification is to classify the data within the organization, identify different types of data and their importance;
[0061] Data value assessment: Data value assessment is to evaluate the value and impact of each data classification;
[0062] Data volume assessment: Data volume assessment is to estimate the data volume of each type of data;
[0063] Risk assessment: Risk assessment is to determine the backup priority based on the business needs and risk tolerance of the enterprise.
[0064] Preferably, data classification can be divided according to the function, business relevance and legal and regulatory requirements of the data;
[0065] Data value assessment includes: data relevance, that is, the importance of data to organizational operations and business continuity; data sensitivity, that is, the sensitivity of data, involving personal identity information and financial data; business priority, that is, business processes and criticality;
[0066] Data volume assessment can be analyzed based on historical data and business needs, including data growth trends, data change frequency, and data capacity.
[0067] Preferably, the backup solution in S3 is any one of local backup, cloud backup and hybrid backup; local backup is to use local hard disk, network attached storage or storage area network for data backup; cloud backup is to back up data to the storage of cloud service provider; hybrid backup is to combine local backup and cloud backup, which can combine the fast recovery and data access performance of local backup with the reliability and remote storage advantages of cloud backup.
[0068] Figure 2 In: An efficient data backup and recovery device, used to implement the above-mentioned efficient data backup and recovery method, comprising:
[0069] Compression module: The compression module is used to compress the backup data to reduce the storage space occupied. By compressing the data, the storage requirements of the backup device can be effectively reduced, and the time and cost required for backup can be reduced;
[0070] Encryption module: The encryption module is used to encrypt the backup data to protect the confidentiality and privacy of the data. By using the encryption algorithm, the backup data can be encrypted into an unreadable form, and only authorized users can decrypt and access the data. This can prevent the risk of unauthorized access and leakage of data;
[0071] The write module is used to write the backup data to the backup device. It includes the backup media (such as tapes, hard disks, cloud storage, etc.) and related write logic. The write module ensures that the backup data is written to the backup device in the correct format and order so that data can be correctly restored when needed.
[0072] Read module, the read module is used to read and extract backup data from the backup device for data recovery or retrieval. It is responsible for identifying the location, format, and index of the backup data, and then reading and reconstructing the data for recovery operations. The read module ensures that the backup data can be restored to the original or target location safely and reliably.
[0073] An efficient data backup and recovery readable and writable medium, on which a program or instruction is stored, and the program or instruction is configured to execute the above-mentioned efficient data backup and recovery method when running;
[0074] The program or instruction contains the backup and recovery algorithm logic, including the specific implementation of compression, encryption, writing and reading operations. These algorithms are designed according to the requirements and environment of the backup and recovery targets; for example, the compression algorithm can be implemented using GZIP or other compression algorithms, and the encryption algorithm can be implemented using AES or other encryption algorithms;
[0075] The program or instructions contain the storage management logic for backup and recovery data, which includes the storage location, indexing and management method of backup data. These logics ensure that the backup data is correctly stored and organized so that it can be easily restored when needed.
[0076] The program or instructions contain logic for handling errors and abnormal situations that may occur during the backup and recovery process. These logics may include operations such as error detection, error repair, and logging to ensure the reliability and integrity of the backup and recovery process;
[0077] The program or instruction includes a user interface and interactive logic for interacting with the user and receiving backup and recovery related parameters, options and confirmation operations. These interfaces and interactions can be text command line interfaces, graphical user interfaces or other forms.
[0078] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0079] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An efficient data backup and recovery method, characterized in that: The following steps are involved: S1. Set the backup method: select the appropriate backup method according to the backup requirements and application scenarios; S2. Evaluate data: Thoroughly evaluate the data in the system and determine the key data and its backup priority; S3. Set up a backup plan: Select a suitable backup plan based on backup requirements and application scenarios; S4. Set the backup plan: set the backup frequency and specific backup time point according to the needs; S5. Determine the backup media: prepare the corresponding backup media according to the selected backup plan; S6. Execute backup: copy the data to the selected backup media according to the set backup method, scheme and plan; S7. Verify backup: Verify the integrity and availability of the backup to ensure that the backup data is not damaged or lost and can be restored normally later; S8. Prepare the recovery environment: Ensure that the target system or application is ready. For damaged systems, repair or rebuild them first. S9. Execute data recovery: Use the backup tool or method to restore the backup data to the original location. You can choose full recovery, partial recovery or file-level recovery. S10. Verify recovery: Verify the integrity and accuracy of the recovered data to ensure that the recovered data is consistent with the source data.
2. The efficient data backup and recovery method according to claim 1, characterized in that: The backup method in S1 is any one of full backup, incremental backup and differential backup.
3. The efficient data backup and recovery method according to claim 2, characterized in that: The full backup is to copy all data to the backup medium; the incremental backup is to back up only the data that has changed since the last backup; and the differential backup is to back up all the data that has changed since the last full backup.
4. The efficient data backup and recovery method according to claim 1, characterized in that: The evaluation data in S2 includes: Data classification, which is to classify the data within the organization and identify different types of data and their importance; Data value assessment, which is to assess the value and impact of each data classification; Data volume assessment, wherein the data volume assessment is to estimate the data volume of each type of data; Risk assessment: The risk assessment is to determine the priority of backup based on the business needs and risk tolerance of the enterprise.
5. The efficient data backup and recovery method according to claim 4, characterized in that: The data classification can be divided according to the function, business relevance and legal and regulatory requirements of the data; The data value assessment includes: the relevance of the data, that is, the importance of the data to the organization's operations and business continuity; Data sensitivity, i.e. how sensitive the data is, including personal identity information and financial data; business priority, i.e. business processes and criticality; The data volume assessment may be analyzed based on historical data and business requirements, including data growth trends, data change frequency, and data capacity.
6. The efficient data backup and recovery method according to claim 1, characterized in that: The backup solution in S3 is any one of local backup, cloud backup and hybrid backup.
7. The efficient data backup and recovery method according to claim 6, characterized in that: The local backup is to use a local hard disk, a network attached storage or a storage area network to perform data backup; The cloud backup is data backup to the storage of the cloud service provider; The hybrid backup is a combination of local backup and cloud backup.
8. An efficient data backup and recovery device, characterized in that: The method for implementing the efficient data backup and recovery method according to any one of claims 1 to 7 comprises: A compression module, which is used to compress the backup data to reduce the storage space occupied; An encryption module, wherein the encryption module is used to encrypt the backup data to protect the confidentiality and privacy of the data; A writing module, wherein the writing module is used to write the backup data into the backup device; The reading module is used to read and extract backup data from the backup device to perform data recovery or retrieval.
9. An efficient data backup and recovery readable and writable medium having a program or instruction stored thereon, characterized in that: The program or instruction is configured to execute the efficient data backup and recovery method described in any one of claims 1 to 7 when running.
Citation Information
Cited By
Automatic service data backup and recovery system
CN119537095A
