Entering content frameProcedure documentation Restarting an Export or Import Locate the document in its SAP Library structure

Use

You can restart an export or import with SAPDBA for Oracle:

You can use SAPDBA for Oracle to restart any of the following procedures:

Prerequisites

You can use SAPDBA to do this as described in "Procedure" below or find it yourself on disk as follows (these are default locations):

See the example below. To find the name of the extension, refer to the documentation for the procedure that you want to restart. You can also find this information in SAPDBA Scripts and Files.

Example

The log 0011281141.exd refers to an export of tables and indexes including data on 28 th November 2000 at 11:41. In this example on a UNIX system, you can find the restart file restart.exd and scripts in the directory <SAPDATA_HOME>/sapreorg/012281141 .

Caution

Always make sure you have found the correct log and restart file before restarting an export or import.

Procedure

  1. If the export or import failed, identify and fix the error, using the log described above in "Prerequisites". To do this with SAPDBA:
    1. Choose Show/Cleanup ® Show log files/profiles ® SAPDBA log files.
    2. Select the log <timestamp>.<extension> written during the operation that failed, and examine it to find the cause of the error.
    3. If required, find the restart file restart.<extension> .

For more information about the log and the restart file, see "Prerequisites" above.

  1. Choose Export/Import ® Restart.

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 restart scripts. This information is based on the last export or import performed. Compare this information with that in the appropriate log <timestamp>.exd , <timestamp>.imd , <timestamp>.exs , <timestamp>.ims , <timestamp>.exg .

This shows the type of restart to be performed, based on the type of the most recent import or export.

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

SAPDBA restarts the import or export.

Result

On successful completion, SAPDBA displays a confirmation message

 

 

Leaving content frame