Restore Data - MySQL

Topics | How To | Full System Restore | Related Topics


Overview

Restore Considerations for this Agent

Restore Destinations

Restoring Database to a Point in Time


Overview

The following page describes the agent-specific restore options. Additional restore options are accessible from the Related Topics menu.

The MySQL iDataAgent supports the following types of restores:

MySQL databases can be restored to the same instance or to different instances on the current machine. The databases can also be saved to the same instance on a destination machine (cross-machine restore).

You can restore MySQL system database. Selecting MySQL database from browse and restore converts restore into full instance restore. MySQL dump uses the default value of max_allowed_packet variable while creating dump from MySQL server. If you want to specify the value of max_allowed_packet explicitly for dump/restores, you can set the value in MySQL iDataAgent Registry keys.

Additionally, the MySQL iDataAgent supports:

To enable the non-FULL Recurring Restore job, use bFreshRecRestore  Key. This would clear the earlier history. If you do not enable this Registry Key, the earlier history will be cleared only for the instances with FULL restores.

For the MySQL iDataAgent, restore operations can be performed from the client, agent and instance levels in the CommCell Browser.

When there is a problem with the MySQL database or the client system (operating system, hardware, hard drives, etc.), full system restores may be required. See Restore Data - MySQL - Full System Restore for more information.


Restore Considerations for this Agent

Before performing any restore procedures for this agent, review the following information.
It is recommended not to drop MySQL database before performing a restore operation. MySQL database should be running when you perform restore operations.

Restore Destinations

By default, the MySQL iDataAgent restores data to the client computer from which it originated; this is referred to as an in-place restore. You can also restore the data to another Client computer in the CommCell. Keep in mind the following considerations when performing such restores:

The following section enumerates the types of restore destinations that are supported by the MySQL iDataAgent. See Restore/Recover/Retrieve Destinations - Support for a list of Agents supporting each restore destination type.

In-Place Restore

Out-of-Place Restore

Keep in mind that out-of-place restore operations are also subject to the conditions described in Cross-Platform Restores.

Cross-Platform Restores

The following types of cross platform restores are supported:

Same Operating System - Different Version

Restoring data associated with different versions of the same operating system is supported. You can also have different versions of MySQL in one machine. You can restore the data across these same/ different versions too. For example, you can restore data secured from a Solaris 9 to Solaris 10.

Different Operating System - Same/Different Version

You can restore data across different platforms too. You can restore data across different machines with different operating systems running same/different versions of MySQL server. However, you should be aware of how the data is restored under certain circumstances.

Same Machine - Multiple servers/instances

You can have several instances of MySQL databases in one server or multiple servers. Restoring data across these instance is also supported.

See Cross-Platform Restores from CommCell Console for a step-by-step procedure to perform a cross platform restores.


Restoring Database to a Point in Time

The point-in-time database restore is useful in the following scenarios:

When you perform a point-in-time restore for a database, the next scheduled backup for that database will automatically convert to a full backup.

Use the following steps to restore a database to a previous point-in-time:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | MySQL.
  2. Right-click the <Instance> and then click All Tasks | Browse Backup Data.
  3. Click Specify Browse Time and select the date and time of the data backed up to be displayed in the Browse window.
  4. Click OK.
  1. In the right pane of the Browse window, select one or more databases and click Recover All Selected.
  2. In the MySQL Restore dialog box, select the name of the client computer with instance to which you want to restore the database to in the Destination Server from the list.
  3. Verify that the status of the database is displayed as On-Line; if necessary click the Refresh button to refresh the status.
  4. Type or click Browse to select the staging path for data in the Staging Location box.
  5. Click Point-In-Time and select the date and time later than the date and time selected in the Browse Options dialog box.
  6. Click OK to start the restore.

Back to Top