Home » RDBMS Server » Backup & Recovery » problem while trying to take a HOT BKP
problem while trying to take a HOT BKP [message #161560] Mon, 06 March 2006 01:03 Go to next message
frank.svs
Messages: 162
Registered: February 2006
Senior Member
hi all,

I've one problem.can anyone please explain .

There is a TABLESPACE called USERS in my database.

I want to take an HOT BKP of this USERS tablespace;

and when i am saying ,

SQL>ALTER TABLESPACE users begin backup;

It is showing an error as foows.:
alter tablespace users begin backup
*
ERROR at line 1:
ORA-01128: cannot start online backup - file 11 is offline
ORA-01110: data file 11: 'C:\SOFTWARE\ORACLE\ORADATA\ORACLE\USERS02.DBF'


And later what i've done is that :
1* select file#,name,status from v$datafile where name LIKE '%USER%'
SQL> /

FILE# NAME STATUS
---------- --------------------------------------------- -------
9 C:\SOFTWARE\ORACLE\ORADATA\ORACLE\USERS01.DBF ONLINE
11 C:\SOFTWARE\ORACLE\ORADATA\ORACLE\USERS02.DBF RECOVER

AND ALSO

SQL> select file_id,file_name,status from dba_data_files
2 where tablespace_name='USERS';

FILE_ID FILE_NAME STATUS
---------- ------------------------------------------------- ----
9 C:\SOFTWARE\ORACLE\ORADAT\ORACLE\USERS01.DBF AVAILABLE
11 C:\SOFTARE\ORACLE\ORADATA\ORACLE\USERS02.DBF AVAILABLE

can anyone tell me what is the necessart action to be taken now
so that i can take the tablespace to begin backup mode;



Waiting for quick reply guys ...
Thank Q,
Re: problem while trying to take a HOT BKP [message #161565 is a reply to message #161560] Mon, 06 March 2006 01:13 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
File 11 needs recovery (as evident from the output of query "select file#,name,status from v$datafile where name LIKE '%USER%'"). Perform a media recovery first & then take hot backup.

--Girish
Re: problem while trying to take a HOT BKP [message #161571 is a reply to message #161565] Mon, 06 March 2006 01:42 Go to previous message
frank.svs
Messages: 162
Registered: February 2006
Senior Member


Thanks a Lot Rohini.
My Problem got solved.
Previous Topic: rman
Next Topic: How to Automate an logical bkp
Goto Forum:
  


Current Time: Thu Apr 25 16:42:28 CDT 2024