Before You Restore

Conditions must be met before you can restore a database.

Restore requires exclusive access to the database and to the server. To gives the DBA greater control over inadvertent opens of the database, start the database server with the -gd DBA option set, but do not start the database you are restoring. RESTORE automatically starts the database in such a way that no other users can connect to it.

You must restore an entire backup or set of backups, including the full backup and all subsequent incremental backups. Restoring individual files from a backup archive is supported for read-only dbspaces and files alone. However, you can move database files to a new location using the RENAME clause of the RESTORE command.

Before you restore the database, you can verify the database backup (an existing SAP Sybase IQ version 12.7 or later database backup) using the VERIFY clause of the RESTORE SQL statement.