-
Dropping RMAN schema
Hi,
In order to test recovery using RMAN, i've created another user called RMANTEMP to do a recovery of my database (target database) on a separate host (catalog server). After a successful recovery, i intend to remove the RMANTEMP user.
Do i need to execute 'drop catalog' on my catalog server? Will this affect RMAN's catalog?
Do i also need to execute 'drop catalog' on my target database?
Thanks in advance!!!
-
Hi
You dont need to execute the drop catalog on the target database.
If you have created a catalog on another catalog log database then you cna drop it while you are logged in as RMANTEMP
While logged in as RMANTEMP onto the catalog database from RMAN prompt you can say DROP CATALOG.
regards
Hrishy
-
Thanks hrishy!!
Is it neccessary to drop the user RMANTEMP in both the target and catalog server then?
I was worried that there is any side effects since my target database is registered to 2 catalog servers.
-
Hi
I dont see any issues of dropping the RMANTEMP user from both the catalog and target database.
Did i forgot to tell you to take a export backup of RMANTEMP user in both catalog and target database just case before you drop :-)
regards
Hrishy
-
Thanks alot Hrishy!
According to what i've picked up from the online documentation, i've come to believe that as compared to unregistering my target database, dropping RMANTEMP will perhaps save some space in my database. Both will actually have the same end results in that i can no longer do backup or recovery using RMANTEMP. Is this correct?
Regards,
gxangel
-
Hi
Yes your understanding is correct once you drop the rmantemp user and its catalog you wont be able to backup the target database using that id.
However you have another user called RMAN and you can use that for your backup and recovery needs
regards
Hrishy
-
Thanks again!!!
In this case, does dropping user RMANTEMP drop its catalog too?
Or do we need to specifically drop its catalog before dropping RMANTEMP user?
Regards,
gxangel
-
Hi
Logged in as user RMANTEMP first drop the catalog and then logged in as a user with dba privileges drop the user rmantemp
regards
Hrishy
-
-
Hi,
Will the target server contain any information on the user RMANTEMP and it's catalog if i executed DROP CATALOG followed by DROP USER RMANTEMP at the catalog server only?
Do i need to do any cleanup here since DROP CATALOG is not executed at the target server?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|