Conditional Shadows
Go Up to Creating a Shadow
You can define a shadow in a way that if that shadow replaces a database, the server creates a new shadow file. This allows 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 'atlas.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.