Chapter 11. Administering SQL Remote for AdaptiveSer ver
Anywhere
1. Backs up the transaction log file, creating a backup file
c:\archive\consol.log
.
2. Renames the existing transaction log file to
971201xx.log
,where
xx
are
sequentialcharacters ranging from AA to ZZ.
3. Starts a new transaction log, as
consol.log
.
Afterseveral backups, the live directory contains a set of sequential
transactionlogs.
C:\Live C:\Archive
consol.db
consol.log
consol.db
971201AA.log
971201AB.log
971201AC.log
consol.log
AMessage Agent
commandline Youcan run the Message Agent with access to these log files using the
followingcommand line:
dbremote -c "dbn=hq;..." c:\live
Using the backup directory as the transaction log directory
Analternative procedure is to use the backup directory as the transaction log
directory.
Again,the figure below illustrates a database named
consol.db
,with a
transactionlog named
consol.log
inthe same directory. For the sake of
simplicity,we consider the log to be in the same directory as the database,
althoughthis would not be generally safe practice in a production
environment. The directory is named
c:\live
.
251