Restoring Database Backups

The RESTORE DATABASE utility returns a damaged or inconsistent database to the same state as at the end of the first implicit CHECKPOINT of the backup you restored. Restore backups in the correct order, using a separate RESTORE command for each backup.

When you restore from a full backup, every block in use at the time the backup is written to disk. When you restore from an incremental backup, only the blocks that change between the previous backup (or the previous full backup) and this backup are written to disk. During an incremental restore, RESTORE DATABASE creates and drops dbspaces as needed to match the period of operation encompassed by the restores.

Unless specifically noted, instructions pertain to the RESTORE DATABASE utility that is distributed as part of SAP Sybase IQ. For third-party APIs, refer to the third-party product documentation for archive_device strings and other information.