这篇文章主要讲解了“rman怎么备份数据文件”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“rman怎么备份数据文件”吧!
备份指定数据文件方法有两种,指定数据文件和指定表空间
指定备份数据文件
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怎么备份数据文件这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。