Restoring encrypted backup images to the same system
You can restore an encrypted database backup image to the same system with the RESTORE DATABASE command.
Procedure
To restore an encrypted database backup image to the same system:
Run the RESTORE DATABASE command:
db2 restore database <database_name> ENCRLIB 'db2encr.dll'
Note: While this example uses the db2encr.dll option for restoring an encrypted
database, other options are available. For the full set of encryption options, refer to the RESTORE
DATABASE reference topic.