Making Whole Database Backups with RMAN

tsinglee發表於2008-06-05

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章