Home » RDBMS Server » Backup & Recovery » backup current controlfile vs backup controlfile copy (Sun solaris, Oracle
backup current controlfile vs backup controlfile copy [message #604136] Tue, 24 December 2013 07:34 Go to next message
Messages: 225
Registered: August 2008
Senior Member
Which is better compared to both backup current controlfile and backup controlfile copy?
Re: backup current controlfile vs backup controlfile copy [message #604137 is a reply to message #604136] Tue, 24 December 2013 07:46 Go to previous message
John Watson
Messages: 8641
Registered: January 2010
Location: Global Village
Senior Member
Only one of your options is syntactically correct:
c:\users\john>rman target /

Recovery Manager: Release - Production on Tue Dec 24 13:45:03 2013

Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

connected to target database: ORCLZ (DBID=2051912303)

RMAN> backup current controlfile;

Starting backup at 2013-12-24 13:45:12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=258 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 2013-12-24 13:45:15
channel ORA_DISK_1: finished piece 1 at 2013-12-24 13:45:16
224T134514 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 2013-12-24 13:45:16

RMAN> backup controlfile copy;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "controlfile": expecting one of: "archivelog, as, auxil
el, check, controlfilecopy, copies, copy, cumulative, current, database, database root,
name_convert, db_recovery_file_dest, device, diskratio, duration, filesperset, force, f
maxsetsize, nochecksum, noexclude, nokeep, not, pluggable, pool, proxy, recovery, reuse
lespace, tag, to, validate, ("
RMAN-01007: at line 1 column 8 file: standard input

Previous Topic: Block Corruption Simulation
Next Topic: Running Script for duplicate Sending Error
Goto Forum:

Current Time: Fri Dec 03 12:50:56 CST 2021