DB2 RECOVER概述

来源:互联网 发布:oracle数据库最高权限 编辑:程序博客网 时间:2024/05/23 15:15

 

Recover overview

恢复概述

The recover utility performs the necessaryrestore and roll-forward operations to recover a database to a specified time,based on information found in the recovery history file. When you use thisutility, you specify that the database be recovered to a point-in-time or tothe end of the log files. The utility will then select the best suitable backupimage and perform the recovery operations.

恢复工具执行必要的还原和rollforward操作去恢复一个数据库到一个特定的时间.当你使用这个工具,你指定数据库被恢复的时间点或者日志文件的结束。这个工具将选择最合适的备份镜像执行恢复操作。

For recovering databases, you can usethe task assistant available in IBM® Data Studio Version 3.1 orlater. Task assistants can guide you through the process of setting options,reviewing the automatically generated commands to perform the task, and runningthese commands. For more details, see Administeringdatabases with task assistants.

恢复数据库,你可以使用IBM data studio version3.1或者以后版本中的任务向导。

The recover utility does not support thefollowing RESTORE DATABASE command options:

恢复工具不支持以下restore database命令选项

  • TABLESPACE tablespace-name. Table space restore operations are not supported.
  • TABLESPACE表空间名。表空间还原操作不被支持
  • INCREMENTAL. Incremental restore operations are not supported.
  • INCREMENTAL增量还原操作不被支持
  • OPEN num-sessions SESSIONS. You cannot indicate the number of I/O sessions that are to be used with TSM or another vendor product.
  • OPEN会话。你不能指定IO会话数(用TSM或者其他厂商的产品)
  • BUFFER buffer-size. You cannot set the size of the buffer used for the restore operation.
  • BUFFER缓冲池大小。你不能设置还原操作的缓冲池大小。
  • DLREPORT file name. You cannot specify a file name for reporting files that become unlinked.
  • WITHOUT ROLLING FORWARD. You cannot specify that the database is not to be placed in roll-forward pending state after a successful restore operation.
  • WITHOUT ROLLING FORWARD。你不能在成功的还原操作之后指定数据库置于rollforward等待状态
  • PARALLELISM n. You cannot indicate the degree of parallelism for the restore operation.
  • WITHOUT PROMPTING. You cannot specify that a restore operation is to run unattended你不能指定一个还原操作(无人参与情况下)

In addition, the recover utility does notallow you to specify any of the REBUILD options. However, therecovery utility will automatically use theappropriate REBUILD option if it cannot locate any database backupimages based on the information in the recovery history file.

另外,recover工具不允许你去指定任何的REBUILD选项。然而recover工具将自动使用对应的REBUILD选项,如果他不能定位任何的数据库备份镜像。

For the RECOVER DATABASE command,you cannot use the TABLESPACE option orthe INCREMENTAL option from the RESTORE DATABASE command.

同RECOVER DATABASE命令一样,你不能为restore database使用tablespace选项或者incremental选项

For the RECOVER DATABASE command, restore optionis automated. Same applies for the REBUILD option in the RESTORE command.

对于recover database命令来说,restore选项是自动的。与restore命令的rebuild选项应用时相同的。

  • Recovering data
    Use the RECOVER DATABASE command to recover a database to a specified time, using information found in the recovery history file.
  • Crash recovery
  • Disaster recovery
  • Version recovery
  • Rollforward recovery
  • Incremental backup and recovery
  • Optimizing recovery performance
  • Privileges, authorities, and authorization required to use recover

Parent topic: Data recovery

 

 

0 0
原创粉丝点击