-ds iqsrv16 database option

Specifies the directory where the dbspaces for the database and the transaction log are located.

Syntax

iqsrv16 database-file -ds dbspace-directory ...

Applies to

All operating systems and database servers.

This option only applies to Catalog dbspaces, not IQ dbspaces.

Remarks

When a dbspace directory is specified, the database server only searches this directory for dbspaces. The location of the dbspace appears in the database server messages window.

If your backup includes dbspaces with full path names, you can use this option to start the backed up copy of the database on the same computer as the original database while the original database is still running.

The -ds database option must be specified after the database-file, and applies only to that database.

If a transaction log file is not found in the directory specified by this option, then one is created in this location.

Warning!   The -ds option should only be used for recovery. If you specify this option and the database has a current, live transaction log that is not located in the directory specified by the -ds option, then a new transaction log is created in the specified location.

Example

The following example starts a database server that looks for dbspaces in the directory c:\backup\Nov15:

iqsrv16 c:\backup\Nov15\my.db -ds c:\backup\Nov15\

The following example starts a database server that looks for dbspaces in the current directory:

iqsrv16 my.db -ds .