登入目标数据库
-
[oracle@hu app]$ rman target /
-
-
Recovery Manager: Release 11.2.0.4.0 - Production on Fri May 5 16:18:22 2017
-
-
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
-
-
connected to target database: HU (DBID=3569073582)
-
-
RMAN>
执行全库备份(以备份集方式备份,包括控制文件和归档日志,删除已备份的归档日志)
-
RMAN> backup as backupset database include current controlfile plus archivelog format '/u01/app/backup/db_%U.rum' delete all input;
-
-
-
Starting backup at 05-MAY-17
-
current log archived
-
using target database control file instead of recovery catalog
-
allocated channel: ORA_DISK_1
-
channel ORA_DISK_1: SID=43 device type=DISK
-
channel ORA_DISK_1: starting archived log backup set
-
channel ORA_DISK_1: specifying archived log(s) in backup set
-
input archived log thread=1 sequence=9 RECID=1 STAMP=943201362
-
channel ORA_DISK_1: starting piece 1 at 05-MAY-17
-
channel ORA_DISK_1: finished piece 1 at 05-MAY-17
-
piece handle=/u01/app/backup/db_01s3g72k_1_1.rum tag=TAG20170505T162244 comment=NONE
-
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
-
channel ORA_DISK_1: deleting archived log(s)
-
archived log file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch1_9_941998577.dbf RECID=1 STAMP=943201362
-
Finished backup at 05-MAY-17
-
-
Starting backup at 05-MAY-17
-
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=00001 name=/u01/app/oracle/oradata/HU/system01.dbf
-
input datafile file number=00002 name=/u01/app/oracle/oradata/HU/sysaux01.dbf
-
input datafile file number=00005 name=/u01/app/oracle/oradata/HU/example01.dbf
-
input datafile file number=00003 name=/u01/app/oracle/oradata/HU/undotbs01.dbf
-
input datafile file number=00004 name=/u01/app/oracle/oradata/HU/users01.dbf
-
channel ORA_DISK_1: starting piece 1 at 05-MAY-17
-
channel ORA_DISK_1: finished piece 1 at 05-MAY-17
-
piece handle=/u01/app/backup/db_02s3g72m_1_1.rum tag=TAG20170505T162246 comment=NONE
-
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
-
channel ORA_DISK_1: starting full datafile backup set
-
channel ORA_DISK_1: specifying datafile(s) in backup set
-
including current control file in backup set
-
including current SPFILE in backup set
-
channel ORA_DISK_1: starting piece 1 at 05-MAY-17
-
channel ORA_DISK_1: finished piece 1 at 05-MAY-17
-
piece handle=/u01/app/backup/db_03s3g74e_1_1.rum tag=TAG20170505T162246 comment=NONE
-
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
-
Finished backup at 05-MAY-17
-
-
Starting backup at 05-MAY-17
-
current log archived
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting archived log backup set
-
channel ORA_DISK_1: specifying archived log(s) in backup set
-
input archived log thread=1 sequence=10 RECID=2 STAMP=943201424
-
channel ORA_DISK_1: starting piece 1 at 05-MAY-17
-
channel ORA_DISK_1: finished piece 1 at 05-MAY-17
-
piece handle=/u01/app/backup/db_04s3g74g_1_1.rum tag=TAG20170505T162344 comment=NONE
-
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
-
channel ORA_DISK_1: deleting archived log(s)
-
archived log file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch1_10_941998577.dbf RECID=2 STAMP=943201424
-
Finished backup at 05-MAY-17
-
-
RMAN>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31399171/viewspace-2138602/
,如需转载,请注明出处,否则将追究法律责任。