Specifies the directory where the dbspaces for the database and the transaction log are located.
dbsrv17 database-file -ds dbspace-directory ...
All operating systems.
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.
The following example starts a database server that looks for dbspaces in the directory c:\backup\Nov15:
dbsrv17 c:\backup\Nov15\my.db -ds c:\backup\Nov15\
The following example starts a database server that looks for dbspaces in the current directory:
dbsrv17 my.db -ds .