KR20050021736A - Method for backup and restorating computer system, and the recording medium wihich records the program for the backup and restoratin - Google Patents

Method for backup and restorating computer system, and the recording medium wihich records the program for the backup and restoratin Download PDF

Info

Publication number
KR20050021736A
KR20050021736A KR1020030058897A KR20030058897A KR20050021736A KR 20050021736 A KR20050021736 A KR 20050021736A KR 1020030058897 A KR1020030058897 A KR 1020030058897A KR 20030058897 A KR20030058897 A KR 20030058897A KR 20050021736 A KR20050021736 A KR 20050021736A
Authority
KR
South Korea
Prior art keywords
backup
program
booting
boot
backing
Prior art date
Application number
KR1020030058897A
Other languages
Korean (ko)
Other versions
KR100545689B1 (en
Inventor
남승리
Original Assignee
남승리
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 남승리 filed Critical 남승리
Priority to KR1020030058897A priority Critical patent/KR100545689B1/en
Publication of KR20050021736A publication Critical patent/KR20050021736A/en
Application granted granted Critical
Publication of KR100545689B1 publication Critical patent/KR100545689B1/en

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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/076Error or fault detection not based on redundancy by exceeding limits by exceeding a count or rate limit, e.g. word- or bit count limit
    • 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
    • G06F11/1417Boot up procedures

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)
  • Storage Device Security (AREA)

Abstract

PURPOSE: A method for backup/recovery of an OS(Operating System) and data on a computer system and a recording medium recording a program thereof are provided to safely perform the backup of the OS and various kinds of data, and safely/conveniently recover the original OS by using the program embedded in the system during a system booting process. CONSTITUTION: A system booting trial number is detected. If the system booting trial number is over a predetermined number, system recovery is performed by automatically executing a recovery program(S502). If not, command input of a user is waited(S503). If the user wants to execute a backup program, system backup is performed by executing the backup program(S505). If the user wants system booting, the system booting is performed(S506). Checking normal operation of the OS after completing the system booting, the system is rebooted if the OS is abnormally operated(S509). If the OS is normally operated, the system booting trial number is reset(S510).

Description

컴퓨터 시스템의 백업 및 복원 방법 그리고 그 프로그램을 기록한 기록매체{Method for backup and restorating computer system, and the recording medium wihich records the program for the backup and restoratin} Method for backup and restorating computer system, and the recording medium wihich records the program for the backup and restoratin}

본 발명은 컴퓨터 시스템의 자동 백업 및 복원 방법에 관한 것으로서, 특히 컴퓨터 시스템의 운영체제 및 데이터를 자동적으로 백업(backup)하고, 시스템을 부팅하는 과정에서 사용자의 선택 또는 외부 명령이나 자체적인 알고리즘을 이용하여 시스템을 자동으로 복원하는데 적당한 컴퓨터 시스템의 자동 백업 및 복원 방법 그리고 그 프로그램을 기록한 기록매체에 관한 것이다.The present invention relates to a method for automatically backing up and restoring a computer system, and more particularly, to automatically backing up an operating system and data of a computer system and using a user's selection or an external command or its own algorithm in the process of booting the system. An automatic backup and restoration method of a computer system suitable for automatically restoring a system, and a recording medium recording the program.

정보화 사회로의 변화와 맞물려 컴퓨터 기술의 발전은 인간의 삶에 혁신적인 변화를 가져오고 있으며, 이제는 사무실은 물론, 일반 가정에서 생활의 필수품으로 인식될 정도로 컴퓨터의 보급은 날로 증가하는 추세에 있다.The development of computer technology, coupled with the change to the information society, is bringing innovative changes in human life, and the spread of computers is increasing day by day so that it is recognized as a necessity of life in offices and homes.

이러한 컴퓨터는 OS(Operating System)라고 불리는 운영체제에 의해 컴퓨터 시스템의 자원 관리 및 할당, 응용프로그램의 실행을 관장하여 사용자로 하여금 컴퓨터를 사용할 수 있는 환경을 만들어줄 뿐만 아니라 다양한 어플리케이션(application) 및 정보들이 저장된다.Such a computer manages resource management, allocation and execution of applications of a computer system by an operating system called an operating system (OS), which not only creates an environment in which a user can use the computer, but also provides various applications and information. Stored.

따라서 일반 사용자들은 윈도우즈(Windows), 리눅스(Linux) 등과 같은 운영체제가 설치된 컴퓨터를 이용하여 다양한 작업을 수행하게 되는데, 만일 상기의 운영체제가 사용자의 실수나 바이러스 혹은 주변기기간의 정보충돌 등에 기인하여 파괴될 경우 더 이상 컴퓨터를 사용할 수 없기 때문에 파괴된 운영체제를 안전하게 복구하는 것이 매우 중요하다고 할 수 있다.Therefore, general users perform various tasks using a computer with an operating system such as Windows or Linux. If the operating system is destroyed due to a user's mistake, a virus, or information collision between peripheral devices, etc. Since the computer is no longer available, it is very important to recover the corrupted operating system safely.

일반적으로, 윈도우즈, 리눅스 등이 설치된 컴퓨터의 파일은 FAT(File Allocation Table), NTFS(NT File System), EXT2/3 등 다양한 파일시스템으로 구성되며, 운영체제가 파괴되었다 함은 상기 운영체제를 구성하고 있는 파일 및 파일 시스템이 파괴되었음을 의미하고, 파괴된 운영체제의 복원이라 함은 상기 파괴된 파일 및 파일 시스템을 복원하여 컴퓨터를 사용할 수 있는 환경으로 복구하는 것을 의미한다.In general, a file of a computer installed with Windows, Linux, etc. is composed of various file systems such as FAT (File Allocation Table), NTFS (NT File System), EXT2 / 3, and the fact that the operating system is destroyed constitutes the operating system. The file and the file system are destroyed, and the restoration of the destroyed operating system means the restoration of the destroyed file and the file system to an environment where the computer can be used.

실제로, 운영체제의 복원은 사용자가 만일을 대비해서 파일을 플로피 디스크, CD-ROM 및 기타 하드웨어 장치에 백업하여 저장해 두었다가 시스템에 문제가 발생하면 저장해둔 백업파일을 읽어 들여 복구하는 방법을 채택하고 있다.In fact, restoring the operating system allows users to back up their files on floppy disks, CD-ROMs and other hardware devices in case they need to, and then read and restore the backed up files in case of system problems.

그러나 상기와 같은 방법은 백업 및 복원을 위한 프로그램을 위해 플로피 디스크, CD-ROM 및 기타 하드웨어 장치와 같은 추가적인 미디어를 필요로 하고, 따라서 시스템이 파괴된 상태에서 상기 프로그램이 백업된 미디어를 분실한 경우 또는 상기 미디어가 파괴된 경우에는 컴퓨터 시스템의 즉각적인 복원이 불가한 문제점이 있었다.However, such a method requires additional media such as floppy disks, CD-ROMs and other hardware devices for the program for backup and restore, so that the program loses backed up media in the event of a system crash. Or, if the media is destroyed, there is a problem that immediate restoration of the computer system is impossible.

