Conditional Shadows (Using CREATE SHADOW)

From InterBase

A shadow can be defined so that if it replaces a database, a new shadow will be automatically created, allowing shadowing to continue uninterrupted. A shadow defined with this behavior is called a conditional shadow.

To create a conditional shadow, specify the CONDITIONAL keyword with the CREATE SHADOW statement. For example:

CREATE SHADOW 3 CONDITIONAL 'employee.shd';

Creating a conditional file directs InterBase to automatically create a new shadow. This happens in either of two cases:

  • The database or one of its shadow files becomes unavailable.
  • The shadow takes over for the database due to hardware failure.