=============================================
How to backup current controlfile using rman?
==============================================
[oracle@wasiq prod]$ rman
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 27 22:07:16 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /;
connected to target database: PROD (DBID=246965557)
RMAN> backup current controlfile;
Starting backup at 27-DEC-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=192 device type=DISK
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
channel ORA_DISK_1: starting piece 1 at 27-DEC-13
channel ORA_DISK_1: finished piece 1 at 27-DEC-13
piece handle=/d01/oracle/flash_recovery_area/PROD/backupset/2013_12_27/o1_mf_ncnnf_TAG20131227T220955_9cvcbwhr_.bkp tag=TAG20131227T220955 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 27-DEC-13
Starting Control File and SPFILE Autobackup at 27-DEC-13
piece handle=/backup/rman/prod/c-246965557-20131227-00 comment=NONE
Finished Control File and SPFILE Autobackup at 27-DEC-13
RMAN>
How to backup current controlfile using rman?
==============================================
[oracle@wasiq prod]$ rman
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 27 22:07:16 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /;
connected to target database: PROD (DBID=246965557)
RMAN> backup current controlfile;
Starting backup at 27-DEC-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=192 device type=DISK
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
channel ORA_DISK_1: starting piece 1 at 27-DEC-13
channel ORA_DISK_1: finished piece 1 at 27-DEC-13
piece handle=/d01/oracle/flash_recovery_area/PROD/backupset/2013_12_27/o1_mf_ncnnf_TAG20131227T220955_9cvcbwhr_.bkp tag=TAG20131227T220955 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 27-DEC-13
Starting Control File and SPFILE Autobackup at 27-DEC-13
piece handle=/backup/rman/prod/c-246965557-20131227-00 comment=NONE
Finished Control File and SPFILE Autobackup at 27-DEC-13
RMAN>
No comments:
Post a Comment