Database Backup and Recovery (MOSC)

MOSC Banner

RMAN restore tablespace from disk.

edited Jul 23, 2009 7:21PM in Database Backup and Recovery (MOSC) 4 commentsAnswered
Hi all,

My database is in archivelog mode, I have backed up a tablespace to disk, now I am trying to do a restore of the tablespace. However, i have some problem with the syntax of the rman restore script. Hope someone can help me out here. Thanks.

Backup script:

connect target / run { allocate channel d1 type disk; backup tag tbs_ssapp format '/u05/BRCDMP/tbs_ssapp_%t_%s' (tablespace ssapp); release channel d1; }

Restore script:

connect target / run { allocate channel t1 type disk sql "alter tablespace SSAPP offline"; restore tablespace "SSAPP"; recover tablespace "SSAPP"; sql "alter tablespace SSAPP online";

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center