Chatta subito con l'assistenza
Chat con il supporto

NetVault Plug-in for MySQL 11.2 - User Guide

Introducing NetVault Backup Plug-in for MySQL Installing and removing the plug-in Configuring the plug-in Backing up data Restoring data Working with native MySQL replication Using the plug-in in a Failover Cluster environment Troubleshooting

Setting backup options for MySQL Standard/Community

With the applicable items selected for backup, you can select the type of backup to perform and select a different behavior if there is a failure.

TIP: To use an existing set, in the Plugin Options list, select the set that you want to use.
1
Next to the Plugin Options list, click Create New.
IMPORTANT: If you specified the target instance of MySQL as a “Replication Master Instance,” that is, the Enable MySQL Replication and Master Instance options were selected in the Configure dialog box for this instance, the Full, Incremental, and Differential forms of backup are unavailable for selection. For more information, see Working with native MySQL replication.
Full Backup for All Databases (default selection): To perform a complete backup of every database included in the current MySQL Instance, select this option.
Incremental Backup: To back up only the transaction logs that were generated since the last Full or Incremental Backup, select this option.
Differential Backup: To back up all the transaction logs that have been generated since the last Full or Incremental Backup, select this option. Each time a subsequent Differential is performed, it contains all Binary Log files generated since the original Full was performed. After the backup is finished, the Binary Logs are kept on the MySQL Instance.
Individual Database/Table Copy Only: To create a special-purpose copy of a MySQL environment that does not affect the overall backup and restore procedures for the database, for example, creating a test environment, select this option. When used, these copy backups do not affect the sequence established by a Full and Incremental or Differential MySQL backup scenario, that is, these backups have no effect on Binary Log records. This form of backup is independent of what should be established as a normal sequence of backups by using a Full and Incremental or Differential MySQL backup scenario. In addition, a copy backup cannot be used as a replacement for a Full Backup.
Lock All Tables with Read Access…: If you selected Full Backup and you want to prevent the loss of transactions by locking all the databases in the instance that currently have read-only access, select this check box. When this option is selected, users are unable to insert, update, or delete data across the entire instance while the Full Backup is in progress. When this option is cleared, the plug-in locks each table during the backup process only when the table is being backed up; therefore, if the instance contains tables that are related, Quest recommends that you select this option to ensure that all tables are locked during the process.
Purge Binary Logs…: This option is selected by default when the plug-in is used with a standard MySQL Server configuration, Enable MySQL Replication is disabled, and Enable Point-In-Time Recovery is enabled. It is disabled when the plug-in is connected to a cluster; you must manage the purging of the binary logs outside of the plug-in. Quest recommends that you use this option, but you can decide how much control you want over the binary logs.
IMPORTANT: In a mixed environment, where a NetVault Backup Server manages both clustered and standard MySQL Servers, do not reuse a Backup Options Set — created for a standard MySQL Server — for a MySQL-based cluster.
Complete with Warnings — Saveset Retained: The job returns a status of “Backup Completed with warnings” and a backup saveset is created that includes the items that were successfully backed up.
Complete without Warnings — Saveset Retained: The job completes and returns a status of “Backup Completed.” The errors are logged in the NetVault Backup binary logs and ignored on the Job Status page. A backup saveset is created that includes the items that were backed up.
Fail — Saveset Retained: The job returns a status of “Backup Failed.” However, a backup saveset is generated that includes the items that were successfully backed up.
Fail — No Saveset Retained: The job returns a status of “Backup Failed” and no saveset of backed-up objects is kept. That is, even if some of the objects were successfully backed up, the saveset is discarded.
4
In the Mysqldump options box, list the command options that you want the mysqldump utility to use for the job.
These options are added to the mysqldump command first, followed by the options that the plug-in generates internally. Because of this order, an option that you enter here that contradicts one generated internally is overridden by the one generated by the plug-in.
Errors detected by mysqldump that cause the job to fail are embedded in the error log message in the job log.
For information about the options supported by your version of mysqldump, see the applicable MySQL documentation.
WARNING: Do not use the --routines (-R) or --triggers option with this feature. Using these options interferes with backups of database tables, and while backups succeed, restores might fail. If there are stored procedures and triggers that must be backed up for a database, the plug-in generates mysqldump commands internally with the --routines and ‑‑triggers options.
5
Click Save to save the set.
6
In the Create New Set dialog box, specify a name for the set, and click Save.

Setting backup options for MySQL Enterprise Backup

With the applicable items selected for backup, you can select the type of backup to perform and select a different behavior if there is a failure.

TIP: To use an existing set, in the Plugin Options list, select the set that you want to use.
1
Next to the Plugin Options list, click Create New.
Full Backup (default selection): To back up every database and table selected in the current MySQL Instance, select this option.
Incremental Backup: To back up only the data, for InnoDB tables, or complete tables, for non-InnoDB tables, changed since the last Full or Incremental Backup, select this option.
3
Click Save to save the set.
4
In the Create New Set dialog box, specify a name for the set, and click Save.

Finalizing and submitting the job

1
Use the Schedule, Target Storage, and Advanced Options lists to configure any additional required options.
2
Click Save or Save & Submit, whichever is applicable.
TIP: To run a job that you have already created and saved, select Manage Job Definitions in the Navigation pane, select the applicable job, and click Run Now.
You can monitor progress on the Job Status page and view the logs on the View Logs page. For more information, see the Quest NetVault Backup Administrator’s Guide.

 

Restoring data

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione