ITPUB论坛 » IBM数据库产品 » OFFLINE备份到磁带,怎么查看磁带上的内容?
新一届的微软MVP评选已经开始,欢迎各位推荐!
2008-6-20 09:46 春雨惊春
OFFLINE备份到磁带,怎么查看磁带上的内容?

有些很久以前的磁带,是OFFLINE备份,怎么查看上面的备份内容?

2008-6-20 09:51 wangzhonnew
db2audtl if you are using TSM
[url]http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/r0002077.htm?resultof=%22%64%62%32%61%64%75%74%6c%22%20[/url]

if it's other storage system, use vendor software to check

2008-6-20 09:54 春雨惊春
我是用DB2 BACKUP DB XXXX TO  /DEV/RMT1 WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1
来备份的,没有通过第三方的备份软件。

2008-6-20 14:05 diablo2
db2ckbkp

2008-6-21 08:39 whiterain
to  wangzhonnew ,人家用的小磁带,不是磁带库,没用tsm,操作那个小磁带,就象操作fs一样简单,呵呵

2008-6-27 13:15 春雨惊春
[quote]原帖由 [i]diablo2[/i] 于 2008-6-20 14:05 发表 [url=http://www.itpub.net/redirect.php?goto=findpost&pid=10725566&ptid=1009062][img]http://www.itpub.net/images/common/back.gif[/img][/url]
db2ckbkp [/quote]

该命令不支持磁带?

2008-6-27 15:52 diablo2
不可能

2008-6-30 10:33 春雨惊春
db2ckbkp果然用得很爽,呵呵

2008-6-30 16:18 banker
不知道使用use tsm进行备份的backup image,可以通过db2ckbkp 来检查么?
可以通过db2ckbkp 来检查备份文件的大小么?

一直不知道use tsm备份的数据库备份文件如何查看大小在tsm上的

2008-6-30 21:46 wangzhonnew
don't think db2ckbkp support TSM, you can use db2adutl with "verify" option to valicate backup image on TSM
[url]http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0002077.htm[/url]

2008-7-4 16:50 banker
多谢Wangzhonnew,verify这个参数原来还真的没注意,呵呵,都用query了,得到的信息很少,估计是不读带,只是api这边的信息。

ok,用verify这个参数呢,我用了verify all ,结果还是得到的不是很理想的结果,没有一个total的大小统计给image,只是把image详细的信息给我们了。但DBA往往更关心image的大小。

不知道大家有什么高见?

2008-7-4 19:09 wangzhonnew
if you want to check the total size of a file on tape, maybe there's vendor library can be used to review the size of file...

2008-7-8 13:17 banker
没错,通过tsm的管理端是肯定可以看到备份文件的大小的。

I just wondering if there's any way to find the total size of img from DB2 api or client ....

尝试过一些,无解。

2008-7-8 13:51 fck
unix下面有一个tcopy可以看磁带里面的文件大小

2008-9-18 12:00 lupic
db2ckbkp -H /dev/rmt/0m
可以看到Backup Buffer Size。

页: [1]


Powered by ITPUB论坛