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 this for Windows 2000, XP, Vista or Server 2003. Use the Windows 7 Backup process for Windows 7.

  1. Use Symantec's Partition Magic to create a FAT32 partition. Make the partition about 1/3 the size of the drive.
  2. 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.
  3. Create a DOS boot floppy or bootable CD.
  4. Boot to DOS using your floppy or CD. You should see the options in G.Bat.

To back up your c:\ drive boot from the floppy & enter GBak. The batch file will create a \BK folder on the Fat32 partition with an image of your NTFS c:\ drive in FAT32 c:\bk\c.gho. If you want to burn the image to CDs you can limit them to 680mb by putting the -split=680 before the -sure parameter.

To Restore your image and overwrite the NTFS c:\ partition, boot from your floppy & enter GRes. After the PC reboots, it will run ChkDsk and may ask you to reboot again.


@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


Close