Entering content frameProcedure documentation Importing Tables and Indexes Including Data Locate the document in its SAP Library structure

Use

You can use SAPDBA for Oracle to import one or more tables and indexes, including constraints, comments, and grants. SAPDBA created the required scripts for the import when you performed Exporting Tables and Indexes Including Data. Therefore, the import uses the same settings used for the export.

Caution

You can not use data from an import to restore the database. This is because exported data is a logical backup, which is static. You can only restore the database with a proper backup. For more information, see Database Restore and Recovery with SAPDBA.

Prerequisites

Procedure

  1. Choose Export/Import ® Import tables and indexes including data.

SAPDBA displays the:

This is the working directory for the import. The default is <SAPDATA_HOME>/sapreorg or <SAPREORG> , based on the environment variable SAPREORG . Logs and scripts are saved in this directory. For more information on <SAPREORG> , see Environment Variables (UNIX) and Environment Variables (Windows NT).

This is the subdirectory <timestamp> that contains the import scripts. This information is based on the last export performed. Compare this information with that in the appropriate export log <timestamp>.exd .

This shows the type of import to be performed, based on the type of the last export.

  1. If required, change the Working directory or Import subdirectory .
  2. Choose Show import plan to check the import plan before you start.
  3. Choose Start to start the import, or Start in batch to execute the import in the background.

If there are potential problems with the import, SAPDBA warns you, so that you can stop the import.

Result

SAPDBA performs the import and displays a confirmation message.

If an error occurs, SAPDBA displays an error message. You can restart the import after fixing the problem.

Leaving content frame