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.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-1005242/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-1005242/
本文介绍了如何使用RMAN命令进行整个数据库的备份过程。通过简单的BACKUP DATABASE命令即可完成备份到默认位置,同时建议在备份后立即归档日志以确保能够进行介质恢复。
2022

被折叠的 条评论
为什么被折叠?



