Besides the commands for creating and restoring single-file
        backups (namely, backup-to-image and
        copy-back-and-apply-log),
        mysqlbackup provides a number of other
        commands for you to work with single-file backups. They are
        explained below.
      
mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE]
            [--backup-dir=PATH]
            [--src-entry=PATH] [--dst-entry=PATH]
            [--uncompress]
            [MESSAGE-LOGGING-OPTIONS]
            [PROGRESS-REPORT-OPTIONS]
            [ENCRYPTION-OPTIONS]
            [CLOUD-STORAGE-OPTIONS]
            image-to-backup-dir
mysqlbackup [STD-OPTIONS]
            [--backup-dir=PATH] [--backup-image=IMAGE]
            [MESSAGE-LOGGING-OPTIONS]
            [PROGRESS-REPORT-OPTIONS]
            [ENCRYPTION-OPTIONS]
            [CLOUD-STORAGE-OPTIONS]
            backup-dir-to-image
mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE]
            [MESSAGE-LOGGING-OPTIONS]
            [ENCRYPTION-OPTIONS]
            [CLOUD-STORAGE-OPTIONS]
            list-image
mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE]
            [--backup-dir=PATH]
            [--src-entry=PATH] [--dst-entry=PATH]
            [--uncompress]
            [MESSAGE-LOGGING-OPTIONS]
            [PROGRESS-REPORT-OPTIONS]
            [ENCRYPTION-OPTIONS]
            [CLOUD-STORAGE-OPTIONS]
            extract- It is an alias for the - extractcommand; see the description below for- extract.Note- image-to-backup-dironly creates a raw backup directory, which is NOT ready to be restored by the- copy-backcommand. To become a prepared backup, the backup directory has to go through an apply-log operation, executed either by a stand-alone- apply-logcommand or as a part of a- copy-back-and-apply-logcommand.
- Packs an existing backup directory into a single file. The value for the - --backup-imageparameter should either be “- -”(stands for standard output) or an absolute path outside of the- backup-dirdirectory. Specify a- --backup-imagevalue of- -(standard output) to stream an existing backup directory structure to a tape device or a command that transfers the backup to another server. For usage examples, see Section 4.3.1, “Making a Single-File Backup”.
- Display the contents of a single-file backup. Lists all files and directories in the image. For usage examples, see Section 4.3.1, “Making a Single-File Backup”. Note- The - list-imageoperation can be performed on a cloud backup only if the cloud proxy supports HTTP range headers.
- Unpacks individual files or directories from a single-file backup. It is useful for troubleshooting, or for restorations that do not require the full set of backup data. The resulting file or directory goes into the current directory, or into the backup directory, if specified with - --backup-dir; in either case, the destination directory must be empty. For usage examples, see Section 4.3.1, “Making a Single-File Backup”.- The - --src-entry=option can be used for selective extraction of files or directories whose path names in the image contain the- string- stringspecified with the option.Notes- Some items are always extracted from the backup; see the descriptions of - --src-entryfor details.
- The option is currently not supported for the extraction of cloud backups, which can only be extracted in full. 
 Tip- If you want to extract only from specific directories (for example, - datadir/meta), add a slash at the end of the option value (- --src-entry=); otherwise, any file or directory in the backup that contains the value in its pathname (including, for example,- meta/- datadir/pets/metabolism.ibd) will also be extracted.- The - --dst-entry=option, along with- path- --src-entry=option, can be used to extract files or directories into user-specified locations; see the description for the option for details.- path- Use the - --uncompressoption to extract files from a compressed single-file backup (the- --uncompressoption is not required when the- --src-entryis used).- The default destination for the extract is the current working directory. All the files with relative pathnames in the image are extracted to pathnames relative to the destination directory. If the image contains some entries with absolute pathnames, those entries are extracted to the same absolute pathnames on the local system even if the - --backup-diroption is specified. The- --dst-entryoption must be used to relocate an absolute pathname; see Example 4.12, “Dealing with Absolute Path Names”.Important- Even with all files extracted from the backup image, - extractonly creates a raw backup directory, which is NOT ready to be restored by the- copy-backcommand. To become a prepared backup, the backup directory has to go through an apply-log operation, executed either by a stand-alone- apply-logcommand or as a part of a- copy-back-and-apply-logcommand.