Ghost自动备份与还原系统

类别:软件工程 点击:0 评论:0 推荐:


config.sys

[menu]
menuitem=Clone,Backup your system.
menuitem=RestoreHD,Restore from HD.
menudefault=Clone,30
menucolor=7,0

[Clone]
device=himem.sys /testmem:off

[RestoreHD]
device=himem.sys /testmem:off

[COMMON]
files=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z

Autoexec.bat

@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=d:\
set tmp=d:\
path=a:\

IF "%config%"=="Clone"   goto Clone
IF "%config%"=="RestoreHD"  goto RestoreHD
:Clone
ghost -clone,mode=pdump,src=1:1,dst=d:\system.gho -z1 -sure
goto quit

:RestoreHD
ghost -clone,mode=pload,src=d:\system.gho:1,dst=1:1 -sure -rb
goto quit

:quit

本文地址:http://com.8s8s.com/it/it35304.htm