The general options are options of a general nature, or options that are not classified under any other specific option group:
The following general options also exist for the mysql command. Full descriptions for these options can be found in the MySQL reference manual, for example in Server Option, System Variable, and Status Variable Reference. These options must be specified ahead of any other mysqlbackup options, including the rest of the general options:
--print-defaults: Print the program argument list and exit.
--no-defaults: Don't read default options from any option file.
--defaults-file=: Only read default options from the given file. It has to be the first option to be specified, if used.
--defaults-extra-file=: Read this file after the global files are read.
--defaults-group-suffix=: Also read option groups with the usual names and a suffix of
The following options are also common between mysqlbackup and mysql, and full descriptions for them can be found in the MySQL reference manual, accessible through, e.g., Server Option, System Variable, and Status Variable Reference. However, mysqlbackup does not accept any short forms for these options as mysql does (for example, you must use
More general options are available for mysqlbackup:
For any restore operations, do NOT attempt to restore data to a non-empty data directory using the
--forceoption; doing so may cause data corruption and other unexpected behaviors. Do not use the
--forceoption with a
Overwriting of InnoDB data and log files during the
Replacing of an image file during an
Type Enumeration Default Value
Trace level of mysqlbackup messages. The permissible levels, in the order of increasing fineness, are:
0 - INFO (information, warnings, errors)
1 - FINE (more information given than at trace level 0)
2 - FINER (finer level of information given than at trace level 1)
3 - FINEST (finest level of information that can be given)
Type Numeric Minimum Value
Specifies the exit code for which the
print-messagecommand prints the corresponding exit message. See Section 17.1, “Exit codes of MySQL Enterprise Backup” for details.
For MySQL Enterprise Backup 8.0.22 and later: Enables the Client-Side Cleartext Pluggable Authentication. Required when using simple LDAP authentication. See Chapter 16, Using LDAP for Server Authentication.
For MySQL Enterprise Backup 8.0.22 and later: Specifies the directory for the client-side plugins. Required when using SASL-based LDAP authentication AND the client-side plugin is not in the server's plugin directory. See Chapter 16, Using LDAP for Server Authentication for details.