본 발명은 상기의 문제점을 해결하기 위해 안출한 것으로서, 운영체제 및 각종 데이터를 안전하게 백업할 수 있으며, 시스템을 부팅하는 과정에서 시스템에 내장된 프로그램을 이용하여 원래의 운영체제로 안전하고 편리하게 복원이 가능한 컴퓨터 시스템의 백업 및 복원 방법을 제공하는데 그 목적이 있다. The present invention has been made to solve the above problems, it is possible to safely back up the operating system and various data, and can be safely and conveniently restored to the original operating system using a program embedded in the system during the system booting process It is an object of the present invention to provide a method for backing up and restoring a computer system.

본 발명의 다른 목적은 상기 컴퓨터 시스템의 백업 및 복원 방법을 기록한 컴퓨터로 읽어 들일 수 있는 기록매체를 제공하는데 있다.Another object of the present invention is to provide a recording medium that can be read by a computer that records the backup and restore method of the computer system.

상기의 목적을 달성하기 위한 본 발명의 컴퓨터 시스템의 백업 및 복원 방법은 컴퓨터 시스템을 백업하고 복원하는 방법에 있어서, 상기 컴퓨터 시스템의 백업 및 복원을 위한 프로그램을 하드디스크의 부팅미디어에 내장시키고, 상기 부팅미디어의 부팅 순서를 수정 및 변경하여 상기 컴퓨터 시스템을 부팅하는 과정에서 상기 부팅미디어를 통해 선택적으로 백업 및 복원 프로그램을 실행하여 컴퓨터 시스템을 백업 또는 복원하는 것을 특징으로 한다.In the method for backing up and restoring a computer system of the present invention for achieving the above object, in the method for backing up and restoring a computer system, a program for backing up and restoring the computer system is embedded in a booting medium of a hard disk, In the process of booting the computer system by modifying and changing the booting order of booting media, the computer system may be backed up or restored by selectively executing a backup and restore program through the booting media.

여기서, 상기 백업 및 복원을 위한 프로그램의 실행은 시스템의 마스터 부트 레코드(MBR)를 수정하거나, BIOS를 수정하여 그 실행 시점을 결정하는 것이 바람직하다.In this case, the execution of the program for the backup and restore is preferably to modify the master boot record (MBR) of the system, or to modify the BIOS to determine the execution time.

또한, 상기 백업 및 복원을 위한 프로그램은 BIOS에 내장하는 것이 바람직하며, 상기 컴퓨터 시스템의 부팅시 상기 백업 및 복원 프로그램이 BIOS에 의해서 호출될 수 있는 별도의 하드웨어 장치에 내장하는 것이 가능하다.In addition, the program for the backup and restore is preferably embedded in the BIOS, it is possible to be embedded in a separate hardware device that can be called by the BIOS at the time of booting the computer system.

또한, 상기 시스템을 백업할 때, 부팅에 필요한 마스터 부트 레코드(MBR) 및 각 드라이브의 파티션 테이블을 백업해 두는 것이 바람직하며, 이는 바이러스 등에 의해서 상기 MBR, 파티션 테이블이 파괴되더라도 상기 MBR 및 파티션 테이블만 복원함으로써 손쉽게 원래의 상태로 복원할 수 있도록 하기 위함이다.In addition, when backing up the system, it is preferable to back up the master boot record (MBR) required for booting and the partition table of each drive, which is only the MBR and the partition table even if the MBR and the partition table are destroyed by a virus or the like. This is to restore the original state easily by restoring.

또한, 상기 시스템을 백업할 때, 파티션에서 현재 사용중에 있는 섹터만을 백업함으로써 백업 및 복원이 쉽고, 상기 백업한 섹터를 압축 및 암호화함으로써 중요한 정보를 안전하게 백업이 가능하다.In addition, when backing up the system, it is easy to back up and restore by backing up only the sectors currently in use in the partition, and securely back up important information by compressing and encrypting the backed up sectors.

한편, 본 발명의 컴퓨터 시스템의 백업 및 복원 방법은 보다 자세하게는, 시스템 부팅 시도 횟수를 검출하는 단계와, 상기 시스템 부팅 시도 횟수가 소정 횟수 이상이면 자동적으로 복원 프로그램을 실행하여 시스템 복원을 수행하고, 상기 시스템 부팅 시도 횟수가 소정 횟수 이하이면 사용자의 명령 입력을 기다리는 단계와, 상기 사용자가 백업 프로그램의 실행을 희망하면 백업 프로그램을 실행하여 시스템의 백업을 수행하고, 사용자가 시스템 부팅을 희망하면 시스템 부팅을 수행하는 단계와, 시스템 부팅이 완료된 후 운영체제가 정상적으로 동작하는지를 체크하여 비정상적이면 시스템을 재부팅하고, 정상적이면 상기 시스템 부팅 시도 횟수를 리셋시키는 단계를 포함하여 이루어지는 것을 특징으로 한다.On the other hand, the backup and restore method of the computer system of the present invention in more detail, detecting the number of system boot attempts, and if the system boot attempts is a predetermined number or more automatically executes a restore program to perform a system restore, Waiting for a user's command input when the number of system boot attempts is less than or equal to a predetermined number of times; if the user desires to execute a backup program, executes a backup program to perform a backup of the system; And checking whether the operating system is operating normally after the system booting is completed, and rebooting the system if abnormal, and resetting the number of attempts to boot the system normally.

이때, 상기 시스템의 백업은, 사용자에 의해 백업하고자 하는 파티션 및 백업된 파일을 저장할 파일이 선택되면 상기 선택된 파티션에서 현재 사용중에 있는 섹터만을 추출한 후, 상기 추출된 섹터를 압축 및 암호화하여 상기에서 선택된 파일에 저장한다.At this time, the backup of the system, if a partition to be backed up by the user and a file to store the backup file is selected, extracts only the sector currently in use in the selected partition, and then compress and encrypt the extracted sector is selected above Save to file

또한, 상기 시스템의 복원은 사용자에 의해 복원하고자 하는 파일 및 선택된 파일로부터 복원하고자 하는 파티션이 선택되면 상기 선택된 파일로부터 암호화된 섹터를 리드한 후, 상기 암호화된 섹터를 복호화하고 압축을 해제하여 백업전에 있었던 위치에 기록한다.In addition, when the file to be restored by the user and the partition to be restored from the selected file are selected by the user, the encrypted sector is read from the selected file, and then the encrypted sector is decrypted and decompressed before backup. Record where it was.

