Encrypting a Database Backup File

From InterBase

Go Up to Encrypting Backup Files


The -encrypt switch requires the name of the encryption defined in the database that is being backed up. Please note that encrypted databases can be backed up only as a service, and thus will also need to provide full path names to the database file and backup file.

The following example shows how to use the -encrypt and -sep switches to encrypt a sample database backup file:

gbak -se service -b c:\embarcadero\interbase\examples\database\employee.ib c:\backup_dir\employee.ibak -sep 'sep password' -encrypt my_backup_key
gbak -se localhost:service -b c:\embarcadero\interbase\examples\database\employee.ib c:\backup_dir\employee.ibak -sep 'sep password' -encrypt my_backup_key

Advance To: