# Restoring MySQL Database Table to Different Host (Out-of-Place)

You can restore a MySQL database table to a different location (out-of-place).

## Procedure

1. From the Command Center navigation pane, go to Protect > Databases.

   The database Overview page appears.

2. Go to Instances tab.

3. Click the instance.

   The instance Overview page appears.

4. Go to Database groups tab.

5. On the Database groups tab, for the database group that you want to restore, click the action button , and then click Restore.

   The Backup content page appears.

6. From the Database view drop-down list, select Table view.

7. Select the database tables you want to restore and click Restore.

   The Restore options dialog box appears.

8. On the Out of place tab, from the Restore type list, you can select the following restore types:

   - Cross instance restore

   - Restore to disk

9. If you select Cross instance restore, do the following:

   1. From the Destination Client list, select the destination server for the restore.

   2. From the Destination instance list, select the destination instance for the restore.

   3. In the Staging location box, click Browse to enter the staging location where you want to restore the logs.

   4. Check Drop database or table if exists if you want to drop the database or table and then restore it.

   5. From the Define auxiliary database for table restores section, you can manually change the destination database name.

10. If you select Restore to disk, do the following:

    1. From the Destination Client list, select the destination server for the restore.

    2. From the Destination instance list, select the destination instance for the restore.

    3. In the Destination folder, enter the destination folder path.

11. 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.

      - To run a post process for all restore operation attempts of a job phase, whether it is successful, interrupted, suspended, or when the job fails, select Run post restore process for all attempts.

      - If you want to initiate the restore as user, move the Run as User toggle button to right.

        From the Credentials list, select a saved credential or add a new credential 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.

12. To send a notification email when the restore job completes, select the Notify user on job completion.

13. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

       The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

       The Exceptions dialog box appears.

    5. 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.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

14. Click Submit.

## Related Topic

Viewing and Editing Database Restore Schedule

×

Loading...