Extract cpio files CPIO-IDMV < Filename.cpio
You can also extract the img file: CPIO-IDMV < Filename.imgcpio
Backup command backup: CPIO-COVB > [File|device]
To back up data to a file or device: Cpio-icduv < [File|device}
Restore data to the system common parameters:-o: Copy data to a file or device
-I: Restoring data from a file or device to a system
-T: View the file or device content created by Cpio
-C: A relatively new portable format storage
-V: Displays the file name in the backup process on the screen
-B: Allow preset blocks to be increased to 5120bytes, by default 512bytes, which can speed up backup
-D: Automatically create a directory so that no path can be found when the restore occurs
-u: Update, overwrite old files with newer files Cpio often used with find
Oracle used this archive and had to record it.
#gunzip file name. Cpio.gz
#cpio-IDMV < filename. Cpio
# CPIO-IDVM < Aix_oracle817_32_disk1.cpio
cpio:0511-903 out of phase!
Cpio attempting to continue ...
cpio:0511-904 skipping 124796 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt!
cpio:0511-027 The file name length does not match the expected value.
# Mans Cpio
C Reads and writes header information in ASCII character form. If a cpio archive
was created using the C flag, it must is extracted with C flag.
Plus the parameter c is OK.
Cpio-idvmc < Aix_oracle817_32_disk1.cpio
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/