CN105912426A - K-UX operating system reduction method and system - Google Patents

K-UX operating system reduction method and system Download PDF

Info

Publication number
CN105912426A
CN105912426A CN201610274238.2A CN201610274238A CN105912426A CN 105912426 A CN105912426 A CN 105912426A CN 201610274238 A CN201610274238 A CN 201610274238A CN 105912426 A CN105912426 A CN 105912426A
Authority
CN
China
Prior art keywords
operating system
magnetic tape
tape controller
backup file
recovery
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
CN201610274238.2A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610274238.2A priority Critical patent/CN105912426A/en
Publication of CN105912426A publication Critical patent/CN105912426A/en
Pending legal-status Critical Current

Links

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/1415Saving, restoring, recovering or retrying at system level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a K-UX operating system reduction method and system. The K-UX operating system is subjected to compression backup to obtain a compression backup file, the compression backup file is written into a magnetic tape station, the compression backup file of the magnetic tape station is used for recovering the K-UX operating system, the magnetic tape station is used for backing up the K-UX operating system, the K-UX operating system is convenient in remote backup, and a backup method is simple and efficient.

Description

A kind of K-UX operating system reduction method and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of K-UX operating system reduction method with System.
Background technology
K-UX operating system is domestic first item, world's fifth item unix by unix03 standard authentication Operating system, possesses the feature of compatibility reliable and stable, extensive, it is possible to monitoring processes 120 kinds of faults automatically, And complete country's three grades of certifications of operating system hierarchical protection.
The purpose of " system reducing " is to reinstall operating system need not, and also will not destroy data literary composition System is made to return to duty on the premise of part.Compare hardware-oriented general under Windows operating system System transfer (General Hardware Oriented System Transfer is called for short Ghost), K-UX Lower method for restoring system backup or a piece of blind area, be badly in need of the method for reducing of a kind of K-UX system.
Summary of the invention
In view of this, present invention is primarily targeted at a kind of K-UX operating system reduction method of offer with System, can simply and efficiently carry out the backup and reduction of K-UX operating system.
For achieving the above object, the invention provides a kind of K-UX operating system reduction method, including:
K-UX operating system is compressed backup, obtains compress backup file;
Described compress backup file is write magnetic tape controller;
The described compress backup file using described magnetic tape controller carries out K-UX operating system recovery.
Preferably, the described compress backup file of the described magnetic tape controller of described use carries out K-UX operating system Recovery includes:
Boot disk is used to start described K-UX operating system;
Catalogue is recovered by described K-UX operating system needing the hard disk recovered be mounted to;
Copy the described compress backup file in described magnetic tape controller to described recovery catalogue;
Decompress K-UX operating system described in described compress backup file access pattern;
Create the file directory being not backed up.
Preferably, the described compress backup file using described magnetic tape controller carries out K-UX operating system recovery After also include:
Carry out the checking of described K-UX operating system recovery result.
Under Europe, described magnetic tape controller is LT05 magnetic tape controller.
Present invention also offers a kind of K-UX operating system reduction system, including:
Compress backup module, for K-UX operating system is compressed backup, obtains compress backup literary composition Part;
Magnetic tape controller backup module, for writing magnetic tape controller by described compress backup file;
System recovery module, for using the described compress backup file of described magnetic tape controller to carry out K-UX behaviour Make system recovery.
Preferably, described system recovery module includes:
System start-up submodule, is used for using boot disk to start described K-UX operating system;
Carry submodule, for needing the hard disk recovered to be mounted to recover in described K-UX operating system Catalogue;
Backup submodule, for copying the described compress backup file in described magnetic tape controller to described recovery mesh Record;
System recovery submodule, is used for decompressing K-UX operating system described in described compress backup file access pattern;
It is not backed up directory creating submodule, for creating the file directory being not backed up.
Preferably, described a kind of K-UX operating system reduction system also includes:
Restoration result authentication module, for carrying out the checking of described K-UX operating system recovery result.
Preferably, described magnetic tape controller is LT05 magnetic tape controller.
A kind of K-UX operating system reduction method of application present invention offer and system, operate K-UX System is compressed backup, obtains compress backup file, and described compress backup file is write magnetic tape controller, The described compress backup file using described magnetic tape controller carries out K-UX operating system recovery, uses magnetic tape controller Carrying out the backup of K-UX operating system, magnetic tape controller facilitates remote backup, and backup method is the most efficient.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the flow chart of the present invention a kind of K-UX operating system reduction method embodiment;
Fig. 2 is the principle schematic of the present invention a kind of K-UX operating system reduction method embodiment;
Fig. 3 is the structural representation of the present invention a kind of K-UX operating system reduction system embodiment.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
The invention provides a kind of K-UX operating system reduction method, Fig. 1 shows K-UX of the present invention The flow chart of operating system reduction method embodiment, including:
Step S101: K-UX operating system is compressed backup, obtains compress backup file;
Utilize tar order by operating system packing backup under K-UX, obtain compress backup file, can make By-exclude parameter, remove the file without backup and catalogue, such as/proc ,/sys ,/mnt etc..
Step S102: described compress backup file is write magnetic tape controller;
Using tar order that backup file is written to LTO5 magnetic tape controller, tvf parameter can be listed in magnetic tape controller Hold, verify whether to write successfully.
Step S103: use the described compress backup file of described magnetic tape controller to carry out K-UX operating system extensive Multiple.
Specifically comprise the steps that use boot disk starts described K-UX operating system, as operated by K-UX System is arranged on the USB flash disk of a more than 8G, reboot operation system to efi, after entering USB flash disk catalogue, It is booted up K-UX operating system from USB flash disk, after operating system successfully starts up, uses df to check subregion feelings Condition, can decide whether the operating system being to start from USB flash disk according to df display information;
Catalogue is recovered, as used fdisk by described K-UX operating system needing the hard disk recovered be mounted to Disc information is checked in order, finds origin operation system root partition, such as/dev/md2, and uses mount order Being mounted to file system, such as/mnt catalogue, df checks carry situation;
Copy the described compress backup file in described magnetic tape controller to described recovery catalogue, as utilized tar order + tvf parameter, lists magnetic tape controller content, finds backup medium, uses xvf parameter to be arrived by backup file copy / mnt catalogue;
Decompress K-UX operating system described in described compress backup file access pattern, decompression backup file, cover Original file;
Create the file directory that is not backed up, create the file being not backed up, as/proc ,/sys ,/mnt etc. not The file of backup, main file authority front and back is the most consistent, if inconsistent, revises new folder Authority;
The described compress backup file using described magnetic tape controller also can enter after carrying out K-UX operating system recovery The checking of the described K-UX operating system recovery result of row, after shutoff operation system, takes off USB flash disk, from firmly Disk startup operating system.Checking that can operating system normally start, state is the most normal, checks data base The most normal etc. state.
Fig. 2 is the principle schematic of the present embodiment.
A kind of K-UX operating system reduction method that application the present embodiment provides, to K-UX operating system It is compressed backup, obtains compress backup file, described compress backup file is write magnetic tape controller, use The described compress backup file of described magnetic tape controller carries out K-UX operating system recovery, uses magnetic tape controller to carry out The backup of K-UX operating system, magnetic tape controller facilitates remote backup, and backup method is the most efficient.
Present invention also offers a kind of K-UX operating system reduction system, Fig. 3 shows that the present invention is a kind of The structural representation of K-UX operating system reduction system, including:
Compress backup module 101, for K-UX operating system is compressed backup, obtains compress backup File;
Magnetic tape controller backup module 102, for writing magnetic tape controller by described compress backup file;
System recovery module 103, for using the described compress backup file of described magnetic tape controller to carry out K-UX Operating system recovery.
System recovery module described in the present embodiment 103 comprises the steps that
System start-up submodule, is used for using boot disk to start described K-UX operating system;
Carry submodule, for needing the hard disk recovered to be mounted to recover in described K-UX operating system Catalogue;
Backup submodule, for copying the described compress backup file in described magnetic tape controller to described recovery mesh Record;
System recovery submodule, is used for decompressing K-UX operating system described in described compress backup file access pattern;
It is not backed up directory creating submodule, for creating the file directory being not backed up.
May also include that
Restoration result authentication module, for carrying out the checking of described K-UX operating system recovery result.
A kind of K-UX operating system reduction system that application the present embodiment provides, to K-UX operating system It is compressed backup, obtains compress backup file, described compress backup file is write magnetic tape controller, use The described compress backup file of described magnetic tape controller carries out K-UX operating system recovery, uses magnetic tape controller to carry out The backup of K-UX operating system, magnetic tape controller facilitates remote backup, and backup method is the most efficient.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each What embodiment stressed is all the difference with other embodiments, identical similar between each embodiment Part see mutually.
Finally, in addition it is also necessary to explanation, in this article, term " include ", " comprising " or its Any other variant is intended to comprising of nonexcludability, so that include the mistake of a series of key element Journey, method, article or equipment not only include those key elements, but also include being not expressly set out Other key elements, or also include want intrinsic for this process, method, article or equipment Element.In the case of there is no more restriction, statement " including ... " key element limited, and Be not precluded within include the process of described key element, method, article or equipment there is also other identical Key element.
Above method and system provided by the present invention is described in detail, used herein specifically Principle and the embodiment of the present invention are set forth by individual example, and the explanation of above example is only intended to side Assistant solves method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, depend on According to the thought of the present invention, the most all will change, in sum, This specification content should not be construed as limitation of the present invention.

