MySQL Enterprise Backup User's Guide (Version 8.4.0)

Chapter 16 Using LDAP for Server Authentication

LDAP pluggable authentication is a feature supported by the MySQL Enterprise Edition; the user by which mysqlbackup connects to the server can be authenticated using LDAP. Beyond proper setup for LDAP on the server side, the following requirements apply for LDAP authentication to work with mysqlbackup:

The following are some sample commands for using LDAP authentication:

Example 16.1 Backup Using Simple LDAP Authentication

mysqlbackup --user=mysqlbackup --password=password --host=127.0.0.1 \
  --backup-dir=/home/mysqlbackup/backup-tmp  --backup-image=/home/mysqlbackup/backups/my.mbi \
  --enable-cleartext-plugin backup-to-image

Example 16.2 TTS Restore Using Simple LDAP Authentication

 
mysqlbackup --user=mysqlbackup --password=password  --host=127.0.0.1 \
  --backup-dir=/home/mysqlbackup/backup-tmp  --backup-image=/home/mysqlbackup/backups/my.mbi \
  --include-tables=REGEX --enable-cleartext-plugin copy-back-and-apply-log

Example 16.3 Backup Using SALS-based LDAP Authentication

mysqlbackup --user=mysqlbackup --password=password --host=127.0.0.1 \
  --backup-dir=/home/mysqlbackup/backup-tmp  --backup-image=/home/mysqlbackup/backups/my.mbi \
  --plugin-dir=SASL_plugin-dir backup-to-image

Example 16.4 TTS Restore Using SALS-based Authentication

 
mysqlbackup --user=mysqlbackup --password=password  --host=127.0.0.1 \
  --backup-dir=/home/mysqlbackup/backup-tmp  --backup-image=/home/mysqlbackup/backups/my.mbi \
   --include-tables=REGEX --plugin-dir=SASL_plugin-dir copy-back-and-apply-log