Ghost parameters, Command Operations Guide _dos/bat

Source: Internet
Author: User
Ghost parameters, Command Operations Guide  ghost All command operations are based on-clone parameters, and its syntax is-clone,mode= (operation), src= (source), dst= (destination), [ SZE (size), SZE (size) ...]   mode is the type of operation, preferably as follows: Copy: disk to disk; Load: files to disk; Dump: disk to file; Pcopy: partition to partition; Pload: file to partition; Pdump: Partition to File-- The most commonly used is the pdump and pload of zoning. The SRC in   syntax is the source of the action, either disk, partition, or mirrored file.   In the same vein, DST is the target, it can also be a disk, partition, or mirrored file, depending on what you do:   size is rarely used, it is used to partition from image to disk operation, the value of the exact number m, or percent p, assuming that there is a 8G hard disk , size1=4096m,size2=4096m means that the hard drive is adjusted to two 4G partitions; the size1=50p,size2=50p function is the same, where the number before p represents the percentage of the hard disk.   Other commonly used parameters typically have three: -sure automatically answer yes without prompting.  -rb  automatic restart  -ZN where n to replace the number, representing the compression ratio, such as taking 1 of direct transfer into the GHO, not compression, and 9 is the maximum compression   for example:  g:\ghost\ghost 03.exe -clone,mode=pdump,src=1:2,dst=g:\backup\winxp.gho -z7 -sure -rb  g:\ghost\  ghost03.exe -clone,mode=pload,src=g:\backup\winxp.gh1,dst=1:2 -sure -rb  These two are respectively for the D-Disk of Windows XP to do image and restore the image of the operation. The call is the Ghost03.exe program in the G Disk Ghost directory. The image is stored under G:\backup, and 1:2 of the two commands mean the second partition of the first hard drive. The-z7 represents the compression ratio of number 7th. Automatically restarts when the operation is complete。 Note that the gho of the Restore command is followed by a: 1, which is because the Gho file can be made into multiple partitions, and the partition is restored with a colon followed by a number. If a Gho file contains only one partition information, use 1.   below give you a list of ghost parameters I know: -z  compress the contents of a disk or partition to an image file. Z or-Z1 is low compression rate (fast),-Z2 is high compression rate (medium speed),-z3 to-z9 compression rate increases sequentially (speed slows down)  -rb  automatically restarts after this operation  -fx  This ghost operation end exit automatically back to the DOS prompt, be careful not to conflict with-RB.  -sure  answer "Yes" to all prompts or warnings that require confirmation. This parameter has a certain risk and is recommended only for advanced users.  -fro  if the source partition finds a bad cluster, skip prompting for a forced copy. This parameter can be used to try to save data in the hard drive bad track.   @filename   Specify TXT file in filename. TXT file is an additional parameter for ghost, which is not limited by the DOS command line 150 characters.  -f32  Convert the source FAT16 partition copy to FAT32 (provided the target partition is not less than 2G). Winnt 4 and WINDOWS95, 97 users use caution.  -bootcd  when you back up files directly to the CD, this option makes the disc bootable. This process needs to be put into the boot disk.  -fatlimit  Limit NT FAT16 partitions to 2G. This parameter is useful when replicating windows nt partitions and not using the FAT16 of the 64k/cluster.  -span  volume parameters. Another backup package that prompts for replication to another partition when there is insufficient space.  -auto  when the volume copy is not prompted automatically give a filename to continue execution.  -crcignore  ignore the Crc error in the backup package. Do not use this parameter to prevent data errors unless you need to salvage the data in the backup package.  -ia  all images. Ghost backs up all the partitions on the hard disk.  -ial  all images, similar to-ia parameters, backup Linux partitions one by one.  -id  all images. Similar to the-ia parameter, but contains the boot information for the partition.  -quiet  prohibited during the operationStop status updates and user intervention.  -script  can execute multiple ghost command lines. The command line is stored in the specified file.  -span  enable cross-volume functionality for image files.  -split=x  divides the backup package into multiple volumes, each with an X-megabyte size. This feature is very useful for large backup packages to be replicated to mobile storage devices, such as copying a 1.9G backup package onto 3 burn discs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.