Claims (8)

1. a K-UX operating system reduction method, it is characterised in that including:
K-UX operating system is compressed backup, obtains compress backup file;
Described compress backup file is write magnetic tape controller;
The described compress backup file using described magnetic tape controller carries out K-UX operating system recovery.
A kind of K-UX operating system reduction method the most according to claim 1, it is characterised in that The described compress backup file of the described magnetic tape controller of described use carries out K-UX operating system recovery and includes:
Boot disk is used to start described K-UX operating system;
Catalogue is recovered by described K-UX operating system needing the hard disk recovered be mounted to;
Copy the described compress backup file in described magnetic tape controller to described recovery catalogue;
Decompress K-UX operating system described in described compress backup file access pattern;
Create the file directory being not backed up.
A kind of K-UX operating system reduction method the most according to claim 1, it is characterised in that The described compress backup file using described magnetic tape controller also includes after carrying out K-UX operating system recovery:
Carry out the checking of described K-UX operating system recovery result.
4., according to a kind of K-UX operating system reduction method described in any one of claims 1 to 3, it is special Levying and be, described magnetic tape controller is LT05 magnetic tape controller.
5. a K-UX operating system reduction system, it is characterised in that including:
Compress backup module, for K-UX operating system is compressed backup, obtains compress backup literary composition Part;
Magnetic tape controller backup module, for writing magnetic tape controller by described compress backup file;
System recovery module, for using the described compress backup file of described magnetic tape controller to carry out K-UX behaviour Make system recovery.
A kind of K-UX operating system reduction system the most according to claim 5, it is characterised in that Described system recovery module includes:
System start-up submodule, is used for using boot disk to start described K-UX operating system;
Carry submodule, for needing the hard disk recovered to be mounted to recover in described K-UX operating system Catalogue;
Backup submodule, for copying the described compress backup file in described magnetic tape controller to described recovery mesh Record;
System recovery submodule, is used for decompressing K-UX operating system described in described compress backup file access pattern;
It is not backed up directory creating submodule, for creating the file directory being not backed up.
A kind of K-UX operating system reduction system the most according to claim 5, it is characterised in that Also include:
Restoration result authentication module, for carrying out the checking of described K-UX operating system recovery result.
8., according to a kind of K-UX operating system reduction system described in any one of claim 5~7, it is special Levying and be, described magnetic tape controller is LT05 magnetic tape controller.
CN201610274238.2A 2016-04-28 2016-04-28 K-UX operating system reduction method and system Pending CN105912426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610274238.2A CN105912426A (en) 2016-04-28 2016-04-28 K-UX operating system reduction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610274238.2A CN105912426A (en) 2016-04-28 2016-04-28 K-UX operating system reduction method and system

