You can restore a MySQL database to a different location (out of place).
To recover only the data, perform the restore by using a full backup.
Procedure
-
From the navigation pane, go to Protect > Databases.
The database Overview tab appears.
-
On the Instances tab, for the database instance you want to restore, click the action button
, and then click Restore.
Alternatively, click the instance you want to restore, then in the Recovery points tile, then click Restore.
The Backup content page appears.
-
Restore all the databases or individual databases:
-
To restore all the databases, select the Database name check box, and then click Restore.
-
To restore individual databases, select the check boxes for the databases that you want to restore, and then click Restore.
The Restore options dialog box appears.
-
-
Select Out of place option.
-
From the Restore type list, you can select the following restore types:
-
Cross instance restore
-
Restore to disk
-
-
If you select Cross instance restore, do the following:
-
From the Destination Client list, select the destination server for the restore.
-
From the Destination instance list, select the destination instance for the restore.
-
Under Restore type, select one of the following restore types:
-
Data
-
Log
-
-
In the Staging location box, enter the staging location where you want to restore the logs, then click Browse.
-
-
If you select Restore to disk, do the following:
-
From the Destination Client list, select the destination server for the restore.
-
From the Destination instance list, select the destination instance for the restore.
-
In the Destination folder, enter the destination folder path.
-
Under Restore type, select one of the following restore types:
-
Data
-
Log
-
-
-
Under Advanced options section, perform the following actions:
-
Under the Pre or Post options, do the following:
-
In the Pre recovery command box, enter the name or path of the process to run before the restore.
-
In the Post recovery command box, enter the name or path of the process to run after the restore.
-
If you want to initiate the restore as user, move the Run as User toggle button to right.
In the User name box, enter a user name you want to run the restore with.
-
-
Under the Data path, do the following:
- From the Server name drop-down list, select a media agent server name.
-
-
To send a notification email when the restore job completes, select the Notify user on job completion.
-
You can configure a schedule to repeat this restore operation. To create a schedule, do the following:
-
Click Schedule.
The Add schedule dialog box appears.
-
In the Name box, type a name for the schedule.
-
Configure the Frequency and Repeat parameters.
-
To specify exceptions to the schedule, click Exceptions.
The Exceptions dialog box appears.
-
Configure the exception parameters:
-
You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.
-
Click Save when you have finished configuring the exception parameters.
-
-
Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.
-
To save the schedule and return to the restore dialog box, click Schedule.
-
-
Click Submit.