Change 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. Use the SQL Anywhere 12 plug-in to connect to the database.

  2. From the Tools menu, choose SQL Anywhere 12 » Change Log File Settings.

  3. 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