Agee Software, Inc.
Norton Ghost Backup
These three batch files simplify backup of your C:\ drive NTFS partition using Norton Ghost 2003 from Symantec.- Use Symantec's Partition Magic to create a FAT32 partition. Make the partition about 1/3 the size of the drive.
- Paste each of the three batch files below into Notepad and save them to the Fat32 partition as G.bat, GBak.bat & GRes.bat. Copy Ghost.exe to that partition too.
- Create a DOS boot floppy or bootable CD.
- Boot to DOS using your floppy or CD. You should see the options in G.Bat.
@echo off
:Main Menu. Save as G.Bat
c:
cd\
cls
echo GBAK Back up NTFS C: to Fat32 C:\bk\c.gho
echo GRES Restore from c:\bk\c.gho without backup
@echo off
echo GBAK.BAT - Backs up 1st NTFS partition on 1st drive to \bk\c.gho
echo Remove boot disk in about two minutes. PC will reboot when done.
echo Press ctrl-c to cancel or
pause
md \bk>nul
echo y|del \bk\*.g*>nul
\ghost -ntd -ntchkdsk -fdsz -noide -clone,mode=pcreate,src=1:1,dst=\bk\c.gho -z9 -rb -sure
: -split=680 for CD's
@echo off
if not exist \bk\c.gho goto bad
cls
echo GRES.BAT - WARNING! THIS OVERWRITES YOUR C: DRIVE!
echo Restores 1st NTFS partition on 1st drive from \bk\c.gho
echo Press ctrl-c to cancel or
pause
echo Remove boot disk in about two minutes. PC will reboot when done.
\ghost -ntd -ntchkdsk -fdsz -noide -clone,mode=prestore,src=\bk\c.gho:1,dst=1:1 -rb -sure
goto done
:bad
echo Can't find \bk\c.gho
:done
;Config.sys for bootable disk [menu]
menuitem=plain, No drivers. Backup.
menuitem=cdr, CDRom only [plain] [cdr]
dos=high
device=himem.sys
device=sjcdapi.sys /d:mscd000 [common]
files=20
@echo off
:Autoexec.bat for bootable disk
if %config%==plain c:\g.bat
if %config%==plain goto done
mscdex /d:mscd000
MOUSE.COM
:done
Files on Boot disk IO.SYS (Hidden)
MSDOS.SYS (Hidden)
COMMAND.COM
CONFIG.SYS
HIMEM.SYS
SJCDAPI.SYS
MOUSE.COM
AUTOEXEC.BAT
MSCDEX.EXE
G.bat
GBAK.BAT
GRES.BAT