Recovery Catalog
Step 1: Create a user to own Recovery Catalog..and grant him the necessary privilage
** create user recovery identified by recovery;
** grant connect,resource,recovery_catalog_owner to recovery...
Step 2 : Create a default tablespace for the recovery owner..
** create tablespace recovery
datafile "....................path............." size 50m autoextend on;
Step 3: Make the user use the default tablespace which is created
** Alter user recovery default tablespace recovery;
Step 4: Creating catalog In the other screen just connect rman catalog..
** rman catalog username/password
ex: rman catalog recovery/recovery
later inside rman
rman > create catalog;
---> This commands creates a catalog database...
rman > register database;
---> This commands tries to register your database in the catalog which is created but over here we
get an error like "Target Database not Connected "...
rman > CONNECT TARGET /
--> When we get an error that it is not connected to the database we need to first connect the target
database...Once it is connected...it says the database is still not registered in the catalog...
rman > register database;
---> Once you get that error above it says its not registered yet..give the above command again now
the database will get registered and will have full re-sync of the database...
Thats it Recovery Catalog is Created.......
rman > backup database
When you give observe for the line which will not come saying
control file is used...instead of recovery catalog....-----> this line will be told before creating catalog database
Step 1: Create a user to own Recovery Catalog..and grant him the necessary privilage
** create user recovery identified by recovery;
** grant connect,resource,recovery_catalog_owner to recovery...
Step 2 : Create a default tablespace for the recovery owner..
** create tablespace recovery
datafile "....................path............." size 50m autoextend on;
Step 3: Make the user use the default tablespace which is created
** Alter user recovery default tablespace recovery;
Step 4: Creating catalog In the other screen just connect rman catalog..
** rman catalog username/password
ex: rman catalog recovery/recovery
later inside rman
rman > create catalog;
---> This commands creates a catalog database...
rman > register database;
---> This commands tries to register your database in the catalog which is created but over here we
get an error like "Target Database not Connected "...
rman > CONNECT TARGET /
--> When we get an error that it is not connected to the database we need to first connect the target
database...Once it is connected...it says the database is still not registered in the catalog...
rman > register database;
---> Once you get that error above it says its not registered yet..give the above command again now
the database will get registered and will have full re-sync of the database...
Thats it Recovery Catalog is Created.......
rman > backup database
When you give observe for the line which will not come saying
control file is used...instead of recovery catalog....-----> this line will be told before creating catalog database
Comments
Post a Comment