한편, 본 발명의 컴퓨터 시스템의 백업 및 복원을 위한 프로그램을 기록한 기록매체는, 시스템 부팅 시도 횟수를 검출하는 단계와, 상기 시스템 부팅 시도 횟수가 소정 횟수 이상이면 자동적으로 복원 프로그램을 실행하여 시스템 복원을 수행하고, 상기 시스템 부팅 시도 횟수가 소정 횟수 이하이면 사용자의 명령 입력을 기다리는 단계와, 상기 사용자가 백업 프로그램의 실행을 희망하면 백업 프로그램을 실행하여 시스템의 백업을 수행하고, 사용자가 시스템 부팅을 희망하면 시스템 부팅을 수행하는 단계와, 시스템 부팅이 완료된 후 운영체제가 정상적으로 동작하는지를 체크하여 비정상적이면 시스템을 재부팅하고, 정상적이면 상기 시스템 부팅 시도 횟수를 리셋시키는 단계로 이루어지는 컴퓨터 시스템의 백업 및 복원을 위한 프로그램이 기록되는 것을 특징으로 한다.On the other hand, the recording medium recording the program for the backup and restore of the computer system of the present invention, the step of detecting the number of system boot attempts, and if the system boot attempts is a predetermined number or more automatically executes a restore program to restore the system Performing a user's command input when the number of system boot attempts is less than or equal to a predetermined number of times; and if the user desires to execute a backup program, executes a backup program to perform a backup of the system, and the user desires to boot the system The program for backing up and restoring a computer system comprising the steps of performing a system boot, checking whether the operating system is operating normally after the system booting is completed, rebooting the system if abnormal, and resetting the number of system boot attempts normally. This record And that is characterized.

[실시예]EXAMPLE

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따른 컴퓨터 시스템의 백업 및 복원 방법 그리고 그 프로그램을 기록한 기록매체에 대해 설명하기로 한다.Hereinafter, a method of backing up and restoring a computer system and a recording medium having recorded thereon a program will be described with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위한 개념도이다.1 is a conceptual diagram illustrating a backup and restore method of a computer system according to an exemplary embodiment of the present invention.

도 1에 도시한 바와 같이, 본 발명은 윈도우즈(Windows)와 같은 운영체가 정상적으로 동작할 때, BIOS와 같은 부팅 미디어, 하드디스크 또는 별도의 하드웨어 장치에 내장된 백업 및 복원 프로그램을 이용하여 상기 운영체제 및 각종 사용자 데이터를 하드디스크나 사용자 드라이브 또는 상기 하드웨어 장치에 백업한다.As shown in FIG. 1, when the operating system such as Windows operates normally, the present invention utilizes a backup and restore program built in a boot media such as BIOS, a hard disk, or a separate hardware device. Various user data is backed up to a hard disk, a user drive, or the hardware device.

이와 같이, 운영체제 및 각종 데이터를 백업해 놓은 상태에서 사용자의 조작 실수, 바이러스 등에 의해서 상기 운영체제가 파괴되어 더 이상 컴퓨터를 사용할 수가 없게 될 경우, 도면에 도시된 하드디스크나 사용자 드라이브(일예로, E 드라이브)에 내장된 백업된 파일 또는 하드웨어 장치에 백업된 파일을 불러와서 손상된 운영체제를 정상적으로 복원한다.In this way, when the operating system and various data are backed up and the operating system is destroyed due to a user's mistake, a virus, or the like, and the computer is no longer available, the hard disk or user drive shown in the drawing (for example, E Restore the damaged operating system by loading the backed up files in the drive) or backed up files on the hardware device.

이때, 상기 운영체제 및 사용자 데이터를 백업할 때는 부팅에 필요한 MBR(Master Boot Record) 및 각 드라이버의 파티션 테이블(Partition Table)을 백업해 두었다가 바이러스 등으로 인하여 상기 MBR이나 파티션 테이블이 파괴되었을 경우, 상기 MBR 및 파티션 테이블만 복원함으로써, 시스템의 손쉬운 복원이 가능하도록 한다.In this case, when backing up the operating system and user data, the MBR (Master Boot Record) required for booting and the partition table of each driver are backed up, and when the MBR or partition table is destroyed due to a virus, the MBR Only by restoring the partition table, the system can be easily restored.

또한, 상기 운영체제 및 각종 데이터의 백업은 FAT12, FAT16, FAT32, NTFS, Ext2, Ext3, LeiserFS 등의 파일시스템으로 구성된 운영체제 드라이브를 FAT12, FAT16, FAT32, NTFS, CDFS 파일 형태로 저장하는 것이 바람직하다. In addition, the backup of the operating system and various data is preferably stored in the FAT12, FAT16, FAT32, NTFS, CDFS file format operating system drive consisting of a file system such as FAT12, FAT16, FAT32, NTFS, Ext2, Ext3, LeiserFS.

상기 백업 및 복원 프로그램은 앞에서도 잠시 언급한 바와 같이, BIOS와 같은 부팅 미디어 또는 하드디스크에 내장하거나 별도의 하드웨어 장치에 내장하며, 상기 백업 및 복원 프로그램이 부팅 미디어나 하드디스크에 내장된 경우에는 BIOS를 수정하거나, 마스터 부트 레코드(MBR: Master Boot Record)를 수정함으로써 시스템 부팅시에 선택적으로 상기 백업 및 복원 프로그램을 실행한다.As mentioned above, the backup and restore program may be embedded in a bootable medium or hard disk, such as a BIOS, or may be embedded in a separate hardware device. Or selectively execute the backup and restore program at system boot time by modifying the Master Boot Record (MBR).

상기 하드웨어 장치는 컴퓨터 부팅시 BIOS에 의해서 백업 및 복원 프로그램이 호출될 수 있는 장치로서, 백업 및 복원 프로그램을 상기 하드웨어 장치에 내장하여 사용할 경우, 상기 부팅 미디어의 MBR마저도 파괴된 경우에도 손쉽게 복원이 가능하다.The hardware device is a device in which a backup and restore program can be called by the BIOS when the computer is booted. When the backup and restore program is built in the hardware device, the hardware device can be easily restored even when the MBR of the boot media is destroyed. Do.

참고로, 도면에 도시된 윈도우즈, 파일 이름, 드라이브 등은 본 발명의 일예를 설명하기 위한 것으로서, 운영체제 및 사용자의 환경에 따라 변경될 수 있음은 자명하다.For reference, windows, file names, drives, and the like shown in the drawings are provided to describe an example of the present invention, and may be changed according to an environment of an operating system and a user.

한편, 도 2는 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위해서 도식화한 백업 및 복원 시스템(100)의 구성블록도로서, 운영체제 및 각종 사용자 데이터 등 백업할 데이터가 저장된 제 1 저장부(21) 및 백업된 데이터를 저장하는 제 2 저장부(21a)와, 백업할 파티션의 선택 및 백업된 파티션을 저장할 파일을 선택하고, 복원할 파티션의 선택 및 복원된 파티션을 저장할 파일을 선택하는 파티션 및 파일 선택부(23)와, 시스템 백업시에 상기 파티션 및 파일 선택부(23)에서 선택된 백업할 파티션에서 현재 사용중에 있는 섹터를 추출하는 섹터 추출부(25)와, 상기 섹터 추출부에서 추출된 섹터를 압축 및 암호화하는 압축 및 암호화부(27)와, 시스템 복원시 상기 파티션 및 파일 선택부에서 선택된 복원될 파티션에 존재했던 압축 및 암호화된 섹터를 불러와서 복호화하고 압축을 해제하는 복호화 및 압축해제부(29)를 포함하여 구성된다.FIG. 2 is a block diagram illustrating a backup and restore system 100 schematically illustrated in order to explain a method of backing up and restoring a computer system of the present invention. 21) and a second storage unit 21a for storing the backed up data, a partition for selecting a partition to be backed up and a file for storing the backed up partition, a selection for a partition to be restored and a file for storing a restored partition. And a sector extraction unit 25 for extracting a sector currently in use from the partition to be backed up selected by the partition and file selection unit 23 at the time of system backup, and by the sector extraction unit. A compression and encryption unit 27 for compressing and encrypting the sectors, and a compressed and encrypted sector that existed in the partition to be restored selected by the partition and file selection unit at the time of system restoration. Going to come is decoded and comprises a decoding and decompression section 29 to decompress.

이때, 상기 백업 및 복원 프로그램은 상기 제 1 저장부(21)와 제 2 저장부(21a) 중 적어도 어느 한 곳에 내장되며, 별도의 하드웨어 장치에 내장될 수 있다.In this case, the backup and restore program may be embedded in at least one of the first storage unit 21 and the second storage unit 21a, and may be embedded in a separate hardware device.

이와 같은 본 발명에 따른 컴퓨터 시스템의 백업 및 복원 장치(100)는 먼저, 백업시에는 사용자의 지시에 따라 백업할 파티션과 백업된 파티션을 저장할 파일을 선택한다. 이에, 상기 섹터 추출부(25)는 상기에서 선택된 파티션에서 현재 사용중에 있는 섹터만을 추출한 후, 이를 압축 및 암호화부(27)로 전달하고, 상기 압축 및 암호화부(27)는 추출된 섹터를 압축하여 데이터량을 최소화한 후, 암호화를 통해서 보안을 강화한 다음, 상기에서 선택된 파일에 저장하는 일련의 과정을 통해 백업이 이루어진다.The apparatus 100 for backing up and restoring a computer system according to the present invention first selects a partition to be backed up and a file to store the backed up partition at the time of backup. Accordingly, the sector extractor 25 extracts only sectors currently in use in the partition selected above, and transfers the sectors to the compression and encryption unit 27, and the compression and encryption unit 27 compresses the extracted sectors. By minimizing the amount of data, the security is enhanced through encryption, and then backed up through a series of processes stored in the selected file.

그리고 백업된 데이터를 복원하는 경우에는 상기 사용자의 지시에 의해 백업된 파일과 선택된 파일로부터 복원할 파티션을 선택하면, 상기 압축해제 및 복호화부(29)는 압축 및 암호화된 섹터를 불러와서 압축을 해제하고 복호화하여 백업전의 상태로 복원한 후, 이를 원래의 파티션에 있던 위치에 저장하는 과정을 통해서 백업된 데이터의 복원이 이루어진다. In the case of restoring the backed up data, if the user selects the backed up file and the partition to be restored from the selected file, the decompression and decryption unit 29 decompresses the compressed and encrypted sectors by loading them. After restoring and restoring to the state before backup, the backup data is restored by storing the data in the original partition.

여기서, 상기 데이터의 백업 및 복원은 BIOS와 같은 부팅 미디어나 하드디스크에 저장되어 있는 백업 및 복원 프로그램 또는 시스템에 접속되어 있는 별도의 하드웨어 장치에 저장된 백업 및 복원 프로그램이 시스템 부팅시에 특정의 순간에 실행됨으로써, 백업 및 복원이 이루어지며, 상기 특정의 순간은 앞에서 잠시 언급한 BIOS의 수정, 마스터 부트 레코드(MBR: Master Boot Record)의 수정 및 하드웨어 장치의 추가를 통해서 결정된다.Here, the backup and restore of the data may be performed at a specific moment when the backup and restore program stored in a boot media such as a BIOS or a hard disk, or a backup and restore program stored in a separate hardware device connected to the system. By executing, backup and restoration are performed, and the specific moment is determined through modification of the BIOS, the modification of the Master Boot Record (MBR), and the addition of a hardware device.

실제로, 사용자에게 파일과 디렉토리 형태로 보이는 드라이브 구조는 도 3에 도시한 바와 같이, 하드디스크 상에서 각 드라이브의 정보를 저장하고 있는 슈퍼블록과, 각 드라이브에 존재하는 특정 섹터가 현재 사용중에 있는지를 표시하는 FAT와, 디렉토리 구조를 나타내는 디렉토리엔트리 및 복수의 파일들로 구성된다.Indeed, the drive structure, which appears to the user in the form of files and directories, shows the superblock that stores the information of each drive on the hard disk as shown in FIG. 3, and whether a particular sector in each drive is currently in use. FAT, a directory entry representing a directory structure, and a plurality of files.

따라서 각 드라이브에서 FAT를 분석해 보면 현재 사용중에 있는 섹터만을 추출해 낼 수 있고, 이렇게 추출한 섹터를 압축 및 암호화한 후, 이를 파일에 저장하는 과정이 드라이브를 백업하는 과정이며, 이런 상태에서 시스템의 운영체제가 파괴되어 더 이상 시스템 운영이 불가능한 상태에 이르게 되면, 상기 백업된 파일을 로부터 데이터 블록을 읽어 들인 다음, 압축 및 암호화되어 있는 섹터를 복호화 및 압축 해제하여 이를 하드디스크 상의 원래 있었던 위치에 기록함으로써 복원이 이루어진다.Therefore, if you analyze FAT on each drive, you can extract only the sectors that are currently in use. Compressing and encrypting these extracted sectors and saving them to a file is the process of backing up the drive. If it is destroyed and can no longer operate the system, the backup file can be read by reading data blocks from it, then decrypting and decompressing the compressed and encrypted sectors and writing them back to their original locations on the hard disk. Is done.

이하에서는 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 첨부된 플로우 챠트를 참조하여 구체적으로 설명하기로 한다.Hereinafter, a method of backing up and restoring a computer system of the present invention will be described in detail with reference to the accompanying flowchart.

본 발명에 따른 컴퓨터 시스템의 백업 및 복원은 기본적으로, 컴퓨터 시스템의 부팅 순서를 변경하거나 수정함으로써 가능하다. 즉, 컴퓨터 시스템의 마스터 부트 레코드(MBR)나 BIOS의 수정 및 변경을 통해 기본적인 부팅 순서를 수정하거나 변경하여 특정의 시점에서 백업 및 복원 프로그램을 실행시켜 백업을 수행하거나 복원을 수행한다.Backup and restore of the computer system according to the present invention is basically possible by changing or modifying the boot order of the computer system. That is, by modifying or changing the master boot record (MBR) of the computer system or the BIOS, the basic boot order is modified or changed to execute a backup or restore program at a specific point in time to perform a backup or restore.

