4.1.1.4 Work with Single-File Backups

To simplify transfer and management of backup data, you can keep each backup in a single file (the backup image). The backup-to-image option performs a backup directly to a single file, or the options here can pack an existing backup into a single file or unpack a single-file backup to a full backup directory structure. For usage and examples, see Section 3.3.5, “Making a Single-File Backup”.

mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE] [--backup-dir=PATH]
            [PROGRESS-REPORT-OPTIONS]
            image-to-backup-dir

mysqlbackup [STD-OPTIONS]
            [--backup-dir=PATH] [--backup-image=IMAGE]
            [PROGRESS-REPORT-OPTIONS]
            backup-dir-to-image

mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE] [--src-entry=PATH]
            list-image

mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE] 
            [PROGRESS-REPORT-OPTIONS]
            validate

mysqlbackup [STD-OPTIONS]
            [--backup-image=IMAGE]
            [--backup-dir=PATH]
            [--src-entry=PATH] [--dst-entry=PATH]
            [PROGRESS-REPORT-OPTIONS]
            extract