TABLESPACE_BACKUP_MODE?

Hi,
I am new oracle and doing some experiment with it.
I connect as sys and did as follows.
(oracle 10.1.0.2.0 and windows xp)
SQL> ALTER TABLESPACE EXAMPLE END BACKUP;
Tablespace altered.
SQL>
SQL> alter tablespace example begin backup;
Tablespace altered.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
ORA-01113: file 5 needs media recovery
ORA-01110: data file 5: 'E:\ORACLE\PRODUCT\10.1.0\ORADATA\OCA10G\EXAMPLE01.DBF'
when the tablespace in backup mode I change the data in example tablespace .
Can I recover this issue?
Expecting your help.
Thanks,
Manoj.

Hi,
SQL> select * from v$tablespace;
TS# NAME INC BIG FLA ENC
0 SYSTEM YES NO YES
1 UNDOTBS1 YES NO YES
2 SYSAUX YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 RMAN YES NO YES
6 rows selected.
SQL> alter tablespace USERS begin backup;
Tablespace altered.
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 113246912 bytes
Database Buffers 167772160 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4:
'C:\10G\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL2\USERS01.DBF'
SQL> recover database;
Media recovery complete.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 orcl2
SCSHPD032
10.2.0.1.0 21-AUG-08 MOUNTED NO 1 STARTED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL> alter database open;
Database altered.
SQL> select count(*) from user_objects;
COUNT(*)
22923
SQL> spool off
- Pavan Kumar N

Similar Messages

Maybe you are looking for

  • Deleting/archiving individual BP role

    Hi, we are in progress of cleaning up data after migration of a large number of business partners. As part of this we have developed an utility program to quickly delete data of a single incorrect partner, using function module 'BUP_BUPA_DELETE'. Thi

  • How to have monitor image duplicated with actual print?

    I have a Mac Pro 10.8.5  Using lightroom 5 and elements 12.  Perform most of "developing" in Lightroom and transfer to Elements 12 to fine tune image and save, etc.  I understand to save as  using sRGB or RGB but the images are identical.  Image is a

  • Apple TV failed to find service connection url?

    Anyone know why I cannot get into my iTunes account from my Apple TV.  I keep getting a connection failed message "failed to find service connection URL".  Wifi network working just fine and I can access my account from pc no problem.

  • How do I update my cinema 4D lite to one higher than 11.5? Can I?

    I have cinema 4d lite 11.5 that came bundled with the AE installer, but have since updated AE and cinema 4d has not. When I try and open the C4D file in AE it says I need higher than 11.5 c4d lite. Any idea?

  • Can not run form9i in window-based!

    Hi everyone I have a question. I used Oracle9i Form Builder. I want to run a form which I have designed, but It run in web-based. I don'n know how to run that form in window-based as in Form Builder6i. Many thanks for any replies. Chung [email protec