compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (16)

View Page History
You can restore a MySQL database to an alternate Agent by following the instructions below in your CDP Enterprise or Advanced Edition.

1. Log in to the Web Interface of the backup server containing the backups for the MySQL Database you want to restore. (See [Accessing Enterprise Edition Web Interface], [CDP3:Accessing Advanced Edition Web Interface].)
!log.png!
1. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" window.

2. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" window.
!me.png!

32. In the "Recovery Points" list, select a Recovery Point containing the necessary database replication.
{info:title=Tip}To find a Recovery Point, you can use the Basic and Advanced List Filters. See [Customizing the Recovery Points List|http://wiki.r1soft.com/display/CDP3/Customizing+the+Recovery+Points+List].
{info}
!m1.png!

43. The "Browse Databases" window opens. Select a database instance from the drop-down menu.
!q1f.png!

54. You can browse the instance by clicking the "+" icon.
!m3f.png!

65. Select the database you want to restore and click "Restore Selected."
{info:title=Note}Starting with CDP version 3.14 and higher you can no longer select to restore individual tables or other objects like triggers or views. You can only restore the entire database.
{info}
!qq2f.png!

76. In the appeared "Restore Databases" wizard window, define the options for the restore.

On the first screen, familiarize yourself with the introductory information and click "Next" to proceed.
!intro.png!

87. On the "Host" screen, you have two options for selecting the host to restore to:
* *Restore to Original Host* \- If you select this option, the restore will be done to the Agent where the source database was located. If the database exists, it can be overwritten.
* *Restore to Alternate Agent* \- Select a destination Agent which is already added to the system.
!restore-wizard-next.png!

98. On the "Authentication" screen, you have two options to specify to connect to the database.
* *Use Original Authentication Credentials* \- Connects using the default username and password used to backup the database instance.
* *Specify Alternate Authentication Credentials* \- Allows you to set username and password different from the default ones. The user must have full administrator-level access to the database instance you are going to restore.
!restore-wizard-next.png!

10. 9. The next screen is "Temp Instance." When restoring databases, the system needs to create a temporary directory on the target agent for the restore. There are two options for this.
* *Use Default Temp Directory* \- Creates a directory in an OS-specific default location ({color:blue}C:\Temp{color} for Windows, {color:blue}/tmp{color} for Linux).
* *Specify an Alternate Temp Directory* \- Allows you to control exactly where the {color:blue}temp{color} directory is created on the Agent.
!restore-wizard-next.png!

110. The following screen is "Data Directory." By default, database configuration retrieved during discovery is used. In some environments, this path doesn't point to the actual location on the filesystem for the data. To remedy this, you can choose to specify the exact path for the data directory. This will ensure that we can locate the data files for the database during the restore.
!http://youngcopy.net/handynetworks/images_for_confluence/alt8.png!

!restore-wizard-next.png!

121. The next screen is "Base Directory". By default, the system automatically determines where on the filesystem the necessary program files are located. In some environments, the automatic method fails. To remedy this, you can  specify the exact path for the base directory.
!http://youngcopy.net/handynetworks/images_for_confluence/alt9.png!

!restore-wizard-next.png!

132. On the last "Restore Summary" screen, the settings you have selected are listed.
!alt10.png!

143. Once you have verified that the specified setting are correct, click "Restore."
!restore-wizard-restore.png!

154. The "Details for Database Restore" window will appear. It indicates that the restore process is launched. You can watch the progress in real time.
!a5.png!