SQL HyperBac - 5.4
Managing key files for encrypted backups
SQL HyperBac can encrypt your backup files using the popular Advanced Encryption Standard (AES), with options to use AES-128, AES-192, or AES-256 encryption.
This topic describes how SQL HyperBac uses key files to encrypt your backup data, and explains why it is important that you manage and back up these key files.
For more information about backing up using SQL HyperBac's default encryption settings, see Worked example: backing up with compression or encryption. For information about setting up encryption options, see Working with file paths, extensions, and processing options.
About key files and encryption
When SQL HyperBac detects that a backup operation requiring encryption has started, it will first check the 'keys' directory on the SQL Server (located at 'C:\Program Files\Red Gate\HyperBac\keys' by default) to look for a valid key file:
- If SQL HyperBac finds a key file, it uses this key file to encrypt the backup data
- If a key file does not exist, SQL HyperBac automatically generates a random key to encrypt the data, and saves the corresponding key file to the 'keys' directory.
You can think of the key file as equivalent to a password for accessing the encrypted backup data. If you lose the key file associated with an encrypted backup, the original backup data cannot be recovered.
Managing and backing up key files
Note that SQL HyperBac does not manage your key files for you. It is your responsibility to ensure that all key files are backed up, and that the correct key file is made available if you need to restore an encrypted backup.
You should ensure that you have a backup strategy for key files, and that key files are backed up and stored separately from the data they have been used to encrypt.
Your strategy for backing up and managing key files applies to all such files, whether the key files are automatically generated by SQL HyperBac, or are key files that you created.
See also |
Was this article helpful?
SQL HyperBac
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL HyperBac
- Using flexible licensing with SQL Backup Pro and SQL HyperBac
- Using SQL Backup Pro and SQL HyperBac together on the same server
- SQL HyperBac release notes - version 5.xx
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SQL HyperBac