Recreating a Database with BR*Tools
You can use BR*Tools for Oracle to recreate a database.
Note
This section describes how you recreate a database with BR*Tools.
For more information on the approach to recreating a database, see Recreate Database.
The Oracle database must be Version 9.2 or higher.
All user tablespaces (that is, tablespaces other than the SYSTEM
tablespace) must be locally managed.
The automatic UNDO management must be active with the Oracle parameter undo_management = auto
.
The database must contain a default temporary tablespace.
Perform a complete database backup before you start the database recreate, offline if possible. If BRSPACE fails, you cannot restart the process and you must therefore reset the entire database (for example, with the BRRECOVER “reset” function)
For more information, see SAP Note 748434
.
Start the procedure using BRGUI or BRTOOLS, or from the command line:
BRGUI or BRTOOLS
Choose .
BRGUI or BRTOOLS displays the menu Recreate database main menu
,
where you specify the options with which you call BRSPACE.
BRTOOLS now calls the BRSPACE function recreate database.
Choose Specify new database options
.
BRSPACE displays the menu Main options for recreate of database
.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
Choose Continue
.
BRSPACE displays the menu SYSTEM tablespace options for recreate of database
.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Choose Continue
.
BRSPACE displays the menu SYSAUX tablespace options for recreate of database
.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
-f dbcreate -f dbcreate -aux_rawlink |
|
|
|
|
|
|
|
Choose Continue
.
BRSPACE displays the menu Temp and undo tablespace options for recreate of database
.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Choose Continue
.
BRSPACE displays the menu Online redo log options for log group
.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
|
|
|
|
|
|
The above menu appears again for subsequent log groups.
Choose Continue
.
BRSPACE returns to the menu Recreate database main menu
.
Choose Export user tablespaces
.
BRSPACE exports the user tablespaces and returns to the menu Recreate database main menu
.
Choose Export global objects
.
BRSPACE exports the global objects and returns to the menu Recreate database main menu
.
Choose Create new database
.
BRSPACE creates a new empty database and returns to the menu Recreate database main menu
.
Choose Import global objects
.
BRSPACE imports the global objects and returns to the menu Recreate database main menu
.
Choose Import user tablespaces
.
BRSPACE imports user tablespaces and returns to the menu Recreate database main menu
.
Command line:
Enter at least the following command:
brspace -f dbcreate
You can enter more parameters if required. For more information, see BRSPACE -f dbcreate.
The new database instance is now recreated and opened.
Check the results in the BRSPACE logs.
The summary log space<DBSID>.log
displays the return code.
The detail log s<encoded timestamp>.dbc
displays the details.
For more information on how to view the logs with BR*Tools, see .