- 论坛徽章:
- 0
|
TAR命令
Backup Syntax:
tar -czvf [target device] [source] -----
This command will compress and backup files / directories to tape. The command options are as follows: -c = create, -z = zip, -v = verbose, -f = destination file (usually a device file, in this case).
=================
Restore Syntax: tar -xzvf [target device] -----
This command will restore files / directories that reside in the archive on the tape. The command options are as follows: -x = extract, -z = zip, -v = verbose, -f = destination file (usually a device file, in this case). |
|