Use the -a server option to apply a single transaction log file to the backup copy of a database, and then shut the database server down. If you have multiple transaction logs, apply them one at a time in the correct order, from oldest to most recent.
Prérequis
There are no prerequisites for this task.
Start the database server and apply a backup transaction log called backupdemo.log to the backup copy of a database called backupdemo.db:
dbeng16 backupdemo.db -a backupdemo.log |
The database server applies the backup transaction log to the backup copy of the database and then shuts down.
Start the database server and apply the current transaction log called demo.log to the backup copy of the database:
dbeng16 backupdemo.db -a demo.log |
Exemple
Start the database server and apply a backup transaction log called backupdemo.log to the backup copy of a database called backupdemo.db:
dbeng16 backupdemo.db -a backupdemo.log |
The database server applies the backup transaction log to the backup copy of the database and then shuts down.
Start the database server and apply the current transaction log called demo.log to the backup copy of the database:
dbeng16 backupdemo.db -a demo.log |
The database server applies the current transaction log to the backup copy of the database and then shuts down.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |