TW201222238A - System and method for performing a backup and recovery of system data - Google Patents

System and method for performing a backup and recovery of system data Download PDF

Info

Publication number
TW201222238A
TW201222238A TW99140880A TW99140880A TW201222238A TW 201222238 A TW201222238 A TW 201222238A TW 99140880 A TW99140880 A TW 99140880A TW 99140880 A TW99140880 A TW 99140880A TW 201222238 A TW201222238 A TW 201222238A
Authority
TW
Taiwan
Prior art keywords
backup
server
circuit
data
recovery
Prior art date
Application number
TW99140880A
Other languages
Chinese (zh)
Inventor
Zi-Yu Zhan
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW99140880A priority Critical patent/TW201222238A/en
Publication of TW201222238A publication Critical patent/TW201222238A/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a system and method for performing a backup and recovery of system data. The method performs a backup of a master system of a server after each preset time interval, stores the backup master system in a storage device of a backup circuit of the server, obtains a backup original system of the server from the storage device of the backup circuit if the master system cannot be started up. The method further determines a backup master system from the storage device of the backup circuit when the backup original system is started up, sends the determined master system to a original circuit of the server, and restarts the server. The present invention can perform a backup and recovery of system data of a server with a low cost.

Description

201222238 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種資料備份與恢復系統及方法。 【先前技射Ϊ】 [0002] 穩定性是伺服器系統一項重要的技術指標,為了確保伺 服器系統資料的安全,一般採用獨立冗餘磁碟陣列(Redundant Array of Independent Disk , RAID) 來儲 存系統資料。但是,RAID架構的伺服器在給人們帶來方 便的同時卻也暗藏一系列未知的不安全因素,如網路病 毒,駭客攻擊,系統崩潰,硬體故障,機密資料損壞、 洩露、被竊以及突然斷電,地震等突發性、自然發生的 不可抗力因素等情況,都會造成伺服器資料的丟失,給 使用者或企業帶來巨大損失。 [0003] 為了防止伺服器資料的意外丟失,當前的做法是架設一 台或多台與主伺服器相連的備份伺服器,備份伺服器每 隔固定時間(如5分鐘)備份一次主伺服器中的系統資料 ,當主伺服器出現意外而崩潰時,可以從備份伺服器中 獲取備份的系統資料。但是,這種做法需要架設一台或 多台備份伺服器,增加了資料備份的成本。 【發明内容】 [0004] 鑒於以上内容,有必要提供一種資料備份與恢復系統及 方法,其可透過硬體電路實現伺服器主系統的資料備份 ,當主系統無法啟動時透過備份電路自動恢復系統資料 〇 [0005] 一種資料備份與恢復系統,該系統設置於伺服器中,包 099140880 表單編號A0101 第4頁/共20頁 0992071133-0 201222238 括本體電路和備份電路,其中: [0006] 所述本體電路用於儲存伺服器的主系統; [0007] 所述備份電路包括儲存器和資料備份與恢復模組,所述 備份電路的儲存器用於儲存伺服器的備份初始系統、及 一個或多個伺服器的備份主系統; [0008] 所述資料備份與恢復模組,用於每隔一個預設時間,備 份一次伺服器的主系統,並將備份主系統保存於備份電 路的儲存器中; [0009] 所述資料備份與恢復模組,還用於當伺服器的主系統不 能啟動時,從備份電路的儲存器中獲取該伺服器的備份 初始系統,當該備份初始系統啟動後,從該備份電路的 儲存器中獲取該伺服器的備份主系統,並將該備份主系 統傳送給該伺服器本體電路,然後重新啟動該伺服器。 [0010] 一種資料備份與恢復方法,該方法包括如下步驟: [0011] 在伺服器開機時檢查伺服器本體電路中的主系統是否可 以啟動; [0012] 如果該伺服器的主系統可以啟動,則直接啟動該伺服器 的主系統; [0013] 如果該伺服器的主系統不可以啟動,則伺服器的BIOS向 該伺服器中的備份電路發送資料恢復指令; [0014] 伺服器的備份電路接收到上述資料恢復指令後,從備份 電路的儲存器中獲取該伺服器的備份初始系統; 0992071133-0 099140880 表單編號A0101 第5頁/共20頁 201222238 [0015] 伺服器的BIOS從該備份初始系統中收集系統引導資訊, 並根據收集的系統引導資訊,啟動到該備份初始系統; 及 [0016] 從該備份電路的儲存器中獲取該伺服器的備份主系統, 並將該備份主系統傳送給該伺服器本體電路,然後重新 啟動該伺服器。 [0017] 前述方法可以由電子設備(如伺服器)執行,其中該電 子設備具有附帶了圖形用戶介面(GUI)的顯示螢幕、一 個或多個處理器、儲存器以及保存在儲存器中用於執行 這些方法的一個或多個模組、程式或指令集。在某些實 施方式中,該電子設備提供了包括無線通信在内的多種 功能。 [0018] 用於執行前述方法的指令可以包含在被配置成由一個或 多個處理器執行的電腦程式產品中。 [0019] 相較於習知技術,所述的資料備份與恢復系統及方法, 其可透過備份電路實現伺服器主系統的資料備份,當主 系統無法啟動時透過備份電路自動恢復系統資料。由於 本發明不需要另外架設備份伺服器,從而以較低的成本 實現了伺服器系統資料的備份與恢復,並且該設計具有 結構簡單,易於實現,方便、實用、安全、快捷的優點 〇 【實施方式】 [0020] 參閱圖1所示,係本發明資料備份與恢復系統較佳實施方 式的結構示意圖。在本實施方式中,所述資料備份與恢 099140880 表單編號A0101 第6頁/共20頁 0992071133-0 201222238 [0021] 〇 [0022] 〇 [0023] 099140880 復系統60包括本體電路2〇 〇 參閱圖2所示,所述資料備份與恢復系統6〇設置於伺服器 2中,該伺服器2還包括透過資料匯流排相連的基本輸入 輸出系統(Basic Input Output System,Bl〇s) 21 矛處理器24。在本實施方式中’所述本體電路20用於健 存伺服器2安裝有各種應用程式的主系統,所述第一儲存 器23用於儲存伺服器2的各種資料(如音頻資料和視頻資 料等)。在本實施方式中,所述第一儲存器23可以是伺 服器2的硬碟。 參閱圖3所示,所述備份電路22是伺服器2主系統的一種 從屬系統’包括第二儲存器25和資料備份與恢復模組26 。其中’所述第二儲存器25儲存有伺服器2的備份的初始 系統30、一個或多個伺服器2的備份主系統(如第一備份 主系統41 ’第二備份主系統42,第三備份主系統43)。 所述備份的初始系統30是伺服器2在出廠時預裝的作業系 統’即一種未安裝任何應用程式的裸系統。在本實施方 式中’所述第二儲存器25可以是NAND快閃儲存器晶片。 在本實施方式中,所述資料備份與恢復模組26用於每隔 一個預設時間(如5分鐘),備份一次伺服器2的主系統 。如果用戶有對伺服器2主系統的資料進行修改(包括授 權的和未授權的),所述資料備份與恢復模組26將同時 對修改前的資料和修改後的資料進行備份,以備災難發 生時恢復到修改前或修改後的任一狀態,確保系統資訊 的安全性、完整性。 表單編號A0101 、備份電路22和第一儲存写23 第7真/共20頁 0992071133-0 201222238 [0024] [0025] [0026] [0027] 而要说明的是’鑒於第二儲存器25容量與成本的考慮, 田伺服器2主系統的備份數量達到一個預設值(如】〇個) 4,資料備份與恢復模組26將會用新備份的主系統覆蓋 之則備份的主系統。舉例而言,假設主系統備份數量的 最大值為10個,當主系統備份數量超過1〇個時,資料備 份與恢復模組2 6將第十一個備份主系統替換掉第一備份 主系統41,將第十二個備份主系統替換掉第二備份主系 统42,將第十三個備份主系統替換掉第三備份主系統43 ’......,依次類推。 所述資料備份與恢復模組2 6還用於當伺服器2的主系統無 法啟動時,自動從備份電路22的第二儲存器25中恢復主 系統資料,具體過程以下描述。 在本實施方式中,所述資料備份與恢復模組26可以被分 割成一個或多個子模組,所述一個或多個子模組被儲存 在所述備份電路22中並被取置成|由一個或多個處理器( 本實施方式為一個處理器24)執行,以完成本發明。例 如,參閱圖4所示,所述資料備备參恢復模組26被分割成 資料備份子模組201、資料恢復子模組202和系統檢查子 模組203。本發明所稱的模組是完成一特定功能的程式段 ’比程式更適合於描述軟體在控制電腦2中的執行過程。 參閱圖5所示,係本發明資料備份與恢復方法的較佳實施 方式的流程圖。 步驟SI,BIOS 21在伺服器2開機時檢查伺服器2的本體 電路20中的主系統,即檢查伺服器2的主系統資料是否完 099140880 表單編號A0101 第8頁/共20頁 0992071133-0 [0028] 201222238 [0029] ❹ [0030] [0031] Ο [0032] 整。在本實施方式中,如果ΒI 〇S 21找不到伺服器2主系 統的引導程式,或該引導程式已經損壞,則表明該伺服 器2的主系統資料不完整。 步驟S2,BI OS 21判斷伺服器2的主系統是否可以啟動。 在本實施方式中,如果該伺服器2的主系統資料不完整, 則表明該伺服器2的主系統不可以啟動,b I 〇s 21向備份 電路22發送資料恢復指令,然後執行步驟幻◊如果該伺 服器2的主系統資料完整,則表明該伺服器2的主系統可 以啟動,直接執行步驟S4-S7。 步驟S3,資料恢彳复子模組202接收到上述資料恢復指令後 ,從備份電路22的第二儲存器:25中獲取伺服器2備份的初 始系統30,然後執行步驟S4 « 步驟S4 ’ BIOS 21從該伺服器2的主系統或該備份的初始 系統30中收集系統引導資訊。在本實施方式中,所述系 統引導資訊是指該伺服器2的系統引導程式。具體而言, 如果伺服器2的主秦統可以啟動,則BIOS 21從該伺服器 ..... ....... ... " ·γ· 2的主系統中收秦系統引導資訊;如果伺服器2的主系統 不可以啟動,則BIOS 21從該伺服器2的備份的初始系統 30中收集系統引導資訊。 步驟S5,BIOS 21根據收集的系統引導資訊,啟動到伺 服器2的主系統或該備份的初始系統。具體而言,如果伺 服器2的主系統可以啟動,則BIOS 21直接啟動該主系統 ;如果伺服器2的主系統不可以啟動,則BIOS 21啟動該 伺服器2的備份的初始系統30。 099140880 表單編號A0101 第9頁/共20頁 0992071133-0 201222238 [0033] [0034] [0035] [0036] 步驟S6 ’系統檢查子模組2〇3判斷該伺服器2的主系統或 該備份的初始系統是否為裸系統。如果該伺服器2 ^ 糸 統或該備份的初始系統不是裸系統’則執行步驟S7 •如 果該伺服器2的主系統或該備份的初始系統是裸系統,則 執行步驟S8。可以理解,該伺服器2的主系統不是裸系統 ’而該伺服器2備份的初始系統是一種裸系統。 步驟S7,伺服器2執行系統任務,控制各種應用程式的執 行’流程結束。 步驟S8 ’資料恢復子模姐2〇2從備份電路22的第二儲存器 25中獲取伺服器2備份的主系統,並將該備份的主系統傳 送給該伺服器2的本體電路20,然後重漸啟動伺服器2, 並返回步驟S1。在本實施方式中,所述資料備份子模組 2〇1每隔一個預設時間(如5分鐘),備份—次伺服器2的 主系統,如第一備份主系統41、第二備份主系統“及第 三備份主系統43等。 在本實施方式中,資料恢復子模組202從備份電路22的第 二儲存器25中獲取舰器2最近-次傷份的主系統。舉例 而言’參閱圖3所示,假設第-備份主系統41的備份時間 為10:20 ’第二備份主系統42的備份時間為1〇:25,第三 備份主系統43的備份時間為10:30,則資料恢復子模組一 202選擇第三備份主系統43,㈣該第三備份主系統⑽ 送給該伺服器2的本體電路20。 在其他實施方式巾,如果該第三備份Μ㈣還是不能 ㈣㈣、果該第二備份 099140880 表單編號Α0101 第10頁/共20頁 0992071133-0 [0037] 201222238 主系統42還是不能啟動,則繼續啟動第—備份主系統〇 ,……,依次類推,直到備份電路22的第二儲存器25令 的所有備份主系統迴圈完畢。 [0038] Ο [0039] [0040] [0041] [0042] 〇 [0043] [0044] [0045] [0046] [0047] 最後應說明的是,以上實施方式僅用以說明本發明的技 術方案而非限制,儘管參照較佳實施方式對本發明進行 了詳細說明’本領域的普通技術人員應當理解,可以對 本發明的技術方案進行修改或等同替換,而不脫離本發 明技術方案的精神和範圍。 【圖式簡單說明】 圖1係本發明資料備份與恢復系統較佳實施方式的結構示 意圖。 ^ ; 圖2係本發明資料備份與恢復系統較佳實施方式的應用環 境示意圖。 圖3係本發明備份電路較佳實施方式的結構示意圖。 圖4係資料備份與恢復模組的功能模組圖。 圖5係本發明資料備份與恢復方法的較佳實施方式的流程 圖。 【主要元件符號說明】 伺服器:2 本體電路:20 BIOS : 21 備份電路:22 099140880 表單編號A0101 第11頁/共20頁 0992071133-0 201222238 [0048] 第一儲存器:23 [0049] 處理器:24 [0050] 第二儲存器:25 [0051] 資料備份與恢復模組:26 [0052] 備份的初始系統: 30 [0053] 第一備份主系統: 41 [0054] 第二備份主系統: 42 [0055] 第三備份主系統: 43 [0056] 資料備份與恢復系統:60 [0057] 資料備份子模組: 201 [0058] 資料恢復子模組: 202 [0059] 系統檢查子模組: 203 099140880 表單編號A0101 第12頁/共20頁 0992071133-0201222238 VI. Description of the Invention: [Technical Field of the Invention] [0001] The present invention relates to a data backup and recovery system and method. [Previous technology] [0002] Stability is an important technical indicator of the server system. In order to ensure the security of the server system data, the Redundant Array of Independent Disk (RAID) is generally used for storage. System information. However, the RAID architecture server brings convenience to people, but it also hides a series of unknown insecure factors, such as network viruses, hacking attacks, system crashes, hardware failures, confidential data corruption, disclosure, and theft. As well as sudden power outages, sudden and natural force majeure factors such as earthquakes, etc., the server data will be lost, causing huge losses to users or enterprises. [0003] In order to prevent accidental loss of server data, the current practice is to set up one or more backup servers connected to the main server, and the backup server backs up the primary server every fixed time (such as 5 minutes). System data, when the main server crashes unexpectedly, the backup system data can be obtained from the backup server. However, this approach requires the installation of one or more backup servers, increasing the cost of data backup. SUMMARY OF THE INVENTION [0004] In view of the above, it is necessary to provide a data backup and recovery system and method, which can realize data backup of the server main system through a hardware circuit, and automatically restore the system through the backup circuit when the main system fails to start. Information [0005] A data backup and recovery system, the system is set in the server, package 099140880 Form No. A0101 Page 4 / Total 20 pages 0992071133-0 201222238 includes a body circuit and a backup circuit, wherein: [0006] The main body circuit is configured to store a main system of the server; [0007] the backup circuit includes a storage and a data backup and recovery module, and the storage of the backup circuit is used to store a backup initial system of the server, and one or more The backup main system of the server; [0008] the data backup and recovery module is configured to back up the main system of the server once every preset time, and save the backup main system in the storage of the backup circuit; [0009] The data backup and recovery module is also used to store the backup circuit when the main system of the server cannot be started. Obtaining a backup initial system of the server, after the backup initial system is started, acquiring a backup primary system of the server from the storage of the backup circuit, and transmitting the backup primary system to the server body circuit, and then restarting Start the server. [0010] A data backup and recovery method, the method comprising the following steps: [0011] checking whether the main system in the server body circuit can be started when the server is powered on; [0012] if the main system of the server can be started, Directly starting the main system of the server; [0013] If the main system of the server is not bootable, the BIOS of the server sends a data recovery command to the backup circuit in the server; [0014] the backup circuit of the server After receiving the above data recovery instruction, the backup initial system of the server is obtained from the storage of the backup circuit; 0992071133-0 099140880 Form No. A0101 Page 5 of 20 201222238 [0015] The BIOS of the server is initialized from the backup Collecting system boot information in the system, and booting to the backup initial system according to the collected system boot information; and [0016] obtaining the backup primary system of the server from the storage of the backup circuit, and transmitting the backup primary system Give the server body circuit and then restart the server. [0017] The aforementioned method may be performed by an electronic device (such as a server) having a display screen with a graphical user interface (GUI), one or more processors, a storage, and being stored in the storage for storage Execution of one or more modules, programs, or instruction sets of these methods. In some embodiments, the electronic device provides a variety of functions including wireless communication. [0018] Instructions for performing the aforementioned methods may be included in a computer program product configured to be executed by one or more processors. [0019] Compared with the prior art, the data backup and recovery system and method can realize data backup of the server main system through the backup circuit, and automatically recover the system data through the backup circuit when the main system fails to start. Since the invention does not require another server server, the backup and recovery of the server system data is realized at a low cost, and the design has the advantages of simple structure, easy implementation, convenience, practicality, safety and speed. [0020] Referring to FIG. 1, a schematic structural diagram of a preferred embodiment of a data backup and recovery system of the present invention is shown. In the present embodiment, the data backup and recovery 099140880 Form No. A0101 Page 6 / Total 20 pages 0992071133-0 201222238 [0021] 〇 [0022] 〇 [0023] 099140880 Complex system 60 includes the body circuit 2 〇〇 As shown in FIG. 2, the data backup and recovery system 6 is disposed in the server 2, and the server 2 further includes a basic input output system (Bl〇s) connected through the data bus. twenty four. In the present embodiment, the main body circuit 20 is used to store the main system of the server 2 with various applications, and the first storage 23 is used for storing various materials of the server 2 (such as audio data and video data). Wait). In the present embodiment, the first storage 23 may be a hard disk of the servo 2. Referring to Figure 3, the backup circuit 22 is a slave system of the server 2 main system 'including a second storage 25 and a data backup and recovery module 26. Wherein the second storage 25 stores the backup initial system 30 of the server 2, the backup primary system of the one or more servers 2 (eg, the first backup primary system 41 'the second backup primary system 42 , the third Back up the primary system 43). The initial system 30 of the backup is the operating system pre-installed by the server 2 at the factory, i.e., a bare system without any application installed. In the present embodiment, the second reservoir 25 may be a NAND flash memory chip. In this embodiment, the data backup and recovery module 26 is configured to back up the primary system of the server 2 every other preset time (for example, 5 minutes). If the user has modified the data of the server 2 main system (including authorized and unauthorized), the data backup and recovery module 26 will simultaneously back up the modified data and the modified data for disaster. When it occurs, it will be restored to any state before or after modification to ensure the security and integrity of the system information. Form No. A0101, Backup Circuit 22, and First Stored Write 23 No. 7 True/Total 20 Pages 0992071133-0 201222238 [0024] [0027] [0027] It is to be noted that 'in view of the capacity of the second storage 25 For cost considerations, the number of backups of the primary server of the field server 2 reaches a preset value (such as 〇). 4, the data backup and recovery module 26 will overwrite the primary system with the newly backed up primary system. For example, suppose the maximum number of primary system backups is 10. When the number of primary system backups exceeds one, the data backup and recovery module 26 replaces the eleventh backup primary system with the first backup primary system. 41. Replace the twelfth backup main system with the second backup main system 42, replace the thirteenth backup main system with the third backup main system 43 '..., and so on. The data backup and recovery module 26 is further configured to automatically restore the main system data from the second storage 25 of the backup circuit 22 when the main system of the server 2 cannot be started. The specific process is described below. In this embodiment, the data backup and recovery module 26 can be divided into one or more sub-modules, and the one or more sub-modules are stored in the backup circuit 22 and are taken into | One or more processors (this embodiment is a processor 24) are executed to complete the present invention. For example, referring to FIG. 4, the data backup parameter recovery module 26 is divided into a data backup sub-module 201, a data recovery sub-module 202, and a system check sub-module 203. The module referred to in the present invention is a program segment that performs a specific function. The program is more suitable for describing the execution process of the software in the control computer 2. Referring to Figure 5, there is shown a flow chart of a preferred embodiment of the data backup and recovery method of the present invention. In step SI, the BIOS 21 checks the main system in the main body circuit 20 of the server 2 when the server 2 is powered on, that is, checks whether the main system data of the server 2 is finished. 099140880 Form No. A0101 Page 8 / Total 20 pages 0992071133-0 [ 0028] 201222238 [0029] [0031] [0032] Whole. In the present embodiment, if ΒI 〇S 21 cannot find the boot program of the server 2 main system, or the boot program is damaged, it indicates that the main system data of the server 2 is incomplete. In step S2, the BI OS 21 determines whether the main system of the server 2 can be started. In this embodiment, if the main system data of the server 2 is incomplete, it indicates that the main system of the server 2 cannot be started, and the b I 〇s 21 sends a data recovery instruction to the backup circuit 22, and then performs the steps of the illusion. If the main system data of the server 2 is complete, it indicates that the main system of the server 2 can be started, and steps S4-S7 are directly executed. Step S3, after receiving the data recovery instruction, the data recovery complex module 202 obtains the initial system 30 backed up by the server 2 from the second storage: 25 of the backup circuit 22, and then performs step S4 « Step S4 ' BIOS 21 Collect system boot information from the primary system of the server 2 or the initial system 30 of the backup. In the present embodiment, the system boot information refers to the system boot program of the server 2. Specifically, if the main Qin system of the server 2 can be started, the BIOS 21 receives the Qin system from the main system of the server ..... . . . The boot information; if the main system of the server 2 is not bootable, the BIOS 21 collects system boot information from the backup initial system 30 of the server 2. In step S5, the BIOS 21 boots up to the main system of the server 2 or the initial system of the backup based on the collected system boot information. Specifically, if the host system of the server 2 can be booted, the BIOS 21 directly starts the host system; if the host system of the server 2 is not bootable, the BIOS 21 starts the initial system 30 of the backup of the server 2. 099140880 Form No. A0101 Page 9 / Total 20 Page 0992071133-0 201222238 [0034] [0036] Step S6 'The system check sub-module 2〇3 determines the main system of the server 2 or the backup Whether the initial system is a bare system. If the server 2 or the initial system of the backup is not a bare system, then step S7 is performed. • If the primary system of the server 2 or the initial system of the backup is a bare system, step S8 is performed. It can be understood that the primary system of the server 2 is not a bare system' and the initial system backed up by the server 2 is a bare system. In step S7, the server 2 executes the system task and controls the execution of the various applications. Step S8' The data recovery sub-modem 2〇2 obtains the main system backed up by the server 2 from the second storage 25 of the backup circuit 22, and transmits the backup main system to the body circuit 20 of the server 2, and then The server 2 is restarted, and the process returns to step S1. In this embodiment, the data backup sub-module 2〇1 backups the primary system of the secondary server 2, such as the first backup primary system 41 and the second backup master, every other preset time (for example, 5 minutes). The system "and the third backup main system 43 and the like. In the present embodiment, the data recovery sub-module 202 acquires the main system of the most recent injury of the ship 2 from the second storage 25 of the backup circuit 22. For example, Referring to FIG. 3, it is assumed that the backup time of the first backup main system 41 is 10:20 'the backup time of the second backup main system 42 is 1〇:25, and the backup time of the third backup main system 43 is 10:30. The data recovery sub-module one 202 selects the third backup main system 43, and (4) the third backup main system (10) sends the main circuit 20 of the server 2. In other embodiments, if the third backup (four) still cannot (4) (4), the second backup 099140880 Form number Α 0101 Page 10 / Total 20 pages 0992071133-0 [0037] 201222238 The main system 42 still can not start, then continue to start the first backup system ......, ..., and so on, until the backup The second reservoir 25 of the circuit 22 All backup main system loops are completed. [0038] [0040] [0044] [0044] [0046] [0046] [0047] Finally, it should be noted that the above embodiment is only The present invention has been described with reference to the preferred embodiments, which are to be understood by the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural view of a preferred embodiment of a data backup and recovery system of the present invention. FIG. 2 is an application of a preferred embodiment of the data backup and recovery system of the present invention. Figure 3 is a schematic diagram of a preferred embodiment of a backup circuit of the present invention. Figure 4 is a functional block diagram of a data backup and recovery module. Figure 5 is a flow diagram of a preferred embodiment of the data backup and recovery method of the present invention. Fig. [Explanation of main component symbols] Server: 2 Main circuit: 20 BIOS : 21 Backup circuit: 22 099140880 Form number A0101 Page 11 / Total 20 pages 0992071133 -0 201222238 [0048] First memory: 23 [0049] Processor: 24 [0050] Second memory: 25 [0051] Data backup and recovery module: 26 [0052] Backup initial system: 30 [0053 First backup main system: 41 [0054] Second backup main system: 42 [0055] Third backup main system: 43 [0056] Data backup and recovery system: 60 [0057] Data backup sub-module: 201 [0058] Data Recovery Sub-module: 202 [0059] System Check Sub-Module: 203 099140880 Form Number A0101 Page 12 of 20 0992071133-0

