Specifies the directory containing log files to be applied to the database. The -ad database option must be specified after the database-file, and applies only to that database.
{ dbsrv11 | dbeng11 } [ server-options ] database-file -ad log-directory ...
All operating systems and database servers.
When you include the -ad option, the specified directory is scanned for log files associated with the database. Log files with starting log offsets greater than or equal to the start log offset stored in the database file are applied, in log offset order. Once all the log files have been applied, the database is stopped. You must also specify the -as option if you want the database to continue running once the log files have been applied.
The database server applies the log files in the backup directory to the mysample.db database and then stops the database once the log files have been applied.
dbeng11 "c:\mysample.db" -ad "c:\backup" |
The database server applies the log files in the backup directory to the mysample.db database and the database continues running once the log files have been applied.
dbeng11 "c:\mysample.db" -ad "c:\backup" -as |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |