Make sure you have set the necessary BRCONNECT parameters in the initialization profile init<DBSID>.sap, because BRTOOLS uses these when it calls BRCONNECT.
The database must be open.
This BR*Tools function helps you to free disk space used by old DBA logs and protects your database against unnecessary growth of the DBA tables.
For more information, see Clean Up Old Logs and Trace Files with BRCONNECT.
Start BRGUI or BRTOOLS.
Choose
.Set the required options:
Menu Entry |
Equivalent BRCONNECT Command Option |
---|---|
BRCONNECT profile (profile) |
|
Database user/password (user) |
|
Database owner for cleanup (owner) |
|
BRBACKUP logs (backup) |
|
BRARCHIVE logs (archive) |
|
BRRESTORE logs (restore) |
|
BRRECOVER logs (recover) |
|
BRCONNECT logs (connect) |
|
BRSPACE log (space) |
|
BRBACKUP disk backups (diskback) |
|
BRARCHIVE disk backups (diskarch) |
|
BRSPACE export dumps (expdump) |
|
Oracle trace files (trace) |
|
Database logs in SDBAH and SDBAD (dblog) |
|
XDB logs in DBA tables (xdblog) |
|
Check messages in DBMSGORA (checkmsg) |
|
Confirmation mode (confirm) |
|
Query mode (query) |
|
Clean up selected logs only (limit) |
|
Extended output (output) |
|
Message language (language) |
|
BRCONNECT command line (command) |
This shows you the BRCONNECT -f cleanup command that is to be executed using the current settings. |
To start processing with the selected options, choose Continue.
Check the results in the BRCONNECT logs.
The summary log conn<DBSID>.log displays the return code.
The detail log c<encoded timestamp>.cln displays the progress.
For more information on how to view the logs with BR*Tools, see Showing Profiles and Logs with BR*Tools.