rman怎么备份数据文件

这篇文章主要讲解了“rman怎么备份数据文件”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“rman怎么备份数据文件”吧!

网站设计、成都做网站介绍好的网站是理念、设计和技术的结合。成都创新互联拥有的网站设计理念、多方位的设计风格、经验丰富的设计团队。提供PC端+手机端网站建设,用营销思维进行网站设计、采用先进技术开源代码、注重用户体验与SEO基础,将技术与创意整合到网站之中,以契合客户的方式做到创意性的视觉化效果。

备份指定数据文件方法有两种,指定数据文件和指定表空间

指定备份数据文件
RMAN> backup datafile 4;

Starting backup at 2017-07-30 13:09:40
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=/u01/app/oracle/oradata/test/users01.dbf
channel ORA_DISK_1: starting piece 1 at 2017-07-30 13:09:40
channel ORA_DISK_1: finished piece 1 at 2017-07-30 13:09:43
piece handle=/home/oracle/1asal8ck_1_1 tag=TAG20170730T130940 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 2017-07-30 13:09:43


备份表空间
备份表空间的时候其实就是在备份表空间下面的数据文件
RMAN> backup tablespace users;

Starting backup at 2017-07-30 13:10:30
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=/u01/app/oracle/oradata/test/users01.dbf
channel ORA_DISK_1: starting piece 1 at 2017-07-30 13:10:30
channel ORA_DISK_1: finished piece 1 at 2017-07-30 13:10:31
piece handle=/home/oracle/1bsal8e6_1_1 tag=TAG20170730T131030 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 2017-07-30 13:10:31

感谢各位的阅读,以上就是“rman怎么备份数据文件”的内容了,经过本文的学习后,相信大家对rman怎么备份数据文件这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是创新互联,小编将为大家推送更多相关知识点的文章,欢迎关注!


分享文章:rman怎么备份数据文件
URL网址:http://scyanting.com/article/poegss.html