Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Backup and Data Recovery » Backup and recovery tasks

Recovering from media failure on a mirrored transaction log Next Page

Recovering from a live backup


A live backup is made to a separate computer from the primary computer that is running your production database. To restart a database from a live backup, you must have SQL Anywhere installed on the secondary computer. For more information about live backups, see Protecting against total computer failure.

To restart a database using a live backup
  1. Copy the full backup transaction log file and the live backup transaction log to a directory where they can be applied to the backup copy of the database file.

  2. Rename or delete the current transaction log file whose name matches the expected transaction log file name, if one exists.

  3. Start the database server with the -ad option to apply the transaction logs in the directory created in step 1 and bring the database up to date:

    dbeng10 samples-dir\demo.db -ad directory-name

    For information about samples-dir, see Samples directory.

    The database server shuts down automatically once the transaction log is applied.

  4. Start the database server in the normal way, allowing user access. Any new activity is written to a new transaction log.

See also