importdb

Purpose

Imports the given database schema.

Location

<InstallationDirectory>\InForm\Bin\DBOra folder.

Usage

importdb [connection-string] [dump-file-directory-path] [dump-file-name] [from-userid] /Prompt [log options] [/AdditionalParametersFile:optionsfile] [/NotTrial]

importdb [connection-string] [dump-file-directory-path] [dump-file-name] [from-userid] /AccountParams:[paramfile] [log options] [/AdditionalParametersFile:options-file] [/NotTrial]

Where:

Command line prompts

If using prompting, you are prompted for the following parameters:
  • To User Schema Owner User ID — Database trial/schema owner user ID for the schema to which the dump should be imported.
  • To User Schema Owner User Password — Password for the schema owner user. The password must conform to local restrictions.
  • Database Administrator User Name — Name of the Database Administrator User (for example, pfdbadmin).
  • Database Administrator User Password — Password for the Database Administrator User.

Parameter file contents

When using a parameter file, the path to a text file is given. The format of the parameter file is parameter=value, with each value on a separate line, and no spaces between the parameter name, =, and value.

The parameter file must contain the following parameters:

  • Trial_user — Trial/Schema Owner User ID for the schema to which the dump should be imported.
  • Trial_user_pass — Trial/Schema Owner User Password. Password must conform to local restrictions.
  • Pfdbadmin_user — Name of the InForm Database Administrator User (for example, pfdbadmin).
  • Pfdbadmin_user_pass — Password for the InForm Database Administrator User.

The parameter file may contain the following parameters:

AdditionalParametersFileoptions-file —Identical to specifying on the command line. See command line parameter explanation for details. Only one additional parameter file may be specified, either on the command line or in the parameter file, not both.

Example

importdb trial1 /backups backup.dmp pfst63uid /prompt

importdb trial1 /backups backup.dmp pfst631uid /accountparams:myparamfile.txt

importdb trial1 /backups backup.dmp pfst6211 /prompt /logfilepath:c:\exportlogs

importdb trial1 /backups other.dmp oldotherschemuid /prompt /nottrial