你好,游客 登录 注册 搜索
背景:
阅读新闻

探索Oracle之RMAN_03非一致性备份

[日期:2012-05-24] 来源:Linux社区  作者:吴伟龙 [字体:大 中 小]

1.2执行备份  (执行备份命令实际上是跟一致性备份是一样的)

1.2.1       备份数据库

RMAN> backup database;

 

Starting backupat 23-MAY-12

allocatedchannel: ORA_DISK_1

channelORA_DISK_1: sid=145 devtype=DISK

channelORA_DISK_1: starting full datafile backupset

channelORA_DISK_1: specifying datafile(s) in backupset

input datafilefno=00001 name=/DBData/WWL/system01.dbf

input datafilefno=00003 name=/DBData/WWL/sysaux01.dbf

input datafilefno=00002 name=/DBData/WWL/undotbs01.dbf

input datafilefno=00004 name=/DBData/WWL/users01.dbf

channelORA_DISK_1: starting piece 1 at 23-MAY-12

channelORA_DISK_1: finished piece 1 at 23-MAY-12

piecehandle=/DBBak/bak_WWL_05_23_0anbmtkr_1_1 tag=TAG20120523T121210 comment=NONE

channelORA_DISK_1: backup set complete, elapsed time: 00:01:46

Finished backupat 23-MAY-12

 

Starting ControlFile and SPFILE Autobackup at 23-MAY-12

piecehandle=/DBSoft/product/10.2.0/db_1/dbs/c-5520179-20120523-00 comment=NONE

Finished ControlFile and SPFILE Autobackup at 23-MAY-12

 

RMAN>

 

 

1.2.2       备份USER表空间

RMAN> backuptablespace users;

 

Starting backupat 23-MAY-12

using channelORA_DISK_1

channelORA_DISK_1: starting full datafile backupset

channelORA_DISK_1: specifying datafile(s) in backupset

input datafilefno=00004 name=/DBData/WWL/users01.dbf

channelORA_DISK_1: starting piece 1 at 23-MAY-12

channelORA_DISK_1: finished piece 1 at 23-MAY-12

piecehandle=/DBBak/bak_WWL_05_23_0cnbn2a3_1_1 tag=TAG20120523T133147 comment=NONE

channelORA_DISK_1: backup set complete, elapsed time: 00:00:04

Finished backupat 23-MAY-12

 

Starting ControlFile and SPFILE Autobackup at 23-MAY-12

piece handle=/DBSoft/product/10.2.0/db_1/dbs/c-5520179-20120523-01comment=NONE

Finished ControlFile and SPFILE Autobackup at 23-MAY-12

 

RMAN>

 

1.2.3       备份数据文件

RMAN> backup datafile 1,2,3;

 

Starting backupat 23-MAY-12

using channelORA_DISK_1

channelORA_DISK_1: starting full datafile backupset

channelORA_DISK_1: specifying datafile(s) in backupset

input datafilefno=00001 name=/DBData/WWL/system01.dbf

input datafilefno=00003 name=/DBData/WWL/sysaux01.dbf

input datafile fno=00002name=/DBData/WWL/undotbs01.dbf

channelORA_DISK_1: starting piece 1 at 23-MAY-12

channelORA_DISK_1: finished piece 1 at 23-MAY-12

piecehandle=/DBBak/bak_WWL_05_23_0enbn2bk_1_1 tag=TAG20120523T133235 comment=NONE

channelORA_DISK_1: backup set complete, elapsed time: 00:01:48

Finished backupat 23-MAY-12

 

Starting ControlFile and SPFILE Autobackup at 23-MAY-12

piecehandle=/DBSoft/product/10.2.0/db_1/dbs/c-5520179-20120523-02 comment=NONE

Finished ControlFile and SPFILE Autobackup at 23-MAY-12

 

RMAN>

 

1.2.4       备份控制文件

RMAN> backup current controlfile;

 

Starting backupat 23-MAY-12

using channelORA_DISK_1

channelORA_DISK_1: starting full datafile backupset

channelORA_DISK_1: specifying datafile(s) in backupset

includingcurrent control file in backupset

channelORA_DISK_1: starting piece 1 at 23-MAY-12

channelORA_DISK_1: finished piece 1 at 23-MAY-12

piecehandle=/DBBak/bak_WWL_05_23_0gnbn2je_1_1 tag=TAG20120523T133645 comment=NONE

channelORA_DISK_1: backup set complete, elapsed time: 00:00:01

Finished backupat 23-MAY-12

 

Starting ControlFile and SPFILE Autobackup at 23-MAY-12

piecehandle=/DBSoft/product/10.2.0/db_1/dbs/c-5520179-20120523-03 comment=NONE

Finished ControlFile and SPFILE Autobackup at 23-MAY-12

 

RMAN>

linux
相关资讯       oracle数据库教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款