Claims (1)

201222238 七、申請專利範圍: 1 .種Μ料傷份與恢復系統,該系狀置於伺服器中,包括 本體電路和備份電路,其中: 所述本體電路用於儲存伺服器的主系統; 所述備伤電路包括儲存器和資料備份與恢復模組,所述備 伤電路的储存器用於儲存飼服器的備份初始系統、及一個 或多個伺服器的備份主系統; 所述資料備份與恢復模組,用於每隔一個預設時間,備份 一次伺服器的主系統,並將備份主系統保存於備份電路的 儲存器中; 厂:... . .... : ... 所述資料備份與恢復模組,還用於當伺服器的主系統不能 啟動時,從備份電路的儲存器中獲取該伺服器的備份初始 系統,當該備份初始系統啟動後,從該備份電路的儲存器 中獲取該伺服器的備份主系統,並將該備份主系統傳送給 該伺服器本體電路,然後重新啟動該伺服器。 2 ·如申請專利範圍第1項所述之資料備份與恢愎系統,其令 ,當伺服器主系統的備份數量達到一個預設值時,所述資 料備份與恢復模組用新備份的主系統覆蓋之前傷份的主系 3 .如申請專利範圍第2項所述之資料備份與恢復系統,其中 ,所述資料備份與恢復模組從該備份電路的儲存器中獲取 的該伺服器的備份主系統為飼服器最近一次備份的主系統 〇 4 .如申請專利範圍第1項所述之資料備份與恢復系統,其中 ,所述的備份初始系統是一種未安裝任何應用程式的裸系 099140880 表單編號Α0Ι01 第13頁/共20頁 0992071133-0 201222238 統’所述的備份主系統是一種安裝有應用程式的伺服器系 統。 如申請專利範圍第1項所述之資料備份與恢復系統,其中 ’所述備份電路的儲存器是一種NAND快閃儲存器晶片。 一種資料備份與恢復方法,該方法包括如下步驟: 在伺服器開機時檢查伺服器本體電路中的主系統是否可以 啟動; 如果S玄伺服器的主系統可以啟動,則直接啟動該伺服器的 主系統; 如果諄伺服器的主系統不可以啟動’則伺服器的B10S向 該伺服器中的備份電路發送資料恢復指令; 飼服器的備份電路接收到上述資料恢復指令後,從備份電 路的儲存器中獲取該伺服器的備份初始系統; 飼服器的B10 S從該備份初始系統中收集.系統引導資訊, 並根據收集的系統引導資訊,啟動到該備份初始系統;及 並 從該備份電路的儲存器中獲取該伺服器的備份主系統 將。玄備伤主系統傳送給該词服器本.體電路,然後重新啟動 該伺服器。 .如申請專利範圍第6項所述之資料備份與恢復方法,其中 ,所述備份電路每隔一個預設時間,備份一次伺服器的主 系統。 如申請專利範圍第7項所述之資料備份與恢復方法,其中 ’當伺服器主系統的備份數量達到一個預設值時,所述備 份電路用新備份的主系統覆蓋之前備份的主系統。 099140880 9 . 如申請專利範圍第8項所述之資料備份與恢復方法,其中 ,所述從該備份電路的儲存器中獲取的該伺服器的備份主 表單編號A0101 第14頁/共20頁 0992071133-0 201222238 i〇 . 系统為伺服器最近一次備份的主系統。 如申請專利範圍第6項所述之資料備份與恢復方法,其中 所述的備伤初始系統是一種未安裝任何應用程式的裸系 、、先,所述的備份主系統是一種安裝有應用程式的伺服器系 統0 Ο Ο 099140880 表單煸號Α0101 第15頁/共20頁 0992071133-0201222238 VII. Patent application scope: 1. The seed injury and recovery system, the system is placed in the server, including the body circuit and the backup circuit, wherein: the body circuit is used for storing the main system of the server; The backup circuit includes a storage and a data backup and recovery module, and the storage circuit of the preparation circuit is used for storing a backup initial system of the feeding device and a backup main system of one or more servers; The recovery module is used to back up the main system of the server every other preset time, and save the backup main system in the storage of the backup circuit; Factory: ... . . . : ... The data backup and recovery module is further configured to: when the main system of the server cannot be started, obtain the backup initial system of the server from the storage of the backup circuit, and when the backup initial system is started, from the backup circuit The backup main system of the server is obtained in the storage, and the backup main system is transmitted to the server main circuit, and then the server is restarted. 2. The data backup and recovery system described in claim 1 of the patent application, wherein when the number of backups of the server main system reaches a preset value, the data backup and recovery module uses a new backup master. The data backup and recovery system according to the second aspect of the invention, wherein the data backup and recovery module obtains the server from the storage of the backup circuit The backup main system is the main system for the last backup of the feeding device. The data backup and recovery system described in claim 1, wherein the backup initial system is a bare system without any application installed. 099140880 Form No. Ι0Ι01 Page 13 of 20 0992071133-0 201222238 The backup main system described in the system is a server system with an application installed. The data backup and recovery system of claim 1, wherein the storage of the backup circuit is a NAND flash memory chip. A data backup and recovery method, the method comprising the following steps: checking whether the main system in the server body circuit can be started when the server is powered on; if the main system of the S-gen server can be started, directly starting the server System; if the main system of the server cannot be started, then the B10S of the server sends a data recovery command to the backup circuit in the server; after the backup circuit of the feeding device receives the above data recovery command, the storage from the backup circuit Obtaining the backup initial system of the server; the B10 S of the feeding device collects the system boot information from the backup initial system, and starts to the backup initial system according to the collected system boot information; and from the backup circuit The storage of the server will get the backup of the primary system. The system of the mysterious injury is transmitted to the body circuit of the word processor, and then the server is restarted. The data backup and recovery method according to claim 6, wherein the backup circuit backs up the main system of the server every other preset time. For example, the data backup and recovery method described in claim 7 wherein, when the number of backups of the server main system reaches a preset value, the backup circuit overwrites the previously backed main system with the newly backed main system. 099140880 9. The data backup and recovery method according to claim 8, wherein the backup main form number A0101 of the server obtained from the storage of the backup circuit is 14 pages/20 pages 0992071133 -0 201222238 i〇. The system is the primary system that was last backed up by the server. The method for backing up and restoring data according to claim 6, wherein the initial system for preparing the injury is a bare system without any application installed, and the backup primary system is an application installed. Server System 0 Ο Ο 099140880 Form Α Α 0101 Page 15 / Total 20 Page 0992071133-0
TW99140880A 2010-11-26 2010-11-26 System and method for performing a backup and recovery of system data TW201222238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99140880A TW201222238A (en) 2010-11-26 2010-11-26 System and method for performing a backup and recovery of system data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99140880A TW201222238A (en) 2010-11-26 2010-11-26 System and method for performing a backup and recovery of system data

