Oracle 11g下使用RMAN进行备份和恢复操作(二)

这次介绍下使用rman进行全库备份,数据库处于open状态:

(1) 连接目录库:

rman target / log c:\rmanlog.txt append  

备注: 不加append的话每次会把原来的log冲掉,可根据自己需要选择。

(2) 执行备份:

RMAN> backup database format 'D:\rmanbf\%U';

(3)退出
RMAN> quit

猜你喜欢

转载自dbaspider.iteye.com/blog/2021142