MySQL Enterprise Backup 9.1 User's Guide / ... / Using MySQL Enterprise Backup / Recovering or Restoring a Database Server / Performing a Restore Operation / Restoring an Encrypted Backup Image
Restore an encrypted backup image named<image_name> to<restoreDir> on the server withcopy-back-and-apply-log, using the encryption key contained in a file named<keyFile> :
Example 5.5 Restoring an Encrypted Backup Image
mysqlbackup --defaults-file=<my.cnf> --backup-image=<image_name> \ --backup-dir=<backupTmpDir> --datadir=<restoreDir> --decrypt --key-file=<keyFile> copy-back-and-apply-logSeeSection 20.13, “Encryption Options” for more details on backup encryption and decryption.