CN113515407A - Novel backup restoration method - Google Patents

Novel backup restoration method Download PDF

Info

Publication number
CN113515407A
CN113515407A CN202010275007.XA CN202010275007A CN113515407A CN 113515407 A CN113515407 A CN 113515407A CN 202010275007 A CN202010275007 A CN 202010275007A CN 113515407 A CN113515407 A CN 113515407A
Authority
CN
China
Prior art keywords
backup
starting
disk
selecting
entering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010275007.XA
Other languages
Chinese (zh)
Other versions
CN113515407B (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.)
China Standard Software Co Ltd
Original Assignee
China Standard Software 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 China Standard Software Co Ltd filed Critical China Standard Software Co Ltd
Priority to CN202010275007.XA priority Critical patent/CN113515407B/en
Publication of CN113515407A publication Critical patent/CN113515407A/en
Application granted granted Critical
Publication of CN113515407B publication Critical patent/CN113515407B/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/1456Hardware arrangements for backup
    • 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

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, selecting the starting mode, optical disk starting or magnetic disk starting; if the disk start is selected, executing step S2, and if the disk start is selected, executing step S3; step S2, the disc is started, and the process advances to step S4; step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct start is selected, the process goes to step S4, and if the backup restoration tool in the system is selected to start, the process goes to step S5; step S4, entering a graphical reduction interface; step S5, selecting the backup time, immediately backing up or setting an automatic backup time arrival time reminder, if the immediate backup is selected, immediately entering step S6, if the automatic backup time arrival time reminder is selected, setting an automatic backup time, reminding the user after the set automatic backup time is reached, and then entering step S6; step S6 full disk installation.

Description

Novel backup restoration method
Technical Field
The invention relates to a novel 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, the present invention is directed to a novel backup restoring method.
In order to solve the defects of the prior art, the invention provides a novel backup restoration method, which comprises the following steps:
step S1: starting, selecting the starting mode, optical disk starting or magnetic disk starting; if the disk start is selected, executing step S2, and if the disk start is selected, executing step S3;
step S2: the optical disc is started, and the process proceeds to step S4;
step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct start is selected, the process goes to step S4, and if the backup restoration tool in the system is selected to start, the process goes to step S5;
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 arrival time prompt, if the immediate backup is selected, immediately entering step S6, if the automatic backup time arrival time prompt is selected, setting an automatic backup time, then prompting a user after the set automatic backup time is reached, and then entering 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.
Further, in step S4, if the system backup operation is selected, the method proceeds to the following steps:
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 method 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.
Further, in step S4, if the mastering operation 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 retain the user data, if so, retaining the user data and then entering the step S53, and if not, directly entering the step S53 without retaining the user data;
step S53: starting installation;
step S54: finishing prompting restart or shutdown;
step S55: and (6) ending.
The novel backup restoration 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. a plurality of backup nodes are added.
Drawings
FIG. 1 is a flow chart of a conventional backup method;
FIG. 2 is a flow chart of a conventional backup method (II);
FIG. 3 is a flow chart of an implementation of the novel backup restore method of the present invention;
FIG. 4 is a flowchart of embodiment 1 of the present invention;
fig. 5 is a flowchart of backup restoration through a master startup according to embodiment 2 of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention is clearly and completely described below with reference to the drawings in the embodiments 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, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
The invention provides a novel 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 novel backup and restore method provided by the present invention, and as shown in fig. 3, the novel backup and restore method provided by the present invention includes the following steps:
step S1: starting, selecting the starting mode, optical disk starting or magnetic disk starting; if the disk start is selected, executing step S2, and if the disk start is selected, executing step S3;
step S2: the optical disc is started, and the process proceeds to step S4;
step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct start is selected, the process goes to step S4, and if the backup restoration tool in the system is selected to start, the process goes to step S5;
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 arrival time prompt, if the immediate backup is selected, immediately entering step S6, if the automatic backup time arrival time prompt is selected, setting an automatic backup time, then prompting a user after the set automatic backup time is reached, and then entering 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 method proceeds to the following steps:
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 method 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 mastering operation 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.
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 master disc;
step S52: selecting whether to retain the user data, if so, retaining the user data and then entering the step S53, and if not, directly entering the step S53 without retaining the user data;
step S53: starting installation;
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 used, a system backup one of the three function items is selected, then a value of self _ bk is assigned as 0,1 or 2, the corresponding class is called for n by judging that the self _ bk is n through a response function on _ clicked _ ok, and then a concrete function script is executed by calling a progress bar class through confirmation response. For example, a button is clicked on a recovery interface to call progress barkup or progress restore class to execute backup. Sh or restore can distinguish whether EFI is installed, backup partitions under different conditions (EFI and boot partitions exist or not), backup files are stored in the backup partitions, different backup files named by dates are stored in each backup, and then backup nodes are freely selected for recovery.
The following is a specific embodiment 2 of the backup-restore method in a specific application environment:
when the mother disc is used for reduction, 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 installation environment into the rootfs.img; replacing rootfs.img in LiveOS, and modifying installation guide; and determining 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 present invention, the "system backup" refers to a function of backing up an 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 is to be understood that the described embodiments are merely a few embodiments of the invention, and not all 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 (5)

