Avatar of MayankSql
MayankSqlFlag for United States of America asked on

Oracle Backup n Restore

Hi,
I have never done oracle backup and restore. How do I Backup oracle database and restore it whith a different name?
Oracle Database

Avatar of undefined
Last Comment
MayankSql

8/22/2022 - Mon
SOLUTION
MikeOM_DBA

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
MayankSql

isn't there a single command that can take complete backup and then i can resotre the complete backup using different name in oracle?
ASKER CERTIFIED SOLUTION
MikeOM_DBA

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
MayankSql

I used imp to import the tables. But all the tables with BLOB failed to get imported. So i created another table space and while creating tried to import all the failed tables by creating tables with the second tablespace in CREATE TABLE command. Ran the imp with ROWS=N option and IGNORE=N option but got error that table already exist with no inserts.... Any opinions
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
MayankSql

I did IGNORE = Y and also created the table before doing the imports so that it will use only the tablespace I want it to use but when I run following command

SELECT * FROM <TabName>, I get following error:
SP2-0678: Column or attribute type can not be displayed by SQL*Plus

I do see the table created under the scema.

Thanks a lot for your response.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
MayankSql

Saw in one of the websites that Sql sheet doesnt displays BLOB. But still that table is empty. Doesnt has any rows cause I did the select using one of the primary key column and I got "No rows Selected"
ASKER
MayankSql

Restored my first Oracle Schema. Thanks