我是靠谱客的博主 仁爱寒风,最近开发中收集的这篇文章主要介绍RMAN备份之非归档模式下的备份,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

Backing Up a Database in NOARCHIVELOG Mode:
1.Log into RMAN
2.Shutdown immediate from RMAN
3.Startup mount from RMAN
4.backup database
5.alter database open
--------------------------------------------
If a database runs in NOARCHIVELOG mode, then the only valid database backup is a consistent backup. For the backup to be consistent, the database must be
mounted after a consistent shutdown. No recovery is required after restoring the backup.
To make a consistent database backup:
1. Start RMAN and connect to a target database.
2. Shut down the database consistently and then mount it. For example, enter the following commands to guarantee that the database is in a consistent state for a
backup:
RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP FORCE DBA;
RMAN> SHUTDOWN IMMEDIATE;
RMAN> STARTUP MOUNT;

3. Run the BACKUP DATABASE command.
For example, enter the following command at the RMAN prompt to back up the database to the default backup device:
RMAN> BACKUP DATABASE;
The following variation of the command creates image copy backups of all data files in the database:
RMAN> BACKUP AS COPY DATABASE;
4. Open the database and resume normal operations.
The following command opens the database:
RMAN> ALTER DATABASE OPEN;

最后

以上就是仁爱寒风为你收集整理的RMAN备份之非归档模式下的备份的全部内容,希望文章能够帮你解决RMAN备份之非归档模式下的备份所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(48)

评论列表共有 0 条评论

立即
投稿
返回
顶部