免费注册 查看新帖 |

Chinaunix

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

Unix 命令普及:如何用tar命令备份300G分区到20G的磁带机上~~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-10 14:36 |只看该作者 |倒序浏览
man tar\r\nUser Commands                                              tar(1)\r\n\r\nNAME\r\n     tar - create tape archives and add or extract files\r\n\r\nSYNOPSIS\r\n     tar c[BDeEFhilnopPqTvw@[0-7]][bf k ][X...] [blocksize]\r\n         [tarfile] [ size ] [exclude-file]...\r\n         {file | -I include-file | -C directory file}...\r\n\r\n     tar r[BDeEFhilnqTvw@[0-7]][bf k ] [blocksize] [tarfile]\r\n         [ size ]\r\n         {file | -I include-file | -C directory file}...\r\n\r\n     tar t[BeFhilnqTv[0-7]][f k ][X...] [tarfile] [ size ]\r\n         [exclude-file]... {file | -I include-file}...\r\n\r\n     tar u[BDeEFhilnqTvw@[0-7]][bf k ] [blocksize] [tarfile]\r\n         [ size ] file...\r\n\r\n     tar x[BeFhilmnopqTvw[0-7]][f k ][X...] [tarfile] [ size ]\r\n         [exclude-file]... [file]...\r\n\r\nDESCRIPTION\r\n     The tar command archives and extracts files to  and  from  a\r\n     single  file  called  a tarfile. A tarfile is usually a mag-\r\n     netic tape, but it can be any file. tar\'s actions  are  con-\r\n     trolled by the key argument.  The key is a string of charac-\r\n     ters containing exactly one function letter (c, r, t , u, or\r\n\r\n    k             Requires tar to use the size argument as  the\r\n                    size of an archive in kilobytes. This is use-\r\n                    ful when the archive is intended for a  fixed\r\n                    size device such as floppy disks. Large files\r\n                    are then split across volumes if they do  not\r\n                    fit in the specified size.\r\n\r\n示例:\r\ntar cfk /dev/rmt/0 10240 ~\r\ntar: please insert new volume, then press RETURN.\r\ntar: please insert new volume, then press RETURN.\r\ntar: please insert new volume, then press RETURN.\r\n....

论坛徽章:
0
2 [报告]
发表于 2008-12-11 12:41 |只看该作者
  原来用小1/2磁带的使用用过,150MB一盘

论坛徽章:
0
3 [报告]
发表于 2008-12-11 15:10 |只看该作者
突然有个想法\r\n如果磁带机能大规模生产把成本降下来 放视频倒是很有前途\r\n容量比蓝光光碟都大N多\r\n录像机复活...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP