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 server options

 

-f recovery option

Forces the database server to start after the transaction log has been lost.

Syntax
{ dbsrv11 | dbeng11 } -f ...
Applies to

All operating systems and database servers.

Remarks
Caution

This option is for use in recovery situations only.

If there is no transaction log, the database server performs a checkpoint recovery of the database and then shuts down—it doesn't continue to run. You can then restart the database server without the -f option for normal operation.

If there is a transaction log in the same directory as the database, the database server performs a checkpoint recovery, and a recovery using the transaction log, and then shuts down—it doesn't continue to run. You can then restart the database server without the -f option for normal operation.

Specifying a cache size when starting the server can reduce recovery time.

See also
Example

The following command forces the database server to start and perform a recovery of the database mydatabase.db:

dbeng11 mydatabase.db -f