Download Image for Linux User Manual
Transcript
Note: Depending on the Linux shell being used, when filenames or options contain spaces or dashes and must be surrounded by quotes, you may need to use an alternate syntax than the one shown in the parameter examples. Four are shown below: 1. imagel -v --f:" mnt1/my backup file" 2. imagel -v --f "mnt1/my backup file" 3. imagel -v --f:\"mnt1/my backup file\" 4. imagel -v "-f:mnt1/my backup file" If the incorrect syntax is used Image for Linux will report an invalid parameter and exit with an error code. The first parameter, -b, identifies that you want to perform a backup. The second parameter, --d:0, identifies the drive to back up. This example backs up Hard Drive 0. The next part of that parameter, @0x01, identifies the partition to back up on the selected hard drive; this example backs up the first partition. If you want to back up the entire drive, simply omit the part of the parameter that identifies the partition. The third parameter, -f, identifies that you are about to specify where to store the backup file. 1 identifies the target drive and @0x01 again identifies the partition; in this example, Image for Linux will store the backup file on Hard Drive 1 in the partition with ID 0x01. The information after @0x01 represents the path and file name where you want to store the backup file. In this example, Image for Linux stores the backup file in /mypath/filename. To list partitions on a hard drive, you would type: imagel -l --d:0 When listing information, you can include the --d parameter to list partitions for a specific drive (if you omit --d, Image for Linux lists partitions on all hard drives). When you specify command line options, you use the following syntax: - The dash works on single character options, such as b in the example. When you use the dash, Image for Linux processes only the first character that follows the dash as an option. If you wanted to specify two single character options in a row, you could precede each by a dash. Or, you can use the next method. -- Two dashes indicate a multiple character option. For example, to specify the base option, you type --base. Image for Linux User Manual Page 80 of 150