이에, 도 4는 본 발명에 따른 컴퓨터 시스템의 부팅 과정을 설명하기 위한 순서도로서, 시스템에 전원이 인가되면(S401), 상기 시스템에 연결되어 있는 기본적인 하드웨어들을 테스트하는 단계(S402)를 수행한 후, 상기 하드웨어들의 테스트가 완료되면 시스템의 BIOS(Basic Input/Output System)가 동작한다(S403). 이때, 상기 BIOS가 동작함으로 인하여 하드디스크, 비디오 어댑터, 키보드, 마우스 및 프린트 등과 같은 주변장치가 인식되고, 상기 주변장치들과 운영체제간의 데이터 흐름을 관리하는 것으로부터 컴퓨터 시스템의 운영환경이 설정된다. 4 is a flowchart illustrating a booting process of the computer system according to the present invention. When power is applied to the system (S401), after performing the step of testing basic hardware connected to the system (S402). When the testing of the hardware is completed, a basic input / output system (BIOS) of the system operates (S403). At this time, by operating the BIOS, peripheral devices such as a hard disk, a video adapter, a keyboard, a mouse, and a print are recognized, and an operating environment of the computer system is set from managing data flow between the peripheral devices and the operating system.

이후, BIOS가 인터럽트를 발생시켜 시스템에 하드웨어 부팅 미디어가 접속되어 있는지를 검출하고(S404), 그 결과 상기 하드웨어 부팅 미디어가 접속되어 있으면 해당 하드웨어 부팅 미디어를 통해 백업 및 복원 프로그램을 실행함으로써 시스템을 부팅한다(S405).Thereafter, the BIOS generates an interrupt to detect whether hardware booting media is connected to the system (S404), and as a result, if the hardware booting media is connected, the system boots by executing a backup and restore program through the corresponding hardware booting media. (S405).

만일, 하드웨어 부팅 미디어가 존재하지 않으면, BIOS는 기설정된 순서에 따라 각종 부팅 미디어를 체크하면서 부팅 가능한 부팅 미디어를 탐색한 후(S406), 탐색된 부팅 미디어를 통해서 부팅을 수행한다(S407). If the hardware boot media does not exist, the BIOS searches for bootable boot media while checking various boot media in a predetermined order (S406), and performs booting through the found boot media (S407).

이후, 백업 및 복원 프로그램이 시스템에 내장되어 있는지를 검출하여(S408), 시스템에 내장된 백업 및 복원 프로그램이 존재하면 상기 내장된 백업 및 복원 프로그램의 실행을 통해 시스템을 부팅하고(S409). 상기 내장된 백업 및 복원 프로그램이 존재하지 않으면 시스템 운영체제로 부팅을 수행한다(S410).Thereafter, it is detected whether a backup and restore program is embedded in the system (S408). If there is a backup and restore program embedded in the system, the system is booted through execution of the embedded backup and restore program (S409). If the built-in backup and restore program does not exist, booting is performed to the system operating system (S410).

여기서, 시스템이 부팅되는 과정은 하드웨어를 테스트해서 이상이 없을 경우에 상기 BIOS에 설정된 내용을 바탕으로 BIOS가 부팅 미디어를 찾아서 부팅을 수행하되, 상기 BIOS가 발생하는 인터럽트를 가로채서 백업 및 복원 프로그램의 실행을 통해 부팅을 수행하거나, 부팅하는 파티션의 순서를 가로채거나 혹은 변경해서 시스템에 내장된 백업 및 복원 프로그램을 실행함으로써 시스템의 부팅을 수행한다.Here, when the system is booted, if the hardware is tested and there is no problem, the BIOS searches for booting media based on the contents set in the BIOS, and performs booting, intercepting the interrupt generated by the BIOS to restore the backup and restore program. Executing booting the system is performed by executing a backup and restore program built in the system by booting, intercepting or changing the order of the booting partitions.

이와 같이, 본 발명은 시스템이 부팅되는 과정에서 하드웨어 및 소프트웨어적인 방법으로 백업 및 복원 프로그램을 내장시켜 백업 및 복원을 위한 추가적인 부팅 미디어를 필요로 하지 않고, 시스템의 백업 및 복원을 수행할 수 있으며, 시스템의 운영체제가 부팅 불가능한 경우에도 자동으로 백업된 파일로부터 운영체제를 복원할 수가 있다.As described above, the present invention can perform backup and restore of the system by embedding a backup and restore program by hardware and software in the process of booting the system without requiring additional booting media for backup and restore. Even if your system's operating system is not bootable, you can restore the operating system from automatically backed up files.

즉, 도 5에 도시한 바와 같이, 백업 및 복원 프로그램이 실행되면 우선 시스템 부팅 실패 횟수를 지정된 횟수와 비교한다.(S501).That is, as shown in FIG. 5, when the backup and restore program is executed, first, the number of system boot failures is compared with a specified number of times (S501).

상기 그 결과, 시스템 부팅 시도 횟수가 지정된 횟수 이상이면 현재 운영체제가 파괴되어 시스템 부팅이 불가능한 것으로 판단하여 하드디스크나 BIOS 또는 하드웨어 장치에 내장된 백업 및 복원 프로그램을 실행하여 자동으로 시스템을 복원한다(S502).As a result, if the number of system boot attempts is more than the specified number of times, it is determined that the current operating system is destroyed and system booting is impossible, and the system is automatically restored by executing a backup and restore program built into the hard disk, the BIOS, or the hardware device (S502). ).

만일, 상기 시스템 부팅 시도 횟수가 지정된 횟수 이하이면, 현재 운영체제가 파괴되지 않은 상태이고, 그래서 시스템 부팅이 정상적으로 가능한 것으로 판단하여 소정의 시간 동안 사용자의 입력을 기다린다(S503). 즉, 운영체제가 정상적인 경우에는 시스템 백업이 가능한 상태이므로 사용자가 시스템 백업을 희망하는지 아니면 곧바로 시스템이 부팅되기를 희망하는지를 판단하기 위해 소정 시간 동안 사용자가 백업할 것인지 부팅을 계속할 것인지를 결정하는 입력 명령이 있을 때까지 대기한다.If the number of system boot attempts is less than or equal to the specified number of times, it is determined that the current operating system has not been destroyed, and thus, it is determined that the system boot is normally possible and waits for a user input for a predetermined time (S503). In other words, if the operating system is normal, the system can be backed up. Therefore, there may be an input command that determines whether the user backs up or continues to boot for a predetermined time to determine whether the user wants to back up the system or to immediately boot the system. Wait until.

이후, 사용자가 입력한 명령이 백업 및 복원 프로그램을 실행하라는 명령인지 아니면 곧바로 시스템 부팅을 계속하라는 명령인지를 확인하여(S504), 상기 백업 및 복원 프로그램을 실행하라는 명령이면 하드디스크나 BIOS 또는 하드웨어 장치에 내장된 백업 및 복원 프로그램을 실행하여 시스템 백업을 수행하고(S505), 만일 사용자가 상기 백업 및 복원 프로그램을 실행하라는 명령을 입력하지 않았거나 명령이 시스템 부팅을 희망하는 명령이면, 시스템 부팅 시도 횟수를 증가시킨 후(S506), 운영체제를 통한 시스템 부팅을 수행한다(S507).Thereafter, the user inputs a command to execute a backup and restore program or a command to continue booting the system immediately (S504). If the command is executed to execute the backup and restore program, the hard disk or the BIOS or the hardware device. Perform a backup of the system by executing the backup and restore program built-in (S505), and if the user does not input a command to execute the backup and restore program or the command is a command to boot the system, the number of system boot attempts After increasing (S506), the system boot through the operating system is performed (S507).

