CN104182301A - Backup method and restore method for Kylin operating system - Google Patents

Backup method and restore method for Kylin operating system Download PDF

Info

Publication number
CN104182301A
CN104182301A CN201410423284.5A CN201410423284A CN104182301A CN 104182301 A CN104182301 A CN 104182301A CN 201410423284 A CN201410423284 A CN 201410423284A CN 104182301 A CN104182301 A CN 104182301A
Authority
CN
China
Prior art keywords
operating system
bid
kylin operating
backup
acceptance
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.)
Pending
Application number
CN201410423284.5A
Other languages
Chinese (zh)
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201410423284.5A priority Critical patent/CN104182301A/en
Publication of CN104182301A publication Critical patent/CN104182301A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to backup and restore methods for operating systems, discloses a backup method and a restore method for the Kylin operating system, and aims to solve the problem of how to backup and restore the Kylin operating system. The technical scheme includes that the backup method for the Kylin operating system includes: reading a partition table of a hard disk, storing partition information, using a tar command to package the system, and compressing by gzip; the restore method for the Kylin operating system includes: setting for starting from a flash disk, a CD driver or the hard disk under BIOS (basic input/output system), starting a minimum system first, automatically running a restore program after system startup is finished, and carrying out restore operations.

Description

A kind of backup method and method of reducing of the kylin operating system of getting the bid
Technical field
The present invention relates to a kind of operating system backup method and method of reducing, specifically a kind of backup method and method of reducing of the kylin operating system of getting the bid.
Background technology
In use may there is various problems in computer operating system, but the vital document of depositing in operating system, the important procedure of installation all can not re-use, if the system of reinstalling, not only the time is oversize, also can cause the loss of vital document, if at this moment there is system backup, only need to be through once simply reducing and just can solve, not only save time, can also retrieve a loss.
Along with the propelling of production domesticization, on Domestic Platform, use acceptance of the bid kylin operating system also to become and grow up.Acceptance of the bid kylin desktop operating system is that the safety of China Standard Software Co., Ltd.'s research and development is controlled, the operating system platform product of high safety grade, is a graphical desktop operating system towards desktop application.Acceptance of the bid kylin desktop operating system is for domestic CPU platforms such as X86 and Godson, Shen Wei, many will, hardware adaptation, software transplanting, customizing functions and performance optimization are completed, may operate on the different product forms such as desktop computer, notebook, all-in-one, vehicle-mounted machine, supporting the application in each fields such as national defence, government, enterprise, electric power and finance.
Corresponding system failure problem has also just been come, if at this moment there is system backup, can be easy to head it off.On the one hand, on Domestic Platform, Study system backup and reduction is less, and most people is still at research X86 platform; On the other hand, research backup-and-restore can allow acceptance of the bid kylin operation system function more and more diversified.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides a kind of acceptance of the bid kylin operating system that solves how to back up and reduce a kind of backup method and the method for reducing of the kylin operating system of getting the bid of problem.
The technical solution adopted for the present invention to solve the technical problems is:
A backup method for the kylin operating system of getting the bid, computing machine is provided with acceptance of the bid kylin operating system, and the backup method of acceptance of the bid kylin operating system comprises the steps:
(1), install stand-by program, read the partition table of hard disk, and partition table information be stored in partition table file;
(2), acceptance of the bid kylin operating system is broken into a bag with tar order, compress with gzip;
(3), operation stand-by program automated back-up acceptance of the bid kylin operating system, and select automated back-up interval time, stand-by program is according to automated back-up acceptance of the bid interval time kylin operating system;
(4), starting stand-by program can back up mark kylin operating system;
(5), the backup file that generates of mark kylin operating system backup, deposit in the hidden partition of hard disk.
A kind of backup method of the kylin operating system of getting the bid, the backup file that the backup of mark kylin operating system generates has two parts, stand-by program can be deleted a old backup file before backing up, if the file of new backup has problem, mark kylin operating system reduction with previous another part of backup file.
A method of reducing for the kylin operating system of getting the bid, computing machine is provided with acceptance of the bid kylin operating system, and the method for reducing of acceptance of the bid kylin operating system comprises the steps:
(1), reducing program is placed in USB flash disk or CD-ROM drive or hard disk, reducing program comprises a minimum system and reducing program two parts, and reducing program is installed;
(2), under BIOS, arrange start a minimum system, system has started rear automatic operation reducing program;
(3) backup file of, selecting a kind of backup method of the kylin operating system of getting the bid to produce;
(4), reducing program takes out the partition table information of the partition table file of backup file, and compares with the fdisk of current computer;
(5), if the partition table information of backup file is consistent with the fdisk of current computer, carry out restoring operation;
(6) if the fdisk of the partition table information of backup file and current computer is inconsistent, according to the partition table information of backup file, the hard disk of computing machine is carried out to subregion, after subregion, carry out again restoring operation;
(7), acceptance of the bid kylin operating system reduction end of operation, carry out primary system and restart, acceptance of the bid kylin operating system can normally start, acceptance of the bid kylin operating system reduction is complete.
A method of reducing for the kylin operating system of getting the bid, in step (2), reducing program can be identified USB flash disk or CD-ROM drive or hard disk, under BIOS, arranges from USB flash disk or CD-ROM drive or minimum system of hard disk startup.
Backup method and the method for reducing of a kind of kylin operating system of getting the bid of the present invention, have the following advantages: solve acceptance of the bid kylin operating system backup-and-restore problem, based on Shen prestige processor platform; Stand-by program is installed in operating system, stand-by program can regularly or manually go backup operation system, reducing program is placed in CD or USB flash disk, wherein reducing program comprises a minimum system and reduction application program two parts, in the time that needs reduce, to first start minimum system, restart reducing program and carry out system reducing operation.Main innovate point of the present invention is under Domestic Platform, to support the backup and reduction operation of partition table, solves because of the irreducible problem of partition table damage.
Brief description of the drawings
Below in conjunction with accompanying drawing, the present invention is further described.
The process flow diagram of the backup method that accompanying drawing 1 is a kind of kylin operating system of getting the bid;
The process flow diagram of the method for reducing that accompanying drawing 2 is a kind of kylin operating system of getting the bid.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Embodiment 1:
The backup method of a kind of kylin operating system of getting the bid of the present invention, computing machine is provided with acceptance of the bid kylin operating system, and the backup method of acceptance of the bid kylin operating system comprises the steps:
(1), install stand-by program, read the partition table of hard disk, and partition table information be stored in partition table file;
(2), acceptance of the bid kylin operating system is broken into a bag with tar order, compress with gzip;
(3), operation stand-by program automated back-up acceptance of the bid kylin operating system, and select automated back-up interval time, stand-by program is according to automated back-up acceptance of the bid interval time kylin operating system;
(4), starting stand-by program can back up mark kylin operating system;
(5), the backup file that generates of mark kylin operating system backup, deposit in the hidden partition of hard disk.
A kind of backup method of the kylin operating system of getting the bid, the backup file that the backup of mark kylin operating system generates has two parts, stand-by program can be deleted a old backup file before backing up, if the file of new backup has problem, mark kylin operating system reduction with previous another part of backup file.
Embodiment 2:
The method of reducing of a kind of kylin operating system of getting the bid of the present invention, computing machine is provided with acceptance of the bid kylin operating system, and the method for reducing of acceptance of the bid kylin operating system comprises the steps:
(1), reducing program is placed in USB flash disk or CD-ROM drive or hard disk, reducing program comprises a minimum system and reducing program two parts, and reducing program is installed;
(2), under BIOS, arrange start a minimum system, system has started rear automatic operation reducing program;
(3) backup file of, selecting a kind of backup method of the kylin operating system of getting the bid to produce;
(4), reducing program takes out the partition table information of the partition table file of backup file, and compares with the fdisk of current computer;
(5), if the partition table information of backup file is consistent with the fdisk of current computer, carry out restoring operation;
(6) if the fdisk of the partition table information of backup file and current computer is inconsistent, according to the partition table information of backup file, the hard disk of computing machine is carried out to subregion, after subregion, carry out again restoring operation;
(7), acceptance of the bid kylin operating system reduction end of operation, carry out primary system and restart, acceptance of the bid kylin operating system can normally start, acceptance of the bid kylin operating system reduction is complete.
A method of reducing for the kylin operating system of getting the bid, in step (2), reducing program can be identified USB flash disk or CD-ROM drive or hard disk, under BIOS, arranges from USB flash disk or CD-ROM drive or minimum system of hard disk startup.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; suitable variation or replacement any a kind of the get the bid backup method of kylin operating system and claims of method of reducing according to the invention and that any person of an ordinary skill in the technical field does it, all should fall into scope of patent protection of the present invention.

