ITPub博客

首页 > 数据库 > 数据库开发技术 > Making Whole Database Backups with RMAN

Making Whole Database Backups with RMAN

原创 数据库开发技术 作者:tsinglee 时间:2008-06-05 10:43:23 0 删除 编辑

You can perform whole database backups with the database mounted or open. To
perform a whole database backup, from the RMAN prompt, use the BACKUP
DATABASE command. The simplest form of the command requires no parameters, as
shown in this example:

RMAN> BACKUP DATABASE;
This example shows the procedure for taking a whole database backup to the default
destination:

RMAN> BACKUP DATABASE; # uses automatic channels to make backup
RMAN> SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT'; # switches logs and archives all logs

By archiving the logs immediately after the backup, you ensure that you have a full set
of archived logs through the time of the backup. This guarantees that you can perform
media recovery after restoring this backup.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-1005242/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    1892822