博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
RMAN备份之非归档模式下的备份
阅读量:6717 次
发布时间:2019-06-25

本文共 1224 字,大约阅读时间需要 4 分钟。

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;

转载地址:http://lwumo.baihongyu.com/

你可能感兴趣的文章
管理cisco 互联网络
查看>>
一场稳定、高清、流畅的大型活动直播是怎么炼成的?
查看>>
面试题:旋转数组的最小数字
查看>>
明明白白你的Linux服务器——硬件篇
查看>>
makefile入门
查看>>
Install MySQL in Ubuntu 16.04 LTS
查看>>
56. 链表中环的入口结点
查看>>
好程序员web前端分享想要学习前端需要学那些课程
查看>>
创建自己的mysql prompt
查看>>
nginx实现 mp4流媒体服务器
查看>>
注解扫描工具
查看>>
第二章 SSH远程登录
查看>>
linux bash echo 颜色高亮
查看>>
配置ASA的Telnet和SSH
查看>>
jsp中表单重置
查看>>
利用tar包安装和配置高可用性的vsftp
查看>>
2.4、Bootstrap V4自学之路------布局---响应式工具
查看>>
约瑟夫问题求解
查看>>
4月12日
查看>>
基于WinSvr2012共享文件夹的Hyper-V实时迁移之三实时迁移的实现及验证
查看>>