Changing the location of a transaction log

The database cannot be running when you change the location of the transaction log.

For more information about how to choose the location of a transaction log, see The transaction log.

To change the location of a transaction log (Sybase Central)
  1. From the Tools menu, choose SQL Anywhere 11 » Change Log File Settings.

  2. Follow the instructions in the Change Log File Settings Wizard.

To change the location of a transaction log mirror for an existing database (command line)
  1. Ensure that the database is not running.

  2. Run the following command:

    dblog -t new-transaction-log-file database-file
See also