With this SAP DB Loader
command, you can control the unloading of application data and the database catalog.Syntax
<dbextract_statement> ::=
DBEXTRACT [<
You can also use the keywords EXTRACT DB instead of the
keyword DATAEXTRACT.Prerequisite
THE DBEXTRACT command can only be executed by the
SYSDBA user.
Use
The DBEXTRACT command combines the commands
CATALOGEXTRACT ALL and TABLEEXTRACT ALL.Data Streams: <catalogoutstream_spec> and <dataoutstream_spec>
At least two
data streams must be created when unloading:The system table
TRANSFORMATIONMODEL and other system tables are filled.Exclude Tables from Unload: <configurationstream_spec>
The database catalog entries for all tables are always unloaded, irrespective of possible restrictions of the data stream.
Unloading System Tables: <packagestream_spec>
If possible, you should not unload the system tables.
Result
The application data and the database catalog are unloaded to the data streams
<dataoutstream_spec> and <catalogoutstream_spec>.If necessary, all entries of the table TRANSFORMATIONMODEL are unloaded in the data stream
<packagestream_spec>.You can use the corresponding
DBLOAD command to restore the database catalog and the application data.Errors
The unload process cannot be successfully completed. In this case, the SAP DB Loader logs the cause of the error in the
log file.The values PACKAGEGUID and CLIENTNODE are both written to the log file. The PACKAGEGUID is required if you want to restart the unload process.