Contents Index Recovering from media failure on an unmirrored transaction log Recovering from a live backup

ASA Database Administration Guide
  Backup and Data Recovery
    Backup and recovery tasks

Recovering from media failure on a mirrored transaction log


To recover from media failure on a mirrored transaction log

  1. Make an extra copy of the backup of your database file taken at the time the transaction log was started.

  2. Identify which of the two files is corrupt. Run the Log Translation utility on the transaction log and on its mirror to see which one generates an error message. The Log Translation utility is accessible from Sybase Central or as the dbtran utility.

    The following command line translates a transaction log named asademo.log, placing the translated output into asademo.SQL:

    dbtran asademo.log

    The Log Translation utility properly translates the intact file, and reports an error while translating the corrupt file.

  3. Copy the correct file over the corrupt file so that you have two identical files again.

  4. Restart the server.


Contents Index Recovering from media failure on an unmirrored transaction log Recovering from a live backup