# Restoring a Database Instance to its Current Location (In-Place)

You can restore a MySQL database to its current location (in-place).

To recover only the data, perform the restore by using a full backup.

## Procedure

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

   The database Overview tab appears.

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

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

4. Select In place option.

5. The Destination server and Destination instance are selected by default.

6. Under Restore type, select one of the following restore types:

   - Data

   - Log

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

   Note

   For an in-place restore operation, the destination client and the destination instance are the same as the source client and the source instance.

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

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

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

11. Click Submit.

## Related Topic

Viewing and Editing Database Restore Schedule.

×

Loading...