
Preserves the specified files if they exist. The task does not fail if the specified files do not
exist. To preserve files or directories other than the image file, the syntax is as follows:
-preserveifexists=filepath[=newpath] [,filepath[=newpath]...]
Each filepath can refer to an individual file or a directory. All files and subdirectories of a
specified directory are preserved. If a file does not exist, then the restore fails. After a Clone
step in a task, all preserved files are added back to the destination specified by the
-preservedest=n switch, renaming them to newpath where specified. You must use the
-preserveifexists switch with -preservedest.
-preserveifexists
Specifies that password protection be used when creating an image file.
x indicates the password for the image file. If no password is given in the switch, Symantec
Ghost prompts for one. You can enter a maximum of 10 alphanumeric characters.
-pwd and -pwd=x
The quiet mode switch disables status updates and user intervention.
-quiet
Restarts after finishing a restore or copy. After completing a restore or copy operation, the
target computer must be restarted so that the operating system can restore the new
disk/partition information. Normally, Symantec Ghost prompts the user to restart or exit.
The -rb switch tells Symantec Ghost to restart automatically after it completes the restore
or copy. This is useful when automating Symantec Ghost in a batch command file.
For more information, see the -fx switch.
-rb
Sets the default to recover preserved files if a previous restore has failed and the File
Preservation Metadata File still exists. If this switch is not used, the default is set to abort.
-recover
Allows you to specify a series of commands (one per line) that Symantec Ghost will execute
in sequential order.
For example:
ghost -script=script.txt
Following is an example of script.txt:
-clone,mode=create,src=2,dst=1:1\drv2.gho
-chkimg,1:1\drv2.gho
-clone,mode=create,src=2,dst=c:\part2.gho
-chkimg,c:\part2.gho
In this example 1:1 is equivalent to c:\.
-script
Command-line switches
Command-line switches
144
Содержание GHOST IMAGING FOUNDATION 7.1
Страница 1: ...Symantec Ghost Imaging Foundation 7 1...
Страница 3: ...Symantec Corporation 20330 Stevens Creek Blvd Cupertino CA 95014 http www symantec com...
Страница 78: ...Managing partitions using GDisk Support for large hard disks 78...
Страница 100: ...Editing registry keys and values using GhRegEdit Using GhRegEdit 100...
Страница 116: ...Using GhostCasting to create and restore images Running Ghost exe on a client computer 116...
Страница 122: ...GhostCasting from the command line GhostCast Server command line options 122...
Страница 130: ...GDisk disk wipe specifications Determining disk size 130...
Страница 166: ...Ghost for Linux Symantec Ghost utility support 166...
Страница 170: ...Configuring firewalls Symantec Ghost port configuration 170...
Страница 180: ...Troubleshooting Problems running Symantec Ghost 180...