Publications (1)

Publication Number Publication Date
CN105912426A true CN105912426A (en) 2016-08-31

Family

ID=56753111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610274238.2A Pending CN105912426A (en) 2016-04-28 2016-04-28 K-UX operating system reduction method and system

Country Status (1)

Country Link
CN (1) CN105912426A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357684A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of kernel failure method for restarting and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014034A (en) * 2006-12-31 2007-08-08 武汉蓝星科技股份有限公司 U disk server-based cluster solving method
CN101183324A (en) * 2007-12-10 2008-05-21 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN102262543A (en) * 2010-05-25 2011-11-30 上海中标软件有限公司 Power-failure resistant method for starting Linux system
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore
CN105138431A (en) * 2015-08-27 2015-12-09 厦门市美亚柏科信息股份有限公司 Linux system back-up and restoring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014034A (en) * 2006-12-31 2007-08-08 武汉蓝星科技股份有限公司 U disk server-based cluster solving method
CN101183324A (en) * 2007-12-10 2008-05-21 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN102262543A (en) * 2010-05-25 2011-11-30 上海中标软件有限公司 Power-failure resistant method for starting Linux system
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore
CN105138431A (en) * 2015-08-27 2015-12-09 厦门市美亚柏科信息股份有限公司 Linux system back-up and restoring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357684A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of kernel failure method for restarting and device

