dmpuncompress Command
Purpose
Restores dump compressed files.
Syntax
Description
The dmpuncompress command restores original dump files that were compressed at dump time.
Each compressed file specified by the File parameter is removed and replaced by an expanded copy. The expanded file has the same name as the compressed version, but without the .BZ extension. If the user has root authority, the expanded file retains the same owner, group, modes, and modification time as the original file. If the user does not have root authority, the file retains the same modes and modification time, but acquires a new owner and group.
Flags
Item | Description |
---|---|
-f File | Forces expansion. Overwrites the file if it already exists. The system does not prompt the user that an existing file will be overwritten. File size might not actually shrink. |
-p File | Preserves original .BZ file and uncompressed dump file. This overrides removal of the compressed file when there is a successful restoration of the original dump file. If restoration of the original dump file is incomplete because of an error, this option disables removal of the partial dump. |
Exit Status
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
Example
- To uncompress the dump.BZ file, enter:
/usr/bin/dmpuncompress dump.BZ
The dump.BZ file is uncompressed and renamed dump.
- To keep the dump.BZ file and the newly
created dump file in the file system following completion, enter:
/usr/bin/dmpuncompress -p dump.BZ
Location
/usr/bin/dmpuncompress