OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

damrstr (Restore a physical file)

Format

damrstr [-c batch-processing-blocks-count][-e restore-destination-physical-file-block-length|-p restore-destination-physical-file-block-length] {backup-file-name physical-file-name|-s physical-file-name}

Function

The damrstr command restores to a specified physical file data or standard input data from a file backed up by the dambkup command.

Options

-c batch-processing-blocks-count~<unsigned integer> ((1-2147483647)) <<10>>

Specifies the number of blocks to be input or output simultaneously.

-e restore-destination-physical-file-block-length~<unsigned integer> ((sector-length x n-8))

Specifies the block length of the restore destination physical file in bytes, up to a maximum of 32,760 bytes. Specify a value that is either the same as or larger than the block length of the backup source physical file. Specifying this option maintains the block structure of the backup source physical file. The extended portions of each block in the restore destination DAM file are filled with NULL characters. If you omit this option and the -p option, the file is restored with the same block length as the backup source physical file.

-p restore-destination-physical-file-block-length~<unsigned integer> ((sector-length x n-8))

Specifies the block length of the restore destination physical file in bytes, up to a maximum of 32,760 bytes. Specify a value that is either the same as or larger than the block length of the backup source physical file. If you specify this option, the restore destination physical file does not keep the block structure of the backup source physical file because the backup data is saved starting from the first block in the destination file. If you omit both this option and the -e option, the file is restored with the same block length as the backup source physical file.

-s

This option must be specified when the restore source is a standard input.

Command arguments

file-name~<path name>

Specifies the name of the restore source file.

This command argument cannot be specified with the -s option.

physical-file-name~<path name>

Specifies the physical file name of the restore destination DAM file, expressed as the full path name.

Notes