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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » The Database Server » The SQL Anywhere database server » Recovery options

Recovery options Next Page

-f recovery option


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

Syntax

{ dbsrv10 | dbeng10 } -f ...

Applies to

All operating systems and servers.

Remarks

If there is no transaction log, the database server performs a checkpoint recovery of the database and then terminates—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 terminates—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 Backup and Data Recovery.

Example

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

dbeng10 mydatabase.db -f