Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > restore (重定向恢复数据库)
【标  题】:restore (重定向恢复数据库)
【关键字】:restore
【来  源】:http://www.cublog.cn/u/5003/showart.php?id=156227

restore (重定向恢复数据库)

Your Ad Here
1.检查备份数据库的表空间名和对应的containers。 0 SYSCATSPACE 2 CIGSPACE 3 FLOWSPACE 4 PPSPACE 5 USERSPACE 6 IDXCSPACE 7 IDXCSPACE 8 IDXCSPACE 9 TEMPSPACE 2.检查要恢复的服务器是否有足够的containers去对应相应的表空间,检查那些裸设备的大小和备份数据库每个space的pagesize大小,要一致。 3.执行命令进行恢复 db2 restore db stmaold taken at 20060809 redirect db2 "set tablespace containers for 0 using (path '/home/db2admin/db2admin/NODE0000/SQL00001/SQLT0000.0')" db2 "set tablespace containers for 2 using (device '/dev/dbvg/rdb2ciglv' 64000)" db2 "set tablespace containers for 3 using (device '/dev/dbvg/rstma_user102' 6400)" db2 "set tablespace containers for 4 using (device '/dev/dbvg/rstma_user103' 6400)" db2 "set tablespace containers for 5 using (device '/dev/dbvg/rdb2userlv' 32000)" db2 "set tablespace containers for 6 using (device '/dev/dbvg/rstma_index01' 6400)" db2 "set tablespace containers for 7 using (device '/dev/dbvg/rstma_index02' 6400)" db2 "set tablespace containers for 8 using (device '/dev/dbvg/rstma_index03' 6400)" db2 "set tablespace containers for 9 using (device '/dev/dbvg/rstma_temp01' 51200)" db2 restore db stmaold continue ROLLFORWARD DATABASE stmaold complete 注:lvcreate -L 2048 -n db2ciglv /dev/dbvg lvdisplay stma_user101
DB2 Data Type and Attribute:【上一篇】
C++中读写文件:【下一篇】
【相关文章】
  • iptables-restore
  • dbms_backup_restore包的使用
  • db2 install/restore/client connect
  • backup restore recovery utility
  • ufsrestore--- Restoring a Complete File System
  • Backup and Restore with TAR
  • Linux下执行程序时发生错误: cannot restore segment prot after reloc: Permission denied
  • How to backup and how to restore Solstice DiskSuit
  • Win2K/XP SDT Restore 0.2 (Proof-Of-Concept)
  • Backup or Restore SQL Server Database to another server.
  • 【随机文章】
  • Excel中Basic程序的运行
  • VOIP语音网关配置说明
  • 了解硬件级别的安全和虚拟化技术
  • VB 从零开始编外挂(三)
  • 在ASP.NET中实现Url Rewriting(非常的有价值!)
  • 如何在windows程序中读取bios内容
  • 静态网格椭球
  • RouterOS设置以及常见问题
  • 金融行业解决方案
  • 如何调用存储过程
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.