Claims (4)

1. a backup method for the kylin operating system of getting the bid, is characterized in that computing machine is provided with acceptance of the bid kylin operating system, and the backup method of acceptance of the bid kylin operating system comprises the steps:
(1), install stand-by program, read the partition table of hard disk, and partition table information be stored in partition table file;
(2), acceptance of the bid kylin operating system is broken into a bag with tar order, compress with gzip;
(3), operation stand-by program automated back-up acceptance of the bid kylin operating system, and select automated back-up interval time, stand-by program is according to automated back-up acceptance of the bid interval time kylin operating system;
(4), starting stand-by program can back up mark kylin operating system;
(5), the backup file that generates of mark kylin operating system backup, deposit in the hidden partition of hard disk.
2. the backup method of a kind of kylin operating system of getting the bid according to claim 1, it is characterized in that the backup file of marking kylin operating system backup generation has two parts, stand-by program can be deleted a old backup file before backing up, if the file of new backup has problem, mark kylin operating system reduction with previous another part of backup file.
3. a method of reducing for the kylin operating system of getting the bid, is characterized in that computing machine is provided with acceptance of the bid kylin operating system, and the method for reducing of acceptance of the bid kylin operating system comprises the steps:
(1), reducing program is placed in USB flash disk or CD-ROM drive or hard disk, reducing program comprises a minimum system and reducing program two parts, and reducing program is installed;
(2), under BIOS, arrange start a minimum system, system has started rear automatic operation reducing program;
(3) backup file of, selecting a kind of backup method of the kylin operating system of getting the bid to produce;
(4), reducing program takes out the partition table information of the partition table file of backup file, and compares with the fdisk of current computer;
(5), if the partition table information of backup file is consistent with the fdisk of current computer, carry out restoring operation;
(6) if the fdisk of the partition table information of backup file and current computer is inconsistent, according to the partition table information of backup file, the hard disk of computing machine is carried out to subregion, after subregion, carry out again restoring operation;
(7), acceptance of the bid kylin operating system reduction end of operation, carry out primary system and restart, acceptance of the bid kylin operating system can normally start, acceptance of the bid kylin operating system reduction is complete.
4. the method for reducing of a kind of kylin operating system of getting the bid according to claim 3, is characterized in that, in step (2), reducing program can be identified USB flash disk or CD-ROM drive or hard disk, under BIOS, arranges from USB flash disk or CD-ROM drive or minimum system of hard disk startup.
CN201410423284.5A 2014-08-26 2014-08-26 Backup method and restore method for Kylin operating system Pending CN104182301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410423284.5A CN104182301A (en) 2014-08-26 2014-08-26 Backup method and restore method for Kylin operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410423284.5A CN104182301A (en) 2014-08-26 2014-08-26 Backup method and restore method for Kylin operating system

Publications (1)

Publication Number Publication Date
CN104182301A true CN104182301A (en) 2014-12-03

Family

ID=51963373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410423284.5A Pending CN104182301A (en) 2014-08-26 2014-08-26 Backup method and restore method for Kylin operating system

Country Status (1)

Country Link
CN (1) CN104182301A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445616A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for upgrading terminal equipment from multiple systems to single system
CN108062261A (en) * 2016-11-09 2018-05-22 中标软件有限公司 A kind of method of the backup and reduction of Linux desktop operating systems
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405325B1 (en) * 1999-01-30 2002-06-11 Inventec Corp. Method and tool for restoring crashed operation system of computer
CN1456980A (en) * 2002-05-08 2003-11-19 联想(北京)有限公司 Hard disc data duplicating and reproducing method
CN101183324A (en) * 2007-12-10 2008-05-21 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN103455388A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Operating system backup reducing method and system based on hard disk hidden protection area (HPA)
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)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405325B1 (en) * 1999-01-30 2002-06-11 Inventec Corp. Method and tool for restoring crashed operation system of computer
CN1456980A (en) * 2002-05-08 2003-11-19 联想(北京)有限公司 Hard disc data duplicating and reproducing method
CN101183324A (en) * 2007-12-10 2008-05-21 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN103455388A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Operating system backup reducing method and system based on hard disk hidden protection area (HPA)
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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445616A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for upgrading terminal equipment from multiple systems to single system
CN106445616B (en) * 2016-10-12 2020-02-11 北京元心科技有限公司 Method and device for upgrading terminal equipment from multiple systems to single system
CN108062261A (en) * 2016-11-09 2018-05-22 中标软件有限公司 A kind of method of the backup and reduction of Linux desktop operating systems
CN108062261B (en) * 2016-11-09 2021-11-19 中标软件有限公司 Backup restoration method for Linux desktop operating system
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform

Similar Documents

Publication Publication Date Title
CN103970585B (en) Create the method and device of virtual machine
CN102999369B (en) The method and device of virtual machine upgrading
CN106201613B (en) Pre-heated software installation
CN102707990B (en) Container based processing method and device
KR101556435B1 (en) Database backing-up and recovering method and device
US9377964B2 (en) Systems and methods for improving snapshot performance
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
US9128881B2 (en) Recovery for long running multithreaded processes
US20120311279A1 (en) Data recovery and backup system and process
US20170109057A1 (en) System and Method for Reversibly and Transparently Increasing the Disk Storage Capacity of Desktop Microsoft Windows Operating Systems, Including Free Disk Space and Total Disk Capacity Projection at an Operator Customizable Compression Ratio
EP3008600A2 (en) Virtual machine backup from storage snapshot
CN105138431A (en) Linux system back-up and restoring method
CN104636217A (en) Root file system automatic backup and exception recovery method and partition structure
US10102083B1 (en) Method and system for managing metadata records of backups
CN102163167A (en) Method and device for rescuing system
CN103455387A (en) Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN105183516A (en) Method for automatically installing RAID card FW and KUX operating system
WO2015112094A2 (en) Method of file system design and failure recovery with non-volatile memory
CN101673230A (en) Method for automatically backing up and recovering configuration data of embedded system by using a U-disk
CN104182301A (en) Backup method and restore method for Kylin operating system
CN105511854A (en) Application fallback method and terminal equipment
CN111666266A (en) Data migration method and related equipment
CN105306581A (en) Router and cloud disk based data synchronization method
CN107179934B (en) Method and system for automatically restoring virtual machine in cloud computing environment
CN105045627A (en) Method for realizing online update of network card configuration file by server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141203

WD01 Invention patent application deemed withdrawn after publication