You must add the SQL Server machine to protection on the Rapid Recovery Core before performing this procedure. For more information about protecting machines, see Protecting a machine.
Once you protect data on a Microsoft SQL Server machine, you can set login credentials for a single instance, or for all SQL Servers, in the Rapid Recovery Core Console.
Complete the steps in this procedure to set credentials for each SQL Server.
- In the left navigation area of the Rapid Recovery Core Console, select the protected SQL Server machine for which you want set credentials.
The Summary page displays for the protected SQL Server.
- On the Summary page, from the links at the top of the page, click the downward-facing arrow to the right of the SQL menu, and then from the resulting drop-down menu, do one of the following:
If you want to set default credentials for all SQL Server database instances, click
Set Default Credentials for All Instances, and in the
Edit Default Credentials dialog box, do the following:
- In the User name text field, enter the user name for a user with permissions to all associated SQL servers; for example, Administrator (or, if the machine is in a domain, [domain name]\Administrator).
- In the Password text field, enter the password associated with the user name you specified to connect to the SQL server.
- Click OK to confirm the settings and close the dialog box.
If you want to set credentials for a single SQL Server database instance, click the display name of the protected SQL Server machine, and then in the
Edit Instance Credentials dialog box, do the following:
- Select the credential type (Default, Windows, or SQL)
- In the User name text field, enter the user name for a user with permissions to the SQL server; for example, Administrator (or, if the machine is in a domain, [domain name]\Administrator).
- In the Password text field, enter the password associated with the user name you specified to connect to the SQL server.
- Click OK to confirm the settings and close the dialog box.
Log truncation is available for machines that use SQL Server. Complete the steps in this procedure to force log truncation.
|
NOTE: When conducted for a SQL machine, truncation identifies the free space on a disk, but does not reduce the size of the logs. |
- In the left navigation area of the Rapid Recovery Core Console, select the machine for which you want to force log truncation.
The Summary page appears for the protected machine.
- From the Summary page (or from any page for this protected machine), at the top of the page, click the SQL drop-down menu and select Force Log Truncation.
- Click Yes to confirm that you want to force log truncation.
The SQL attachability feature lets the Rapid Recovery Core attach SQL master database files (.MDF files) and log database files (.LDF files) to a snapshot of a protected SQL Server. The snapshot is captured using a local instance of Microsoft SQL Server.
Issues relevant for Rapid Recovery users protecting SQL Server machines include which instance of SQL Server performs attachability, and the method of performing SQL attachability (on demand, or as part of nightly jobs).
The attachability check lets the Core verify the consistency of the SQL databases and ensures that all MDF and LDF files are available in the backup snapshot.
Attachability checks can be run on demand for specific recovery points, or as part of a nightly job.
To perform the SQL attachability check on demand, see Forcing a SQL Server attachability check. To perform SQL attachability once daily, at the time specified for your nightly job operations, enable the option Check attachability for SQL databases in nightly jobs. For more information about setting nightly jobs for the Core, see Configuring nightly jobs for the Core. For more information about setting nightly jobs for a specific machine (in this case, a protected SQL Server), see Customizing nightly jobs for a protected machine.
In previous versions, SQL attachability required a local instance of Microsoft SQL Server to be installed and configured on the Core machine. Rapid Recovery Core now lets you choose to perform the attachability check from a SQL Server instance on the Core, or from a SQL Server instance on a protected SQL Server machine. The instance you select must be a fully licensed version of SQL Server, procured from Microsoft or through a licensed reseller. Microsoft does not allow the use of passive SQL licenses.
Whichever SQL Server instance you specify is then used for all attachability checks. Attachability is synchronized between Core settings and nightly jobs. For example, if you specify using the Core instance of SQL Server for nightly jobs, on-demand attachability checks then also use the Core. Conversely, if you specify using a SQL Server instance on a specific protected machine, all on-demand and nightly attachability checks then use the local instance on the protected machine.
Select the SQL Server instance to use as part of global Core settings. For more information, see Managing Core SQL attachability settings.
|
NOTE: Performing the attachability check from a protected SQL Server machine requires the Rapid Recovery Agent software to be installed on that server. Agentless protection is not supported for SQL attachability. |
Attachability in Rapid Recovery Core supports SQL Server 2008, 2008 R2, 2012, 2014, and 2019. The account used to perform the test must be granted the sysadmin role on the SQL Server instance.
The SQL Server on-disk storage format is the same in both 64-bit and 32-bit environments and attachability works across both versions. A database that is detached from a server instance that is running in one environment can be attached on a server instance that runs in another environment.
|
NOTE: The version of SQL Server on the Core must be equal to or newer than the SQL Server version on all of the protected machines with SQL Server installed. |
In order to force an attachability check, a SQL database must be present on a protected volume. If Rapid Recovery does not detect the presence of a database, the attachability check function does not appear in the Core Console.
Complete the steps in this procedure to force the system to perform an attachability check for a specific SQL server recovery point.
- In the left navigation area of the Rapid Recovery Core Console, select the protected SQL Server machine for which you want to force the attachability check, and then click the Recovery Points menu.
- Scroll down to the Recovery Points pane.
- Navigate through the recovery points to find the desired recovery point. Optionally, click the arrow to the right of a recovery point in the list to expand the view.
In the expanded recovery point information, you can see volumes included in the recovery point.
- In the Recovery Points pane, from the row representing the correct recovery point, click , and from the drop-down menu, select Force Attachability Check.
- In the resulting dialog box, click to confirm that you want to force an attachability check.
The dialog box closes. The system performs the attachability check.
For instructions on how to view the status of the attachability check, see Viewing events using tasks, alerts, and journal pages.