1Z0-888 · Question #1
You have just executed a manual backup by using this command: mysqldump -u root -P --socket=/tmp/my.sock --backup-dir=/my/backup/ backup The operation completed without error. What is the state of…
The correct answer is E. Backup State = Raw Backup Operation = backupdir-to-image. Option E is correct because the mysqlbackup backup command (note: the question's command syntax indicates MySQL Enterprise Backup, not mysqldump) creates a raw backup - the backup data is captured in directory format but InnoDB redo logs have not yet been applied, leaving the…
Question
Options
- ABackup State = Compressed Backup Operation = copy-back
- BBackup State = Raw Backup Operation = apply-log
- CBackup State = Prepared Backup Operation = validate
- DBackup State = Prepared Backup Operation = apply-log
- EBackup State = Raw Backup Operation = backupdir-to-image
How the community answered
(13 responses)- A8% (1)
- C8% (1)
- E85% (11)
Explanation
Option E is correct because the mysqlbackup backup command (note: the question's command syntax indicates MySQL Enterprise Backup, not mysqldump) creates a raw backup - the backup data is captured in directory format but InnoDB redo logs have not yet been applied, leaving the data files in an inconsistent state. Since the backup was written to a --backup-dir, the required next operation is backupdir-to-image, which converts the directory-based raw backup into a single portable image file (.mbi) that can then be processed and restored.
Why the distractors are wrong:
- A is wrong because no
--compressflag was used (ruling out Compressed), andcopy-backrestores a prepared backup - not a raw one. - B is wrong on the operation:
apply-logtransitions the backup from Raw to Prepared - it doesn't prepare the directory-format backup for restoration;backupdir-to-imagemust come first in this workflow. - C is wrong because the backup is Raw, not Prepared, and
validateonly verifies integrity - it does not make a backup restorable. - D is wrong because calling the backup "Prepared" is incorrect -
apply-loghas not been run yet.
Memory tip: Think of the backup workflow as a pipeline - Raw → Image → Prepared → Restored. A --backup-dir backup is "Raw in a box"; backupdir-to-image gets it out of the box before any further processing can happen.
Topics
Community Discussion
No community discussion yet for this question.