Publications (1)

Publication Number Publication Date
TW201222238A true TW201222238A (en) 2012-06-01

Family

ID=46725154

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99140880A TW201222238A (en) 2010-11-26 2010-11-26 System and method for performing a backup and recovery of system data

Country Status (1)

Country Link
TW (1) TW201222238A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI551977B (en) * 2015-08-18 2016-10-01 英業達股份有限公司 Setting restoring system
TWI802340B (en) * 2022-03-25 2023-05-11 啟碁科技股份有限公司 Backing up and recovering method of file system and communication device thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI551977B (en) * 2015-08-18 2016-10-01 英業達股份有限公司 Setting restoring system
TWI802340B (en) * 2022-03-25 2023-05-11 啟碁科技股份有限公司 Backing up and recovering method of file system and communication device thereof

Similar Documents

Publication Publication Date Title
US9552168B2 (en) Virtual machine backup from storage snapshot
US20230081841A1 (en) In-place cloud instance restore
AU2014374256B2 (en) Systems and methods for improving snapshot performance
DE102013112672B4 (en) Data store for a remote environment
US9031917B2 (en) Efficient backup and restore of virtual input/output server (VIOS) cluster
EP2488946B1 (en) Item-level restoration and verification of image level backups
US9558076B2 (en) Methods and systems of cloud-based disaster recovery
US20120150816A1 (en) Method and tool to overcome vios configuration validation and restoration failure due to drc name mismatch
US9916205B2 (en) Secure live virtual machine guest based snapshot recovery
CN105607972B (en) A kind of method and device repaired extremely
WO2015074200A1 (en) Method, system and apparatus for generating snapshot
CN103744708A (en) Method of fixing disk device names in Linux operating system
US10402264B2 (en) Packet-aware fault-tolerance method and system of virtual machines applied to cloud service, computer readable record medium and computer program product
TW201301016A (en) System and method for performing data backup and recovery
TW200305807A (en) Basic input/output system (BIOS) shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure
CN102479115A (en) Data backup and recovery system and data backup and recovery method
US20150106334A1 (en) Systems and methods for backing up a live virtual machine
US8880472B2 (en) Method of backing-up, and making available, electronic data and software initially stored on a client server
CN115904809A (en) Data recovery method and electronic equipment
TWI310157B (en) Method for changing booting source of a computer system and related backuping/restoring method thereof
US20150269029A1 (en) Immediate Recovery of an Application from File Based Backups
TW201222238A (en) System and method for performing a backup and recovery of system data
CN104461767B (en) A kind of information processing method and the first electronic equipment
US20160004607A1 (en) Information processing apparatus and information processing method
US20120150809A1 (en) Disaster recovery services