Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Database Administration » Starting and Connecting to Your Database » The database server » Database options

 

-ds database option

Specifies the directory where the dbspaces for the database are located. The -ds database option must be specified after the database-file, and applies only to that database.

Syntax
{ dbsrv11 | dbeng11 } -ds dbspace-directory ...
Applies to

All operating systems and database servers.

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.

See also
Example

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

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

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

dbeng11 my.db -ds