- 论坛徽章:
- 0
|
备份一般的目录或远程释放目录(即边tar边释放),我一般使用 tar 命令。备份/还原整个系统或分区用 ufsdump。ufsdump的优点是可以分级备份。 总之,看你想干什么。下面的几条可供你参考:
What Command Is Best for Certain Tasks?
Perform full and incremental backup and restores:Use ufsdump and ufsrestore.
Clone entire disks:Use dd.
Copy file systems from one disk to another:Use cpio.
Package files and directories and transport them across UNIX systems:Use tar
(最常用的要数 tar 和 ufsdump了。The ufsdump command, together with the ufsrestore commands, is the most powerful of all backup utilities supplied by Sun for its Solaris operating system. If you’re not using any third-party utilities to back up your systems, chances are that you are using these commands to back up your system. These tools were written specifically to back up and restore UFS file systems.
The tar command stands for tape archiver and is probably the most well-known UNIX backup utility and archiver. Most software and source code that is written for UNIX systems is packed and distributed in TAR format because it is available on almost every UNIX system.) |
|