Restores dump compressed files.
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.
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. |
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
/usr/bin/dmpuncompress dump.BZ
The dump.BZ file is uncompressed and renamed dump.
/usr/bin/dmpuncompress -p dump.BZ
/usr/bin/dmpuncompress