1. A novel 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 disk start is selected, executing step S2, and if the disk start is selected, executing step S3;
step S2: the optical disc is started, and the process proceeds to step S4;
step S3: starting a disk, selecting a disk starting mode, and directly starting or starting a backup restoration tool in a system; if direct start is selected, the process goes to step S4, and if the backup restoration tool in the system is selected to start, the process goes to step S5;
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 arrival time prompt, if the immediate backup is selected, immediately entering step S6, if the automatic backup time arrival time prompt is selected, setting an automatic backup time, then prompting a user after the set automatic backup time is reached, and then entering 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 novel backup-restore method according to claim 1,
in step S4, if the system backup operation is selected, the method proceeds to the following steps:
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.
3. A novel backup-restore method according to claim 1,
in step S4, if the system recovery operation is selected, the method 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.
4. A novel backup-restore method according to claim 1,
in step S4, if the mastering operation 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.
5. A novel backup-restore method according to claim 4,
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 master disc;
step S52: selecting whether to retain the user data, if so, retaining the user data and then entering the step S53, and if not, directly entering the step S53 without retaining the user data;
step S53: starting installation;
step S54: finishing prompting restart or shutdown;
step S55: and (6) ending.
CN202010275007.XA 2020-04-09 2020-04-09 Backup restoration method Active CN113515407B (en)

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 true CN113515407A (en) 2021-10-19
CN113515407B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
周永胜: "实验电脑操作系统自动还原光盘应用与改造", 《中国现代教育装备》 *
张军峰: "一种快速的计算机操作系统备份与恢复方案", 《中国科技信息》 *

Also Published As

Publication number Publication date
CN113515407B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US7853934B2 (en) Hot-swapping a dynamic code generator
CN102855174B (en) The target program progress control method that can automatically recover in automatic test and device
WO2012116637A1 (en) System rescue method and device
CN106201690A (en) Application progress control method and device
US6430706B1 (en) Tracking and managing failure-susceptible operations in a computer system
CN106775674B (en) Equipment based on universal boot loader and starting method thereof
CN104182239A (en) Upgrading method and upgrading device for file system based on embedded Linux equipment
CN113515407B (en) Backup restoration method
US20130086572A1 (en) Generation apparatus, generation method and computer readable information recording medium
CN111831484B (en) Automatic backup and restoration method for system
CN106569912A (en) Method and system of restoring factory settings for mobile terminal
US7822492B2 (en) Methods and systems for operating an automated system using a process definition model
CN108418720A (en) A kind of restoration methods, device and the routing device of routing device configuration information
CN114020530A (en) Automatic factory backup method and system for operating system
CN108469995A (en) Data backup method based on disk partition
JP2011248692A (en) Information processor and program
CN110865873A (en) Dynamic shutdown and recovery method for virtual machine resources
CN106815024B (en) Method and system for optimizing starting time of mobile terminal
CN110597609A (en) Cluster migration and automatic recovery method and system
RU2187835C1 (en) Computer maintenance method and system
CN109885328B (en) BIOS updating method and system and related components
CN115964223A (en) One-key restoration method, system, terminal and storage medium based on Feiteng platform OS
CN114637521A (en) Method for automatically installing and uninstalling designated driver to disaster recovery machine
CN115016896A (en) Garbage recycling method and terminal
CN117201489A (en) Cloud node recovery method, device, equipment and medium based on double-node cluster

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