Command line interface for migration > Running Database Administration Tool from a command prompt

Running Database Administration Tool from a command prompt
Windows syntax
strs-migrate.bat [-a <arg>] -d <arg> [-f] [-i <arg>] [-m <arg>] [-n <arg>] 
[-o <arg>] -p <arg> [-s <arg>]-u <arg> [-y] [-z <arg>] [-x <arg>] [-b <arg>]
UNIX syntax
strs-migrate.sh [-a <arg>] -d <arg> [-f] [-i <arg>] [-m <arg>] [-n <arg>] 
[-o <arg>] -p <arg> [-s <arg>]-u <arg> [-y] [-z <arg>] [-x <arg>] [-b <arg>]
Parameters and arguments
The parameters are described below. You can use the short (-a, -d, etc.) or long version (--area, --dbtype, etc.) of the parameters.
-a
--area
Security 
Composer 
CompositionCenter
MessageStore
Security – Roles, permissions, etc.
Composer – Resources used in Composer. The Security area is also included.
CompositionCenter – Resources used in Composition Center. The Security area is also included.
MessageStore – Stored Messages. The Security and CompositionCenter areas are also included.
Use the following syntax to specify several areas: Security[|Composer][|CompositionCenter]
-d
--dbtype
ORACLE
MSSQL
-f
--force
-i
--instance
<InstanceName>
<SID>
<InstanceName> for SQL Server.
<SID> for Oracle.
-m
--mode
DOCTYPE
INSPECT
EXPORT
IMPORT
MIGRATE
DOCTYPE
Export document types and metadata to xml file. Not applicable to repositories version SP5 or later.
INSPECT
Inspect repository.
EXPORT
Export repository data to a zip file.
IMPORT
Import repository data from a zip file.
MIGRATE
Import repository data from a zip file (used when migrating data from e.g. test to production environment in 5.6).
-n
--schema
<DatabaseName>
<SchemaName> 
<DatabaseName> for SQL Server.
<SchemaName> for Oracle.
-o
--port
<port>
Default is 1433 for SQL Server and 1521 for Oracle.
-p
--password
<password>
-s
--servername
<hostName>
Default is localhost.
-u
--user
<userName>
-y
--yes
-z
--path
<path>
Mode EXPORT: Path to the zip file to export.
Mode IMPORT and MIGRATE: Path to the zip file to import.
Mode DOCTYPE: Path to the xml file to export.
-x
--doctypes
<path>
Used in mode IMPORT when importing Composition Center resources from a pre-SP5 web content repository to an 5.6 web content repository. This parameter specifies the path to the document types file that must be used when importing the resources. For example:
-x C:\doctypes\document_types.xml
-b
--docdefbatch
<path>
Used in mode EXPORT to export document definitions from a runtime repository or web content repository to a zip file. The argument is a path to an xml file that defines which document definitions to export.
OpenText StreamServe 5.6 Updated: 2013-03-01