이때, 상기 사용자가 입력한 명령에 의해 백업 및 복원 프로그램이 실행됨에 있어서, 현재 시스템이 정상적이므로 백업 프로그램이 실행되어 하기에서 설명할 백업 과정을 통해 시스템 백업을 수행한다. 참고로, 시스템의 백업이 실행된 이후에는 시스템의 재부팅이 이루어진다.At this time, when the backup and restore program is executed by the command input by the user, since the current system is normal, the backup program is executed to perform the system backup through the backup process described below. For reference, after the system backup is executed, the system is rebooted.

한편, 상기 백업 과정은 도 6에 도시한 바와 같다. 즉, 사용자에 의해 백업하고자 하는 파티션이 선택되고(S601), 추후 백업된 파일을 저장할 파일 이름이 선택되면(S602), 섹터 추출부(25)는 선택된 파티션에서 현재 사용중에 있는 섹터만을 추출한다(S603).Meanwhile, the backup process is shown in FIG. 6. That is, if a partition to be backed up is selected by the user (S601), and a file name for storing a backed up file is selected later (S602), the sector extractor 25 extracts only sectors currently in use from the selected partition ( S603).

이후, 상기 추출된 섹터를 압축 및 암호화한 후(S604), 상기 압축 및 암호화된 섹터를 상기에서 선택된 파일에 저장한다(S605). 이때, 섹터를 파일에 저장하는 과정은 추출된 섹터가 모두 저장될 때까지 반복된다. 즉, 현재까지 파일에 저장한 섹터의 수가 백업하고자 하는 섹터의 수를 비교하여(S606), 상기 현재까지 파일에 저장한 섹터의 수가 백업하고자 하는 섹터의 수보다 작으면 아직 모든 섹터가 저장되지 않은 것으로 판단하여 선택된 파티션에서 사용중에 있는 섹터를 추출하는 S603단계로 돌아가고, 만일 현재까지 파일에 저장한 섹터의 수가 백업하고자 하는 섹터의 수 이상이면 백업이 완료된 것으로 판단하여 백업 프로그램을 종료한다.Thereafter, after compressing and encrypting the extracted sector (S604), the compressed and encrypted sector is stored in the file selected above (S605). At this time, the process of storing the sector in the file is repeated until all of the extracted sectors are stored. That is, the number of sectors stored in the file so far is compared with the number of sectors to be backed up (S606). If the number of sectors stored in the file so far is smaller than the number of sectors to be backed up, all sectors are not yet stored. If it is determined that the sector is in use is extracted from the selected partition, the process returns to step S603. If the number of sectors stored in the file to date is equal to or greater than the number of sectors to be backed up, it is determined that the backup is completed, and the backup program ends.

한편, 도 5의 S507단계에서 상기 시스템 부팅을 수행한 결과, 부팅이 완료되면 시스템 운영체제가 정상적으로 동작하는지를 판단하여(S508), 만일 정상적으로 동작하고 있지 않다고 판단되면 재부팅을 수행하고(S509), 상기 운영체제가 정상적으로 동작하고 있다고 판단되면 상기 시스템 부팅 시도 횟수를 리셋시킴으로써(S510), 본 발명에 따른 컴퓨터 시스템의 백업 및 복원 과정이 완료된다.On the other hand, as a result of performing the system boot in step S507 of Figure 5, when the boot is complete, it is determined whether the system operating system is operating normally (S508), if it is determined that it is not operating normally (S509), the operating system If is determined to operate normally by resetting the number of attempts to boot the system (S510), the backup and restore process of the computer system according to the present invention is completed.

이때, S502단계는 운영체제가 파괴되어 시스템 부팅이 불가능하여 하드디스크나 BIOS 또는 하드웨어 장치에 내장된 백업 및 복원 프로그램을 실행하여 시스템을 복원하는 단계로서, 앞서 설명한 도 6의 백업 과정을 통해 백업된 파일을 원래의 위치로 복원시키는 과정이며, 그 구체적인 과정은 도 7과 같다. In this case, step S502 is a step of restoring the system by executing a backup and restore program built in a hard disk, a BIOS, or a hardware device because the operating system is destroyed and the system cannot be booted. The file backed up through the backup process of FIG. This is a process of restoring to the original position, the specific process is shown in FIG.

즉, 도 7은 본 발명의 컴퓨터 시스템의 백업 및 복원 방법에 따른 시스템 복원 방법을 구체적으로 설명하기 위한 순서도로서, 사용자에 의해 복원하고자 하는 파일이 선택되고(S701), 선택된 파일로부터 복원하고자 하는 파티션이 선택되면(S702), 상기 선택된 파일로부터 압축 및 암호화된 섹터를 불러온다(S703).That is, FIG. 7 is a flowchart illustrating a method for restoring a system according to a method of backing up and restoring a computer system of the present invention in detail. A file to be restored is selected by a user (S701) and a partition to be restored from the selected file. If is selected (S702), the compressed and encrypted sectors are loaded from the selected file (S703).

이후, 상기 압축 및 암호화된 섹터를 복호화한 후 압축을 해제한 다음(S704), 압축이 해제된 섹터를 원래에 위치하고 있었던 섹터에 기록한다(S705). 이때, 상기 섹터를 원래의 위치에 기록함에 있어서 복원하고자 하는 섹터가 모두 기록될 때까지 반복된다. 즉, 복원하고자 하는 섹터의 수와 현재까지 복원된 섹터의 수를 비교하여(S706), 아직 복원하고자 하는 섹터가 남아 있으면 압축 및 암호화된 섹터를 리드하는 S703단계로 돌아가고, 만일, 현재까지 복원된 섹터의 수가 복원하고자하는 섹터의 수 이상이면 섹터의 복원이 완료된 것으로 판단하여 복원 프로그램을 종료한다.Thereafter, after decompressing the compressed and encrypted sector and decompressing (S704), the decompressed sector is recorded in the sector where it was originally located (S705). At this time, in recording the sector at the original position, the sector is repeated until all sectors to be restored are recorded. That is, by comparing the number of sectors to be restored with the number of sectors restored to date (S706), if there are still sectors to be restored, the process returns to step S703 which leads to the compressed and encrypted sectors. If the number of sectors is equal to or larger than the number of sectors to be restored, it is determined that the restoration of the sector is completed and the restoration program ends.

이상에서 본 발명의 바람직한 실시형태를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수가 있고, 상기 실시 예들을 적절히 변형하여 동일하게 응용할 수가 있음은 명확하다. 따라서, 상기 기재 내용은 하기의 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiments of the present invention have been described above, it is clear that the present invention can use various changes, modifications, and equivalents, and that the above embodiments can be appropriately modified and applied in the same manner. Accordingly, the above description is not intended to limit the scope of the invention as defined by the following claims.

