Chapter 11. Administering SQL Remote for Adaptive Server Anywhere

1.Backs up the transaction log file, creating a backup file c:\archive\consol.log.

2. Renames the existing transaction log file to 971201 xx.log, where xx are sequential characters ranging from AA to ZZ.

3. Starts a new transaction log, as consol.log.

After several backups, the live directory contains a set of sequential transaction logs.

971201AA.log

971201AB.log

971201AC.log

consol.log

consol.db

 

 

consol.log

 

 

consol.db

 

C:\Live

C:\Archive

 

 

A Message Agent

You can run the Message Agent with access to these log files using the

command line

following command line:

 

dbremote -c "dbn=hq;..." c:nlive

Using the backup directory as the transaction log directory

An alternative procedure is to use the backup directory as the transaction log directory.

Again, the figure below illustrates a database named consol.db, with a transaction log named consol.log in the same directory. For the sake of simplicity, we consider the log to be in the same directory as the database, although this would not be generally safe practice in a production environment. The directory is named c:\live.

251

Page 269
Image 269
Sybase DC38133-01-0902-01 manual Following command line, Using the backup directory as the transaction log directory