dump and load database

If the database you are loading contains encryption keys used in other databases, load database does not succeed unless you use with override.

Syntax

load database key_db from device_file with override

Usage

dump and load work on the cipher text of encrypted columns, ensuring that the data in encrypted columns remains encrypted while on disk. dump and load act on entire databases. Default keys, and keys created in the same database, are dumped and loaded along with the data they protect.

If your keys are in a separate database from the columns they encrypt, Sybase recommends that:

If you load the database containing the keys into a different database, errors result when you try to access the encrypted columns in other databases. To change the database name of the keys’ database:

WARNING! The consistency issues between encryption keys and encrypted columns are similar to those for cross-database referential integrity. See “Cross-database constraints and loading databases” in Chapter 12 of the Adaptive Server Enterprise System Administration Guide: Volume One.