Appendix

Ghost Command Line Switches Reference

Ghost may be run in interactive or in batch mode. Batch mode is useful for automat- ing installations for backups using Ghost. Most of the Ghost switches are used to assist with batch mode operation. To list switches from Ghost, type ghost.exe -h.

-clone

The full syntax for this switch is:

clone,MODE={copyloaddumppcopyploadpdump},SRC= {drivefiledrive:partition,DST={drivefiledrive:partition},SZE{FLn= {nnnnMnnPFV}}

Clone using arguments. This is the most useful of the batch switches and has a series of arguments that define:

a)MODE This defines the type of clone command to be used:

COPY disk to disk copy

LOAD file to disk load DUMP disk to file dump PCOPY partition to partition copy PLOAD file to partition load PDUMP partition to file dump

b)SRC This defines the source location for the operation:

Mode Meaning: COPY/

DUMP Source drive (e.g, 1 for drive one)

LOAD Disk image filename or device (e.g, g:\Images\system2.img)

PCOPY/

PDUMP Source partition e.g, 1:2 indicates the second partition on drive one.

PLOAD Partition image filename or device and partition number. Example: g:\images\disk1.img:2 indicates the second partition in the Image file.

A-13

Page 60
Image 60
Compaq 370, 60002MC10, PC100 specifications Appendix Ghost Command Line Switches Reference