MySQL 8.0 参考手册 / 第 23 章 MySQL NDB Cluster 8.0 / 23.5 NDB 集群程序 / 23.5.23 ndb_restore — 恢复 NDB Cluster 备份 /
5.1.2 Restoring an Encrypted Backup Image
Restore an encrypted backup image named
<image_name>
to
<restoreDir>
on the server with
copy-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-log
See Section 16.13, “Encryption Options” for more details on backup encryption and decryption.