I'm trying to do a complete backup of my database. I've used archive log mode. The steps were the following:
alter tablespace SYSTEM begin backup; host copy D:ORACLEORADATARECORVSYSTEM01.DBF d:backup alter tablespace SYSTEM end backup; alter tablespace UNDOTBS1 begin backup; host copy D:ORACLEORADATARECORVUNDOTBS01.DBF d:backup alter tablespace UNDOTBS1 end backup; alter tablespace TEMP begin backup; alter tablespace TEMP end backup; alter tablespace CWMLITE begin backup; host copy D:ORACLEORADATARECORVCWMLITE01.DBF d:backup alter tablespace CWMLITE end backup; alter tablespace DRSYS begin backup; host copy D:ORACLEORADATARECORVDRSYS01.DBF d:backup alter tablespace DRSYS end backup; alter tablespace EXAMPLE begin backup; host copy D:ORACLEORADATARECORVEXAMPLE01.DBF d:backup alter tablespace EXAMPLE end backup; alter tablespace INDX begin backup; host copy D:ORACLEORADATARECORVINDX01.DBF d:backup alter tablespace INDX end backup; alter tablespace ODM begin backup; host copy D:ORACLEORADATARECORVODM01.DBF d:backup alter tablespace ODM end backup; alter tablespace TOOLS begin backup; host copy D:ORACLEORADATARECORVTOOLS01.DBF d:backup alter tablespace TOOLS end backup; alter tablespace USERS begin backup; host copy D:ORACLEORADATARECORVUSERS01.DBF d:backup alter tablespace USERS end backup; alter tablespace XDB begin backup; host copy D:ORACLEORADATARECORVXDB01.DBF d:backup alter tablespace XDB end backup; alter tablespace TS_DATA_URECORV begin backup; host copy D:ORACLEORADATARECORVTS_DATA_URECORV.ORA d:backup alter tablespace TS_DATA_URECORV end backup; alter database backup controlfile to trace; alter database backup controlfile to 'd:backupcontrol.RECORV.10Abr061122'; alter system switch logfile;
I suppose I have a complete copy of my database in d:backup, but I don't know the steps for recovering. If I try (after copying d:backup in the directory of my database):
SQL > STARTUP MOUNT SQL > RECOVER DATABASE USING BACKUP CONTROLFILE;
The system requests archive log files. I don't know why.
My other question: If, for example, I drop the database and I re-create it but without users, tablespaces, etc, only the database, is it possible to recover the original database from d:backup?
Requires Free Membership to View
This was first published in April 2006

Join the conversationComment
Share
Comments
Results
Contribute to the conversation