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