<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="clone-plugin-encrypted-data">
      </a>
      7.6.7.5 Cloning Encrypted Data
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045255424080">
  </a>
  <p>
   Cloning of encrypted data is supported. The following
        requirements apply:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      A secure connection is required when cloning remote data to
            ensure safe transfer of unencrypted tablespace keys over the
            network. Tablespace keys are decrypted at the donor before
            transport and re-encrypted at the recipient using the
            recipient master key. An error is reported if an encrypted
            connection is not available or the
      <code class="literal">
       REQUIRE NO
            SSL
      </code>
      clause is used in the
      <a class="link" href="clone.html" title="15.7.5 CLONE Statement">
       <code class="literal">
        CLONE
            INSTANCE
       </code>
      </a>
      statement. For information about
            configuring an encrypted connection for cloning, see
      <a class="xref" href="clone-plugin-remote.html#clone-plugin-remote-ssl" title="Configuring an Encrypted Connection for Cloning">
       Configuring an Encrypted Connection for Cloning
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      When cloning data to a local data directory that uses a
            locally managed keyring, the same keyring must be used when
            starting the MySQL server on the clone directory.
     </p>
    </li>
    <li class="listitem">
     <p>
      When cloning data to a remote data directory (the recipient
            directory) that uses a locally managed keyring, the
            recipient keyring must be used when starting the MySQL sever
            on the cloned directory.
     </p>
    </li>
   </ul>
  </div>
  <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Note
   </div>
   <p>
    The
    <a class="link" href="innodb-parameters.html#sysvar_innodb_redo_log_encrypt">
     <code class="literal">
      innodb_redo_log_encrypt
     </code>
    </a>
    and
    <a class="link" href="innodb-parameters.html#sysvar_innodb_undo_log_encrypt">
     <code class="literal">
      innodb_undo_log_encrypt
     </code>
    </a>
    variable settings cannot be modified while a cloning operation
          is in progress.
   </p>
  </div>
  <p>
   For information about the data encryption feature, see
   <a class="xref" href="innodb-data-encryption.html" title="17.13 InnoDB Data-at-Rest Encryption">
    Section 17.13, “InnoDB Data-at-Rest Encryption”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
