Download MySQL Enterprise Backup User`s Guide (Version 3.8.2)

Transcript
Progress Report Options
Maximum number of re-read attempts, when a page fails a checksum test. A busy server could be
writing a page at the same moment that mysqlbackup is reading it. If the same page fails this many
checksum tests consecutively, with a pause based on the --page-reread-time option between each
attempt, the backup fails. Default is 500.
• --on-disk-full={abort|abort_and_remove|warn}
Specifies the behavior when a backup process encounters a disk-full condition. This option is only for
backup operations (backup, backup-and-apply-log, and backup-to-image).
• abort: Abort backup, without removing the backup directory. The disk remains full.
• abort_and_remove: Abort backup and remove the backup directory.
• warn: Write a warning message every 30 seconds and retry backup until disk space becomes
available.
Default: abort.
4.1.12 Progress Report Options
There are two options for controlling the progress reporting function of mysqlbackup: --show-progress
and --progress-interval:
• --show-progress[={stderr|stdout|file:FILENAME|fifo:FIFONAME|table|variable}]
The option instructs mysqlbackup to periodically output short progress reports known as progress
indicators on its operation.
The argument of the option controls the destination to which the progress indicators are sent:
• stderr: Progress indicators are sent to the standard error stream. The report is embedded in a timestamped mysqlbackup INFO message. For example:
130607 12:22:38 mysqlbackup: INFO: Progress: 191 of 191 MB; state: Completed
• stdout: Progress indicators are sent to the standard output stream. A single newline character is
printed after each progress indicator.
• file:FILENAME: Progress indicators are sent to a file. Each new progress report overwrites the file,
and the file contains the most recent progress indicator followed by a single newline character.
• fifo:FIFONAME: Progress indicators are sent to a file system FIFO. A single newline character is
printed after each progress indicator.
Warning
If there is no process reading the FIFO, the mysqlbackup process hangs at
the end of the execution.
• table: Progress indicators are sent to the mysql.backup_progress table. This requires a
connection to the MySQL server, and therefore, only works when backing up a running MySQL
instance. mysqlbackup first adds one row of the progress report to the mysql.backup_progress
table, and then updates the row afterwards with the latest progress indicator. The progress indicator is
stored in the current_status column of the table.
59