Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 424

Table of Contents

Advertisement

Restoring your databases
Example
404
To determine the correct order, you need the information about backup files
that is stored in the backup log. See "Getting information about backups and
restores" for the content and location of this file.
Restore backups as follows:
If your database is corrupt, or if you are moving any files to a new location,
you must restore a
FULL
If your most recent backup is a
database to the state that existed before any existing incremental(s) were
made, restore the full backup only.
If you have an
INCREMENTAL_SINCE_FULL
database failure, first restore from the last
the
INCREMENTAL_SINCE_FULL
If you do not have an
performed one or more
backup, first restore the
backups in the order in which they were made.
Within a given backup, the order in which you restore tapes is also important.
In particular, you need to keep track of the order of tapes in each backup tape
set, that is, the set of tapes produced in a given backup on a given archive
device:
You must restore the tape set that contains the backup of the Catalog Store
first, and it must be on the first archive device.
Within each set, you must restore tapes in the order in which they were
created.
You cannot interleave sets; each set must be restored before you can
restore another set.
After the first set, the order in which sets are restored does not matter, as
long as it is correct within each set.
Use the same number of drives to restore as were used to produce the backup,
so that you do not accidentally interleave tapes from different sets.
Assume that you are restoring a full backup, in which you used three archive
devices, and thus produced three tape sets, A, B, and C. The contents of each
set, and the restore order, are as follows:
Tapes A
, A
, and A
Set A
1
2
set must be restored first, and must be in the first device.
backup.
backup, or if you need to restore a
FULL
backup that precedes the
FULL
backup.
INCREMENTAL_SINCE_FULL
backups since your last
INCREMENTAL
backup, and then restore the
FULL
. Tapes A
and A
contain the Catalog Store. This
3
1
2
backup, and then restore
backup, but you have
FULL
INCREMENTAL

Advertisement

Table of Contents
loading

Table of Contents