IV. gzip compression: the gunzipLinux standard compression tool can achieve a compression ratio of 75% for text files compress, and the uncompress old Unix compression tool bzip2, bunzip2's Linux compression tool has a higher compression ratio than gzip,
IV. compression
Gzip, gunzip
Linux standard compression tool
Up to 75% compression ratio for text files
Compress, uncompress VcD4KPHA + vsm1xFVuaXjRucv1uaS + 3zwvcD4KPHA + Incubator/NDCtcRMaW51eNG5y/incubator + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140108/2014010813024927.jpg" alt = "\">
5. packaging (tar)
Used for backup on a tape drive, floppy disk, or ZIP device. It can also be backed up on a hard disk file. (Compression function is not provided)
Main parameters:
C: back up the file
V: process output
F: change the file name after packaging.
T: list the content in the tar package
X: solves the backup from a file.
Z: Use the gzip tool for compression
J: use bz2 tool for compression
C: change the file path after packaging
System (dump/restore)
Back up and restore the ext2/3 file system
It cannot be used on other file systems
You can choose to perform full backup or incremental backup.
Dump-0u-f/var/tmp/hda2dump/dev/hda1: back up/dev/hda1 to the/var/tmp/hda2dump file.
0: indicates full backup.
U: write the backup record to/etc/dumpdates (this parameter can be used only in the top-level Directory of the backup partition)
F: specifies the path to the backup file.
Restore-rf/var/tmp/hda2dump: restore the backup file
R: restore the backup file
T: list the contents of the backup file.
F: specifies the backup file.