이상 상술한 바와 같이, 본 발명의 컴퓨터 시스템의 백업 및 복원 방법은 시스템 내에 또는 별도의 하드웨어 장치에 시스템 백업 및 복원을 위한 프로그램을 내장하여 시스템을 부팅함에 있어 부팅 시도 횟수가 소정 횟수 이상이면 자동으로 상기 백업 및 복원 프로그램을 실행하여 시스템을 백업 및 복원함으로써, 바이러스나 사용자의 실수로 인하여 운영체제가 파괴된 경우라도 운영체제를 새롭게 설치할 필요가 없이, 백업된 파일로부터 빠른 시간내에 운영체제를 복원할 수 있으며, 백업된 파일의 중요한 정보를 암호화함으로서 백업 파일을 안전하게 보호할 수 있는 효과가 있다. As described above, the method of backing up and restoring the computer system of the present invention automatically embeds a program for system backup and restoration in a system or a separate hardware device to automatically boot the system when the number of boot attempts is more than a predetermined number of times. By backing up and restoring the system by executing the backup and restore program, even if the operating system is destroyed due to a virus or a user's mistake, it is possible to restore the operating system from a backed up file in a short time without having to install a new operating system. By encrypting important information of the backed up file, the backup file can be safely protected.

도 1은 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위한 개념도1 is a conceptual diagram illustrating a backup and restore method of a computer system of the present invention;

도 2는 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위해서 도식화한 백업 및 복원 시스템의 구성블록도2 is a block diagram of a backup and restore system schematically illustrated in order to explain a backup and restore method of a computer system according to the present invention;

도 3은 일반적인 컴퓨터 시스템의 드라이브 구조를 도식화한 도면3 is a diagram illustrating a drive structure of a general computer system.

도 4는 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위한 개략적인 순서도4 is a schematic flowchart illustrating a backup and restore method of a computer system of the present invention.

도 5는 본 발명의 컴퓨터 시스템의 백업 및 복원 방법을 설명하기 위한 구체적인 순서도5 is a detailed flowchart illustrating a backup and restore method of a computer system of the present invention.

도 6은 본 발명에 따른 컴퓨터 시스템의 백업 방법을 설명하기 위한 순서도6 is a flowchart illustrating a backup method of a computer system according to the present invention.

도 7은 본 발명에 따른 컴퓨터 시스템의 복원 방법을 설명하기 위한 순서도7 is a flowchart illustrating a restoration method of a computer system according to the present invention.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

21, 21a: 제 1, 제 2 저장부 23 : 파티션 및 파일 선택부21, 21a: first and second storage unit 23: partition and file selection unit

25 : 섹터 추출부 27 : 압축 및 암호화부25 sector extractor 27 compression and encryption unit

29 : 복호화 및 압축해제부 29: decryption and decompression unit

Claims (10)

컴퓨터 시스템을 백업하고 복원하는 방법에 있어서,In a method of backing up and restoring a computer system, 상기 컴퓨터 시스템의 백업 및 복원을 위한 프로그램을 하드디스크의 부팅미디어에 내장시키고, 상기 부팅미디어의 부팅 순서를 수정 및 변경하여 상기 컴퓨터 시스템을 부팅하는 과정에서 상기 부팅미디어를 통해 선택적으로 백업 및 복원 프로그램을 실행하여 컴퓨터 시스템을 백업 또는 복원하는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.A program for backing up and restoring the computer system is embedded in a booting medium of a hard disk, and a backup and restoring program is selectively selected through the booting media in the process of booting the computer system by modifying and changing the booting order of the booting medium. A method of backing up and restoring a computer system, comprising: backing up or restoring a computer system by executing a. 제 1 항에 있어서, 상기 백업 및 복원을 위한 프로그램은 BIOS에 내장하는 것을 포함함을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법. The method of claim 1, wherein the program for backing up and restoring includes embedding in a BIOS. 제 1 항에 있어서, 상기 시스템을 백업할 때, 부팅에 필요한 마스터 부트 레코드(MBR) 및 각 드라이브의 파티션 테이블을 백업해 두었다가 상기 MBR, 파티션 테이블이 파괴되었을 경우 상기 MBR 및 파티션 테이블만 복원하는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.The method of claim 1, wherein when backing up the system, backing up a master boot record (MBR) and a partition table of each drive required for booting, and restoring only the MBR and the partition table when the MBR and the partition table are destroyed. Characterized by a method of backup and restore of a computer system. 제 1 항에 있어서, 상기 백업 및 복원을 위한 프로그램의 실행은 시스템의 마스터 부트 레코드(MBR)를 수정하거나, BIOS를 수정하여 그 실행 시점을 결정하는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.The method of claim 1, wherein the execution of the program for backup and restoration is performed by modifying the master boot record (MBR) of the system or by modifying the BIOS. 제 1 항에 있어서, 상기 시스템을 백업할 때, 파티션에서 현재 사용중에 있는 섹터만을 백업하고, 이를 압축 및 암호화하는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.2. The method of claim 1, wherein when backing up the system, only the sectors currently in use in the partition are backed up, compressed and encrypted. 제 1 항에 있어서, 상기 백업 및 복원을 위한 프로그램은 상기 컴퓨터 시스템의 부팅시 상기 백업 및 복원 프로그램이 BIOS에 의해서 호출될 수 있는 별도의 하드웨어 장치에 내장하는 것을 포함함을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.2. The computer system of claim 1, wherein the program for backup and restore comprises embedding the backup and restore program in a separate hardware device that can be called by a BIOS upon booting of the computer system. How to back up and restore. 시스템 부팅 시도 횟수를 검출하는 단계와;Detecting a number of system boot attempts; 상기 시스템 부팅 시도 횟수가 소정 횟수 이상이면 자동적으로 복원 프로그램을 실행하여 시스템 복원을 수행하고, 상기 시스템 부팅 시도 횟수가 소정 횟수 이하이면 사용자의 명령 입력을 기다리는 단계와;Automatically executing a restoration program when the number of system boot attempts is greater than or equal to a predetermined number of times, and performing a system restoration; and waiting for a user's command input when the number of system boot attempts is less than or equal to a predetermined number of times; 상기 사용자가 백업 프로그램의 실행을 희망하면 백업 프로그램을 실행하여 시스템의 백업을 수행하고, 사용자가 시스템 부팅을 희망하면 시스템 부팅을 수행하는 단계와;Performing a backup of the system by executing the backup program when the user wishes to execute the backup program, and performing a system boot when the user desires to boot the system; 시스템 부팅이 완료된 후 운영체제가 정상적으로 동작하는지를 체크하여 비정상적이면 시스템을 재부팅하고, 정상적이면 상기 시스템 부팅 시도 횟수를 리셋시키는 단계를 포함하여 이루어지는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법. Checking whether the operating system is operating normally after system booting is completed, rebooting the system if abnormal, and resetting the number of system boot attempts if normal. 제 7 항에 있어서, 상기 시스템을 백업하는 단계는,8. The method of claim 7, wherein backing up the system comprises: 사용자에 의해 백업하고자 하는 파티션 및 백업된 파일을 저장할 파일이 선택되면 상기 선택된 파티션에서 현재 사용중에 있는 섹터만을 추출하는 단계와,If a partition to be backed up and a file to store the backed up file are selected by the user, extracting only sectors currently in use in the selected partition; 상기 추출된 섹터를 압축하는 단계와,Compressing the extracted sectors; 상기 압축된 섹터를 암호화하는 단계와,Encrypting the compressed sector; 상기 암호화된 섹터를 상기 선택된 파일에 저장하는 단계를 포함하여 이루어지는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.And storing said encrypted sector in said selected file. 제 7 항에 있어서, 상기 시스템을 복원하는 단계는,8. The method of claim 7, wherein restoring the system comprises: 사용자에 의해 복원하고자 하는 파일 및 선택된 파일로부터 복원하고자 하는 파티션이 선택되면 상기 선택된 파일로부터 암호화된 섹터를 리드하는 단계와,Reading an encrypted sector from the selected file when a file to be restored by the user and a partition to be restored from the selected file are selected; 상기 암호화된 섹터를 복호화한 후 압축을 해제하는 단계와,Decrypting the encrypted sector and then decompressing it; 상기 압축이 해제된 섹터를 백업전에 있었던 위치에 기록하는 단계를 포함하여 이루어지는 것을 특징으로 하는 컴퓨터 시스템의 백업 및 복원 방법.And recording the decompressed sector to a location that existed before the backup. 시스템 부팅 시도 횟수를 검출하는 단계와;Detecting a number of system boot attempts; 상기 시스템 부팅 시도 횟수가 소정 횟수 이상이면 자동적으로 복원 프로그램을 실행하여 시스템 복원을 수행하고, 상기 시스템 부팅 시도 횟수가 소정 횟수 이하이면 사용자의 명령 입력을 기다리는 단계와;Automatically executing a restoration program when the number of system boot attempts is greater than or equal to a predetermined number of times, and performing a system restoration; and waiting for a user's command input when the number of system boot attempts is less than or equal to a predetermined number of times; 상기 사용자가 백업 프로그램의 실행을 희망하면 백업 프로그램을 실행하여 시스템의 백업을 수행하고, 사용자가 시스템 부팅을 희망하면 시스템 부팅을 수행하는 단계와;Performing a backup of the system by executing a backup program when the user desires to execute a backup program, and performing a system boot when the user desires to boot the system; 시스템 부팅이 완료된 후 운영체제가 정상적으로 동작하는지를 체크하여 비정상적이면 시스템을 재부팅하고, 정상적이면 상기 시스템 부팅 시도 횟수를 리셋시키는 단계를 포함하여 이루어지는 컴퓨터 시스템의 백업 및 복원을 위한 프로그램을 기록한 기록매체. And checking whether the operating system is operating normally after system booting is completed, rebooting the system if abnormal, and resetting the number of system boot attempts if normal.
KR1020030058897A 2003-08-25 2003-08-25 Backup and restore method of computer system and recording media recording the program KR100545689B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030058897A KR100545689B1 (en) 2003-08-25 2003-08-25 Backup and restore method of computer system and recording media recording the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030058897A KR100545689B1 (en) 2003-08-25 2003-08-25 Backup and restore method of computer system and recording media recording the program

