Contents Index Recovery options -f recovery option

ASA Database Administration Guide
  The Database Server
    The database server
      Recovery options

-a recovery option

Function 

Apply the named transaction log.

Syntax 

dbsrv9 | dbeng9 } -a
        log-filename ...

Applies to 

All operating systems and servers.

Description 

This is used to recover from media failure on the database file. When this option is specified, the database server applies the log and then terminates—it will not continue to run.

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

For information on recovery, see Backup and Data Recovery.

Example 

The following example, entered all on one line, applies the log file asademo.log to the sample database.

dbeng9 "C:\Program Files\Sybase\SQL Anywhere 9\asademo.db" -a "C:\backup\asademo.log"

Contents Index Recovery options -f recovery option