CN113515407B - Backup restoration method - Google Patents
Backup restoration method Download PDFInfo
- Publication number
- CN113515407B CN113515407B CN202010275007.XA CN202010275007A CN113515407B CN 113515407 B CN113515407 B CN 113515407B CN 202010275007 A CN202010275007 A CN 202010275007A CN 113515407 B CN113515407 B CN 113515407B
- Authority
- CN
- China
- Prior art keywords
- starting
- backup
- entering
- disk
- selecting
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention provides a novel backup restoration method, which comprises the following steps: step S1, starting, namely selecting the starting mode, namely starting an optical disk or starting a magnetic disk; if the optical disk is selected to be started, executing a step S2, and if the magnetic disk is selected to be started, executing a step S3; step S2, starting the optical disc, and entering step S4; and step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct starting is selected, the step S4 is carried out, and if the backup and restoration tool in the system is selected to be started, the step S5 is carried out; s4, entering a graphical reduction interface; step S5, selecting the time of backup, immediately backing up or setting an automatic backup time arrival time reminder, if the immediate backup is selected, entering step S6 immediately, if the automatic backup time arrival time reminder is selected, setting an automatic backup time, reminding a user after the set automatic backup time is reached, and entering step S6; and S6, mounting the whole disc.
Description
Technical Field
The invention relates to a backup and restoration method, and belongs to the technical field of system backup.
Background
The domestic operating system has a plurality of backup restoration modes, and has stronger specificity compared with the domestic operating system. There is no relatively feasible system backup restoration scheme in both mega-core and arm versions of the winning kylin desktop operating system software. Most of the existing open source tools are only backup tools, which are complex to operate and have high professional requirements, as shown in fig. 1 and 2, the existing backup restoration method is complex to operate and takes up a long time. And therefore, the method is not suitable for the use of the winning kylin desktop operating system software on a megacore platform and an arm platform.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a backup restoring method.
In order to solve the defects of the prior art, the invention provides a backup restoration method, which comprises the following steps:
step S1: starting, selecting the starting mode, starting the optical disk or starting the magnetic disk; if the optical disk is selected to be started, executing the step S2, and if the magnetic disk is selected to be started, executing the step S3;
step S2: starting the optical disc, and entering step S4;
and step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct starting is selected, the step S4 is carried out, and if the backup restoration tool in the system is selected to be started, the step S5 is carried out;
and step S4: entering a graphical reduction interface, and selecting operations to be performed, system backup, system recovery or master disk manufacturing;
step S5: selecting the time of backup, immediately backing up or setting an automatic backup time to be time-out reminding, if the immediate backup is selected, immediately entering the step S6, if the automatic backup time is selected to be set to be time-out reminding, setting an automatic backup time, reminding a user after the set automatic backup time is reached, and then entering the step S6;
step S6: and (4) full disk installation, judging whether full disk installation is needed, if so, entering the step S4, and if not, prompting that the function is unavailable.
Further, in step S4, if the system backup operation is selected, the following steps are performed:
step S411: backing up a system;
step S412: listing backup nodes
Step S413: covering the prompt;
step S414: judging whether to continue, if so, starting backup, finishing prompting restart or shutdown, and ending; if not, directly restarting and then ending.
Further, in step S4, if the system recovery operation is selected, the following steps are performed:
step S421: recovering the system;
step S422: selecting a node;
step S423: confirming the prompt;
step S424: judging whether to continue, if so, starting recovery, finishing prompting restart or shutdown, and ending; if not, directly restarting and then ending.
Further, in step S4, if the operation of mastering is selected, the method proceeds to the following steps:
step S431: manufacturing a master disc;
step S432: prompting the size of the master disc;
step S433: whether the size of the Home partition data is larger than a threshold value or not;
step S434: if yes, starting manufacturing, finishing prompting restart or shutdown, and finishing; if not, directly restarting and then ending.
Further, after the operation of manufacturing the master disc is completed, the reduction operation can be performed through the master disc, and the specific steps are performed as follows:
step S51: starting a master disc;
step S52: selecting whether to reserve the user data, if so, reserving the user data and then entering the step S53, and if not, directly entering the step S53 without reserving the user data;
step S53: starting installation;
step S54: finishing prompting restart or shutdown;
step S55: and (6) ending.
The backup and recovery method can solve the following technical problems:
1. the backup operation process can be further simplified, the user experience is improved, the requirements of backup restoration and copying installation on a system level are met, and the method is particularly suitable for the use of the winning bid kylin desktop operating system software on the mega-core platform and the arm platform;
2. by using the backup restoration method, the connection between the processing ui and the backup tool is smoother, and the backup and recovery time is shortened;
3. the running process and the generation of the program running environment can be started on different platforms;
4. multiple backup nodes are added.
Drawings
FIG. 1 is a flow chart of a conventional backup method;
FIG. 2 is a flowchart of a conventional backup method (II);
FIG. 3 is a flowchart illustrating an implementation of a backup restore method according to the present invention;
FIG. 4 is a flow chart of embodiment 1 of the present invention;
fig. 5 is a flowchart of backup restoration performed by master disk boot in embodiment 2 of the present invention.
Detailed Description
The technical solution in the embodiment of the present invention is clearly and completely described below with reference to the drawings in the embodiment of the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as specifically described herein, and it will be appreciated by those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the present invention and that the present invention is not limited by the specific embodiments disclosed below.
The invention provides a backup restoration method, which is based on the source code of open source software anaconda-21.48. The system can be started through the backup restoration environment, the system backup restoration is carried out in a graphical mode, and the functions of system backup, system restoration and mastering can be added by utilizing anaconda software.
Fig. 3 is a flowchart illustrating an implementation of a backup restoring method provided by the present invention, and as shown in fig. 3, the backup restoring method provided by the present invention includes the following steps:
step S1: starting, selecting the starting mode, starting the optical disk or starting the magnetic disk; if the optical disk is selected to be started, executing the step S2, and if the magnetic disk is selected to be started, executing the step S3;
step S2: starting the optical disc, and entering step S4;
and step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct starting is selected, the step S4 is carried out, and if the backup restoration tool in the system is selected to be started, the step S5 is carried out;
and step S4: entering a graphical reduction interface, and selecting operations to be performed, system backup, system recovery or master disk manufacturing;
step S5: selecting the time of backup, immediately backing up or setting an automatic backup time to be time-out reminding, if the immediate backup is selected, immediately entering the step S6, if the automatic backup time is selected to be set to be time-out reminding, setting an automatic backup time, reminding a user after the set automatic backup time is reached, and then entering the step S6;
step S6: and (4) full disk installation, namely judging whether full disk installation is needed, if so, entering the step S4, and if not, prompting that the function is unavailable.
In step S4, if the system backup operation is selected, the following steps are performed:
step S411: backing up a system;
step S412: listing backup nodes
Step S413: covering the prompt;
step S414: judging whether to continue, if so, starting backup, finishing prompting restart or shutdown, and ending; if not, directly restarting and then ending.
In step S4, if the system recovery operation is selected, the process proceeds to the following steps:
step S421: recovering the system;
step S422: selecting a node;
step S423: confirming the prompt;
step S424: judging whether to continue, if so, starting recovery, finishing prompting restart or shutdown, and finishing; if not, directly restarting and then ending.
In step S4, if the operation of mastering is selected, the process proceeds to the following steps:
step S431: manufacturing a master disc;
step S432: prompting the size of the master disc;
step S433: whether the size of the Home partition data is larger than a threshold value or not;
step S434: if yes, starting manufacturing, finishing prompting restart or shutdown, and ending; if not, directly restarting and then ending.
After the mastering operation is completed, a reduction operation may be performed on the master disc, as shown in fig. 5, and the specific steps are performed as follows:
step S51: starting a mother disc;
step S52: selecting whether to reserve the user data, if so, reserving the user data and then entering step S53, and if not, directly entering step S53 without reserving the user data;
step S53: starting to install;
step S54: finishing prompting restart or shutdown;
step S55: and (6) ending.
The following is a specific embodiment 1 of the backup-restore method in a specific application environment:
fig. 4 is a flowchart of embodiment 1, and fig. 4 is a flowchart of performing a system backup operation.
Specifically, when the user needs to back up the system, the kernel parameter needs to be identified and determined first, and if the backup parameter is detected, the backup interface is started (i.e., step S5 enters the graphical restoration interface). The backup interface comprises three functions of system backup, system restoration and disk master manufacturing, and operation process interfaces corresponding to the three functions, including node selection, confirmation, progress bar and completion interface. After the graphical main interface is put up, a system backup one of the three functional items is selected, then a value of self _ bk is given to 0,1 or 2, the corresponding class is called for n to enter the corresponding function by judging the self _ select _ bk through a response function on _ clicked _ ok, and then a specific functional script is executed by calling a progress bar class through a confirmation response. For example, clicking a button on a recovery interface calls progress barkup or progress barker class to execute backup. Sh or restore can distinguish whether the file is installed for EFI, backup partitions under different conditions (whether EFI and boot partitions exist) are backed up, backup files are stored in the backup partitions, the backup files named by dates and different in backup each time are stored, and then backup nodes are selected freely for restoration.
The following is a specific embodiment 2 of the backup-restore method in a specific application environment:
when the mother disc is used for reducing, firstly, the mother disc is manufactured, specifically, after the operation of starting the mother disc is selected, the mkiso.sh file is executed to realize the function of manufacturing the mother disc, namely, manufacturing a new rootfs.img and mounting a synchronous mounting environment into the rootfs.img; img in LiveOS is replaced, and installation guidance is modified; and determining the partitions of the master disk to be made, and generating a master disk core file fsa file. mkisofs makes iso and generates md5 values. After the mastering is completed, the recovery operation is performed through the master disc, and specific execution steps are described in fig. 5.
In the invention, the system backup refers to the function of backing up the installed system;
in the invention, the 'system recovery' refers to recovering a damaged system by using a backup function so as to recover the system to a certain backup node;
in the present invention, the term "system recovery" refers to restoration of a system;
in the present invention, so-called "master mount" system replication is mounted, and a current system replication is made iso and the system replication is mounted on another machine.
It should be apparent that the described embodiments are only some of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Claims (2)
1. A backup restoration method is characterized by comprising the following steps:
step S1: starting, selecting the starting mode, optical disk starting or magnetic disk starting; if the optical disk is selected to be started, executing the step S2, and if the magnetic disk is selected to be started, executing the step S3;
step S2: starting the optical disc, and entering step S4;
and step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct starting is selected, the step S4 is carried out, and if the backup and restoration tool in the system is selected to be started, the step S5 is carried out;
and step S4: entering a graphical reduction interface, and selecting operations to be performed, system backup, system recovery or master disk manufacturing;
if the system backup operation is selected, the following steps are carried out:
step S411: backing up a system;
step S412: listing backup nodes
Step S413: covering the prompt;
step S414: judging whether to continue, if so, starting backup, finishing prompting restart or shutdown, and ending; if not, directly restarting and then finishing;
if the system recovery operation is selected, the following steps are carried out:
step S421: recovering the system;
step S422: selecting a node;
step S423: confirming the prompt;
step S424: judging whether to continue, if so, starting recovery, finishing prompting restart or shutdown, and ending; if not, directly restarting and then finishing;
if the operation of making the master disc is selected, the following steps are carried out:
step S431: manufacturing a master disc;
step S432: prompting the size of the mother disc;
step S433: whether the size of the Home partition data is larger than a threshold value or not;
step S434: if yes, starting manufacturing, finishing prompting restart or shutdown, and finishing; if not, directly restarting and then ending;
step S5: selecting the time of backup, immediately backing up or setting an automatic backup time to be time-out reminding, if the immediate backup is selected, immediately entering the step S6, if the automatic backup time is selected to be set to be time-out reminding, setting an automatic backup time, reminding a user after the set automatic backup time is reached, and then entering the step S6;
step S6: and (4) full disk installation, namely judging whether full disk installation is needed, if so, entering the step S4, and if not, prompting that the function is unavailable.
2. A backup restoration method according to claim 1,
after the operation of manufacturing the master disc is completed, the reduction operation can be performed through the master disc, and the specific steps are as follows:
step S51: starting a mother disc;
step S52: selecting whether to reserve the user data, if so, reserving the user data and then entering the step S53, and if not, directly entering the step S53 without reserving the user data;
step S53: starting installation;
step S54: finishing prompting restart or shutdown;
step S55: and (6) ending.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010275007.XA CN113515407B (en) | 2020-04-09 | 2020-04-09 | Backup restoration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010275007.XA CN113515407B (en) | 2020-04-09 | 2020-04-09 | Backup restoration method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113515407A CN113515407A (en) | 2021-10-19 |
CN113515407B true CN113515407B (en) | 2023-03-31 |
Family
ID=78060390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010275007.XA Active CN113515407B (en) | 2020-04-09 | 2020-04-09 | Backup restoration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113515407B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6415382B1 (en) * | 1999-04-30 | 2002-07-02 | Adaptec, Inc. | Hard disk bootstrap redirection |
WO2003052596A1 (en) * | 2001-12-19 | 2003-06-26 | Haggai Yedidya | A system and method for installation of software onto a plurality of personal computers automatically and simultaneously |
CN1445667A (en) * | 2002-03-20 | 2003-10-01 | 联想(北京)有限公司 | Method for recovering and backing up information in hard disc of computer |
JP2010152781A (en) * | 2008-12-26 | 2010-07-08 | Fujitsu Ltd | Backup server device, backup/restore program, and backup/restore method |
US8095756B1 (en) * | 2009-04-28 | 2012-01-10 | Netapp, Inc. | System and method for coordinating deduplication operations and backup operations of a storage volume |
CN103425464A (en) * | 2012-05-15 | 2013-12-04 | 鸿富锦精密工业(深圳)有限公司 | Method and device for making motherboard |
CN103455387A (en) * | 2012-05-30 | 2013-12-18 | 深圳市祈飞科技有限公司 | Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system) |
CN105242986A (en) * | 2015-09-11 | 2016-01-13 | 金步国 | Method for backing up and restoring Windows operating system |
CN110968457A (en) * | 2019-10-28 | 2020-04-07 | 湖南麒麟信安科技有限公司 | Backup restoration method, system and medium for Linux operating system |
-
2020
- 2020-04-09 CN CN202010275007.XA patent/CN113515407B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6415382B1 (en) * | 1999-04-30 | 2002-07-02 | Adaptec, Inc. | Hard disk bootstrap redirection |
WO2003052596A1 (en) * | 2001-12-19 | 2003-06-26 | Haggai Yedidya | A system and method for installation of software onto a plurality of personal computers automatically and simultaneously |
CN1445667A (en) * | 2002-03-20 | 2003-10-01 | 联想(北京)有限公司 | Method for recovering and backing up information in hard disc of computer |
JP2010152781A (en) * | 2008-12-26 | 2010-07-08 | Fujitsu Ltd | Backup server device, backup/restore program, and backup/restore method |
US8095756B1 (en) * | 2009-04-28 | 2012-01-10 | Netapp, Inc. | System and method for coordinating deduplication operations and backup operations of a storage volume |
CN103425464A (en) * | 2012-05-15 | 2013-12-04 | 鸿富锦精密工业(深圳)有限公司 | Method and device for making motherboard |
CN103455387A (en) * | 2012-05-30 | 2013-12-18 | 深圳市祈飞科技有限公司 | Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system) |
CN105242986A (en) * | 2015-09-11 | 2016-01-13 | 金步国 | Method for backing up and restoring Windows operating system |
CN110968457A (en) * | 2019-10-28 | 2020-04-07 | 湖南麒麟信安科技有限公司 | Backup restoration method, system and medium for Linux operating system |
Non-Patent Citations (2)
Title |
---|
一种快速的计算机操作系统备份与恢复方案;张军峰;《中国科技信息》;20080601(第11期);全文 * |
实验电脑操作系统自动还原光盘应用与改造;周永胜;《中国现代教育装备》;20101110(第21期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113515407A (en) | 2021-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7853934B2 (en) | Hot-swapping a dynamic code generator | |
US5745669A (en) | System and method for recovering PC configurations | |
CN102855174B (en) | The target program progress control method that can automatically recover in automatic test and device | |
US7908600B2 (en) | Fault-tolerant patching system | |
CN104636217B (en) | A kind of root file system automated back-up and abnormal restoring method and partitioned organization | |
US20110167300A1 (en) | Device driver rollback | |
WO2012116637A1 (en) | System rescue method and device | |
US20110321034A1 (en) | Method for Improving the Performance of Computers | |
CN113190371B (en) | Task compensation method and device, electronic equipment and readable storage medium | |
US6430706B1 (en) | Tracking and managing failure-susceptible operations in a computer system | |
CN113515407B (en) | Backup restoration method | |
US20130086572A1 (en) | Generation apparatus, generation method and computer readable information recording medium | |
CN115357355A (en) | Method, device and equipment for software cross-system migration and readable storage medium | |
CN111831484B (en) | Automatic backup and restoration method for system | |
CN112540875B (en) | Method for restoring check availability of mysql database based on xtrabackup | |
CN114020530A (en) | Automatic factory backup method and system for operating system | |
CN113987075A (en) | Data synchronization method, device, equipment and readable storage medium | |
CN105487847B (en) | A kind of function dissemination method and equipment | |
CN110597609A (en) | Cluster migration and automatic recovery method and system | |
CN107145570B (en) | Method and system for maintaining server based on database service architecture | |
RU2187835C1 (en) | Computer maintenance method and system | |
CN111124737A (en) | Cloud platform operation conflict judgment method and electronic equipment | |
CN115129517B (en) | BIOS (basic input output system) option fault recovery method, device, equipment and storage medium | |
CN118245109B (en) | Universal plug-in compatibility method and system for JVM middleware engine | |
CN107832145B (en) | System resource release method based on virtual machine |
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 |