Publications (2)

Publication Number Publication Date
KR20050021736A true KR20050021736A (en) 2005-03-07
KR100545689B1 KR100545689B1 (en) 2006-01-24

Family

ID=37229920

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030058897A KR100545689B1 (en) 2003-08-25 2003-08-25 Backup and restore method of computer system and recording media recording the program

Country Status (1)

Country Link
KR (1) KR100545689B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746032B1 (en) * 2006-01-04 2007-08-06 삼성전자주식회사 Storage medium for managing master boot record and method for booting of computer system using the storage medium
KR100792786B1 (en) * 2005-08-26 2008-01-14 이철호 Method for os restoring of computer using backup image file
KR20160015819A (en) * 2014-07-31 2016-02-15 에스케이플래닛 주식회사 Method for generating intermediate file for moving data between terminals and apparatus for the same
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform
CN112579346A (en) * 2019-09-29 2021-03-30 北京君正集成电路股份有限公司 Method for restoring factory settings through power failure

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101240307B1 (en) * 2012-09-14 2013-03-11 (주)웨어메이트 MBR Remote Backup System Using Mobile Device
KR101999617B1 (en) * 2012-09-24 2019-07-12 삼성전자주식회사 Electronic apparatus, method for restore of guid partition table and computer-readable recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792786B1 (en) * 2005-08-26 2008-01-14 이철호 Method for os restoring of computer using backup image file
KR100746032B1 (en) * 2006-01-04 2007-08-06 삼성전자주식회사 Storage medium for managing master boot record and method for booting of computer system using the storage medium
US8219793B2 (en) 2006-01-04 2012-07-10 Samsung Electronics Co., Ltd. Storage medium to manage a master boot record and a method of booting a computer system using a storage medium
KR20160015819A (en) * 2014-07-31 2016-02-15 에스케이플래닛 주식회사 Method for generating intermediate file for moving data between terminals and apparatus for the same
CN112579346A (en) * 2019-09-29 2021-03-30 北京君正集成电路股份有限公司 Method for restoring factory settings through power failure
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform

Also Published As

Publication number Publication date
KR100545689B1 (en) 2006-01-24

Similar Documents

Publication Publication Date Title
US20060200639A1 (en) System and method for computer backup and recovery using incremental file-based updates applied to an image of a storage device
US7831821B2 (en) System backup and recovery solution based on BIOS
US8117410B2 (en) Tracking block-level changes using snapshots
US9152508B1 (en) Restoration of a backup of a first volume to a second volume on physical media
KR100758292B1 (en) A method for renovating the computer operating system
US6615365B1 (en) Storing a computer disk image within an imaged partition
US7519806B2 (en) Virtual partition for recording and restoring computer data files
US20060150037A1 (en) Methods and systems for operating system recovery
JPH11134234A (en) Backup list method, its controller and recording medium which records backup restoration program and which computer can read
US20070250673A1 (en) Computer backup system
US7188278B1 (en) Method, system, and apparatus for utilizing compressed program code in the boot block portion of a computer BIOS
US20100037092A1 (en) System and method for backup, reboot, and recovery
KR100692473B1 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
KR100545689B1 (en) Backup and restore method of computer system and recording media recording the program
EP3159797B1 (en) Efficient processing of file system objects for image level backups
KR100877239B1 (en) System remote recovery method
US20030037279A1 (en) HDD data backup and recovery method
JP5600015B2 (en) Backup system and backup method
KR100884054B1 (en) Method for restoration and backup of computer system
JP2004213365A (en) Hard disk drive unit, data recording device, backup device, restore device, backup method, and computer program executable in computer for making computer function as back up device
TWI536161B (en) Backup method, recovery method and computer, computer program product and computer readable recording medium thereof
KR100792786B1 (en) Method for os restoring of computer using backup image file
KR20200102796A (en) System for managing ransomware test using virtual machine technologies and method therefor
JP2003076614A (en) Backup and restoration method for data in hard disc device
JP7093012B2 (en) Disk device equipment, information processing system, and restoration program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20101103

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee