Recovery considerations

You can load a database backup into a pre-existing database, or you can create a new database with the for load option. For details on creating a database for load, see “Creating a database”. With this method, you can move a database to a different Adaptive Server. However, you cannot load a database backup that was created on a different operating system or with an earlier release of Adaptive Server.

StepsPreventing users from making changes during a database restore

  1. Select the following database options in the Database Options dialog box:

  2. Clear the Checkpoint On Recovery option.

When recovery is complete, clear these options to allow users to resume updating the database.

For more information, see the System Administration Guide and the Sybase Troubleshooting and Error Messages Guide.

Privileges

Operators can restore any database. Database Owners can restore databases they own.

StepsRestoring a database

  1. Select the database icon.

  2. Select File | Restore.

    The Restore Command Creation wizard opens.

The Restore Command Creation wizard asks for the following information:

Table 16-3: Inputs to restore command creation wizard

Input

Description

Database name

Name of database or databases to restore.

Scope

Restore the entire database or just the transaction log.

Device name

Specify the dump device or devices for the backup.

Backup name

Specify a backup name if the backup used one.

Rewind

For tape devices, specify whether or not to rewind the tape after the backup.

Shortcut

Right-click the database icon, and select Restore from the shortcut menu.