# Restoring to the Current Location (In Place)

You can restore a database for Alibaba Cloud ApsaraDB RDS for MySQL to its current location (in place).

## Procedure

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

   The database Overview page appears.

2. Go to the Instances tab.

3. In the row for the instance, click the action button , and then click Restore. Alternatively, click the instance you want to restore, and then in the Recovery points, click Restore.

   The Backup content page appears.

   Note

   Ensure that you have performed a successful backup on the selected date.

4. Select the database, and then click Restore.

   The Restore options dialog box appears.

5. On the In place tab, the Destination server and Destination instance are selected by default.

6. Optional: From the Select MediaAgent list, select a MediaAgent server name.

7. Under 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 key to right.

     - In the User name box, enter a user name you want to run the restore with.

8. To send a notification email when the restore job completes, select the When the job completes, notify me via email.

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

10. Click Submit.

×

Loading...