Similar Documents

Publication Publication Date Title
AU2012347883B2 (en) System and method for restoring application data
US8281093B1 (en) Systems and methods for creating consolidated backups of snapshot hierarchies
US20080155216A1 (en) Protection and Recovery System for Automatic Disk Recovery
US7694169B2 (en) Restoring a client device
US20070043973A1 (en) Isolating and storing configuration data for disaster recovery for operating systems providing physical storage recovery
CN107066357A (en) A kind of database synthetic backup and carry restoration methods
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
US20070294566A1 (en) Restoring Computing Devices Using Network Boot
US20060294421A1 (en) Isolating and storing configuration data for disaster recovery
US20100037092A1 (en) System and method for backup, reboot, and recovery
US20060200639A1 (en) System and method for computer backup and recovery using incremental file-based updates applied to an image of a storage device
CN102346697A (en) Method and system for backing up and recovering Android package (APK) and mobile terminal
CN101408856A (en) System and method for tolerance disaster backup(disaster-tolerant backup)
CN107533495B (en) Techniques for data backup and recovery
CN104636375A (en) Method and device for automatically backing up application data and restoring application data according to needs
CN104461773A (en) Backup deduplication method of virtual machine
US7124322B1 (en) System and method for disaster recovery for a computer network
CN101667178B (en) Transaction processing method used for C/S architecture file management system
US10613923B2 (en) Recovering log-structured filesystems from physical replicas
CN109697139A (en) A kind of Database Automatic Backup method based on MongoDB, equipment and storage equipment
US20070043969A1 (en) Isolating and storing configuration data for disaster recovery for operating systems providing physical storage recovery
JP4914035B2 (en) Computer and save / restore program
US7506198B2 (en) Protection and recovery system and automatic hard disk drive (HDD) instant recovery
CN105912426A (en) K-UX operating system reduction method and system
US10514988B2 (en) Method and system of migrating applications to a cloud-computing environment

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: 20160831

WD01 Invention patent application deemed withdrawn after publication