Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Cloning database, Unknown command 'DATAFILE'

Re: Cloning database, Unknown command 'DATAFILE'

From: sybrandb <sybrandb_at_gmail.com>
Date: 12 Dec 2006 05:41:43 -0800
Message-ID: <1165930903.667476.318430@16g2000cwy.googlegroups.com>

On Dec 12, 1:10 pm, "Helmut Schneider" <jumpe..._at_gmx.de> wrote:
> Hi,
>
> I'm trying to clone a database. I use (e.g. fromhttp://www.dba-oracle.com/oracle_tips_db_copy.htm):
> alter database backup controlfile to trace as 'D:\ctrl_old.sql' resetlogs;
>
> When I try to execute @D:\ctrl_old.sql I get an error:
>
> SP2-0042: Unknown command 'DATAFILE'.
>
> What did I miss?
>
> Thanks, Helmut
>
> --
> Please do not feed my mailbox, Swen still does his job well

Typically the output of alter database backup controlfile to trace needs to be edited as it contains redundant text on which it will fail.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Tue Dec 12 2006 - 07:41:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US