Granular SQL restore with Ontrack PowerControls (Kroll restore)
Topic
This article explains the process to perform a granular Microsoft SQL database restore using Ontrack PowerControls. Ontrack PowerControls supports SQL 2005, SQL 2008, SQL 2008 R2, SQL 2012, and SQL 2014 and can read MDF, LDF, NDF, and BAK files. To restore an Exchange server, see Exchange mailbox restore with Ontrack PowerControls (Kroll restore).
To learn more about PowerControls' restore capabilities, see Ontrack PowerControls User Guide Version 9.3 for SQL (external link).
IMPORTANT Datto appliances use Ontrack PowerControls version 9.3. Newer versions of this software are unsupported.
ALTO users not on per-agent pricing must purchase this service at an additional cost. Contact your Sales Executive if you need to purchase a PowerControls license for an ALTO appliance.
Environment
- Datto SIRIS
- Datto ALTO
- Ontrack PowerControls
- Microsoft SQL Server
Description
The restore process has several steps:
- Download Ontrack for SQL
- Check the Microsoft SQL Server datastore
- Mount a file restore
- Use Ontrack PowerControls to connect the data source and SQL target
- Copy source target
Download Ontrack PowerControls
You can download Ontrack PowerControls for Microsoft SQL Server directly from the Datto Device Web, and install Ontrack PowerControls for Microsoft SQL Server on a Windows PC that can connect to the Microsoft SQL Server.
-
Log in to the web interface for your Datto appliance. Go to the Advanced menu and click Granular Restore. Under Kroll Ontrack PowerControls for Microsoft SQL Server, click the Executable and the License File links to download each file.
NOTE If you need to restore Microsoft SQL Server 2016, use the Kroll Ontrack PowerControls for Microsoft Exchange and SharePoint installer and license. Then, follow the steps described in this article to complete the restoration. To learn how to install Kroll Ontrack PowerControls for Microsoft Exchange and SharePoint, see our Exchange article.
-
Once you've downloaded the executable and the license file, locate the self-extracting archive you downloaded and install and activate the program. You do not need to install PowerControls on the MS SQL server, but you must be able to connect to the SQL server from the machine on which you install it.
Check the Microsoft SQL Server datastore
-
To navigate to the correct location to retrieve your data, you must know where your SQL server stores this data. To do so, go into the Microsoft SQL Server program. Right-click the top-level server, and choose Properties. This example shows SQL Server 2008. Other versions of SQL Server may differ.
-
In the Server Properties window, click the Database Settings option.
Note the location of the Data and Log files. This information will be needed later.
Mount a file restore
-
To start the file restore, click the Restore tab of the Datto appliance.
-
Choose the SQL server from which you want to restore data and select File Restore. Then, choose the recovery point that has the data that you need.
-
Click the Mount button, and make a note of the Samba Share information.
Use Ontrack PowerControls to connect the data source and SQL Target
-
In the Ontrack program, go to the File menu and click Open Source.
-
Navigate to the data source, choose the *.mdf file, and click Open.
-
You will see the Data Wizard with both the *.MDF and *.LDF files listed.
Copy source to target
-
The Data Wizard prompts you to select your target server. Enter your credentials to connect to the Microsoft SQL Server. Then, choose the database you need to restore. In this example, it is connecting to the localhost for the SQL server and the DattoDummyDataSQL database.
-
Click Finish, a window with both the Source and Target will be visible. Drag and drop the table you wish to restore into the folder.
Once the file has been dropped into the target folder, a progress window will appear for the duration of the copy.
-
When the copy progress has finished, and all the needed data has been restored, click Close.
Additional Resources
- Ontrack PowerControls User Guide Version 9.3 for SQL (external link)