免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4163 | 回复: 9
打印 上一主题 下一主题

ufsdump好还是tar好? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-07 05:01 |只看该作者 |倒序浏览
备份文件系统,选择tar好还是ufsdump?

当然二者都可以,在这里发此帖是想知道两个命令的差别和利弊。

tar为unix最通用最常用的备份命令
而ufsdump应该是Solaris专用的命令吧?

本人懒人多发帖,有兴趣的请赐教一二,谢谢。

论坛徽章:
0
2 [报告]
发表于 2006-05-07 11:15 |只看该作者
ufsdump is better than tar

论坛徽章:
0
3 [报告]
发表于 2006-05-07 12:16 |只看该作者
ufsdump好

论坛徽章:
0
4 [报告]
发表于 2006-05-07 14:24 |只看该作者
用法不同的
ufsdump只能dump整个文件系统分区
tar可以tar单个目录

论坛徽章:
0
5 [报告]
发表于 2006-05-07 16:10 |只看该作者
不如用fssnap+tar/ufsdump了

论坛徽章:
0
6 [报告]
发表于 2006-05-07 17:41 |只看该作者
有没有人觉得cpio好呀

论坛徽章:
0
7 [报告]
发表于 2006-05-07 21:25 |只看该作者
要看你想干什么.

论坛徽章:
0
8 [报告]
发表于 2006-05-08 08:56 |只看该作者
cpio上次作完竟然有问题,所以都改ufsdump了

论坛徽章:
0
9 [报告]
发表于 2006-05-08 10:19 |只看该作者
备份一般的目录或远程释放目录(即边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.)

论坛徽章:
0
10 [报告]
发表于 2006-05-17 15:06 |只看该作者
要有例子就更好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP