Dell PowerProtect Data Manager Microsoft SQL Integration
Dell PowerProtect Data Manager Microsoft SQL Integration
DATA MANAGER
MICROSOFT SQL
INTEGRATION
PARTICIPANT GUIDE
PARTICIPANT GUIDE
Dell PowerProtect Data Manager Microsoft SQL Integration
Overview.................................................................................................... 7
Workflows ............................................................................................... 86
1 The Microsoft Application Agent is a backup and recovery application agent that is
designed specifically for Microsoft applications.
PowerProtect Data Manager with Microsoft Application Agent supports the
Microsoft SQL database and Microsoft Exchange database backup and recovery.
2 Application Direct leverages the native application tools to empower application
unique data to be sent over the network to the protection storage (PowerProtect
DD Appliances).
5 The Oracle RMAN Agent is a backup and recovery application agent that is
The following data protection attributes are specified when the centralized
protection policy is created:
• Application Type
• Purpose
• Assets
• Backup Start and End Time
• Schedule
• Service Level Agreement (SLA)
When PowerProtect Data Manager administrators create a protection policy for the
Microsoft SQL database, the Self-Service Protection policy enables the data owner
to perform the manual backup operation from the command-line interface.
The following data protection attributes are specified when the self-service
protection policy is created:
• Application Type
• Purpose
• Asset
• Schedule (backup retention)
• Service Level Agreement (SLA)
Only the retention period can be specified in the Schedule attribute in the self-
service protection policy.
After the Microsoft Application Agent is installed, launch the PowerProtect Data
Manager to approve and register the Microsoft Application Agent.
All Microsoft SQL databases will and then be discovered automatically by the
PowerProtect Data Manager.
With PowerProtect Data Manager, the Microsoft SQL databases protection task
has been transferred from a backup administrator to the Microsoft SQL database
administrator (or Microsoft SQL database owner). Microsoft SQL databases can be
backed up through:
PowerProtect Data Manager performs the Microsoft SQL databases backup and
replication operations based on the protection policy and governed by the SLA.
The Microsoft SQL Server Management Studio Plugin is installed on the Microsoft
SQL Server host automatically during the Microsoft Application Agent deployment.
This provides the user interface for Microsoft SQL database manual backup and
restore operations.
If the Microsoft SQL Server is running in an ESXi virtual machine, the Application-
Aware option enables PowerProtect Data Manager to install the Microsoft
Application Agent automatically for an application-consistent backup of the
Microsoft SQL database.
Selecting the application-aware type of backup Microsoft SQL virtual machine also
enables the recovery of Microsoft SQL databases by using the Microsoft SQL
Server Management Studio plug-in.
You can perform the following types of centralized restore of Microsoft SQL
database:
Microsoft Application Agent supports the backup and recovery of Microsoft SQL
Clusterless AlwaysOn Availability Groups. The Microsoft Application Agent
provides both Application Direct and VM Direct backups and restores of the
Microsoft SQL Clusterless AlwaysOn Availability Groups.
Microsoft Application Agent also supports the backup and recovery of a Microsoft
Domain Independent SQL AlwaysOn Availability Group (AAG).
PowerProtect Data Manager with Microsoft Application Agent support the following
two protection technologies to protect Microsoft SQL databases:
• Application Direct
• VM Direct
The following table lists the comparisons between the Application Direct and VM
Direct:
The following Microsoft SQL Server versions are supported by the PowerProtect
Data Manager 19.10:
PowerProtect Data Manager with Microsoft Application Agent supports all Microsoft
SQL Server Editions such as Standard, Enterprise, Express, Workgroup, and Web.
The Microsoft application agent enables the Microsoft SQL database administrators
to protect and restore the Microsoft SQL database on the Microsoft SQL Server
host. PowerProtect Data Manager integrates with the Microsoft application agent to
check and monitor backup compliance against the protection policies, and
PowerProtect Data Manager also enables scheduling for centralized backups.
The Microsoft Application Agent SQL Server Management Studio (SSMS) plug-in is
called Microsoft app agent (Application Direct) on the SQL Server Management
Studio toolbar and it is used for the following operations:
• Install the following software components on the Microsoft SQL Server host:
− .NET Framework 4.0
o For Microsoft SQL table-level recovery (with ItemPoint), install .NET
Framework 4.5.
− Download the Microsoft Application Agent software package from the
System Settings > Downloads in the PowerProtect Data Manager UI
banner. Then transfer the Microsoft Application Agent software package to
the Microsoft SQL Server host.
• Log in to the Microsoft SQL Server host as an administrator to install the
Microsoft application agent.
• To deploy the Common Language Runtime (CLR) assembly, ensure that you
have administrator access to the Microsoft SQL Server host and master
database. If the Microsoft SQL Server host is running in a domain, ensure that
you have access as a Domain administrator.
• Ensure that the sysadmin and public Microsoft SQL Server Roles are set, as
required to integrate the Microsoft SQL Server host with the PowerProtect Data
Manager and to facilitate the discovery of assets with the correct size.
Install and register the Microsoft Application Agent to PowerProtect Data Manager
environment:
Step One
Transfer the Microsoft Application Agent file to the Microsoft SQL Server host.
Extract the .zip file and run the .exe file to start the installation wizard.
On the Configure Installation Options page, select, and specify the following
options:
Step Two
On the CLR assembly deployment wizard page, select the authentication option
with User name and Password to deploy the CLR Assembly.
Step Three
Log in to PowerProtect Data Manager. From the left navigation pane, select
Infrastructure > Asset Sources.
Step Four
From the left navigation pane, select Infrastructure > Application Agents.
Select the Microsoft SQL Server host from the list (Status displays Awaiting
Approval) and click Approve to register the Microsoft SQL Server host.
Step Five
After a few minutes, the Status of the Microsoft SQL Server host displays
Registered.
PowerProtect Data Manager UI can be used to add the Microsoft SQL database
credentials and discover the Microsoft SQL databases.
Step One
Log in to the PowerProtect Data Manager. From the left navigation pane, select
Infrastructure > Asset Sources > SQL tab.
Select the wanted Microsoft SQL Server host and click Edit Credentials.
Step Two
Enter a name for the credentials and specify the User Name and the Password to
access the Microsoft SQL database.
Step Three
Step Four
The discovery process might take a few minutes. Once it completes, the Discovery
Status displays OK.
Step Five
Select Infrastructure > Assets > SQL tab, all Microsoft SQL databases are listed.
Step One
From the left navigation pane, select Protection > Protection Policies.
Click Add.
Step Two
Select Microsoft SQL as Type and specify the name for the protection policy.
Specify the name and type for the centralized protection policy
Step Three
Step Four
Step Five
Step Six
Step Seven
Specify other schedule attributes, such as backup level and occurrence, backup
retention, backup start and end time.
Step Eight
On the Options page, select additional options for the backup policy.
Step Nine
Review the centralized protection policy settings, click Finish to create the
centralized protection policy.
From the left navigation pane, click Jobs > Protection Jobs to verify that the
centralized protection policy completes successfully.
Once a centralized protection policy is added, you can perform a manual backup by
using the Protect Now option from the Protection > Protection Policies page.
The Protect Now option on the Protection Policies page allows administrators to
start a manual backup operation to backup assets that are selected in the
designated protection policy.
To use the Protect Now option on the Protection Policies page, the protection
policy must be enabled, and the protection policy purpose must be one of the
following:
• Crash Consistent
• Centralized Protection
• Application Aware
Step One
From the left navigation pane, select Protection > Protection Policies.
Step Two
• Backup Now
Step Four
Step Five
From the left navigation pane, select Jobs > Protection Jobs. The centralized
protection policy completes successfully in a few minutes.
For PowerProtect Data Manager, four is the default stripe value for Microsoft SQL
databases full and differential backups and one is the default stripe value for
Microsoft SQL logs backups.
For the Microsoft SQL database, the minimum supported parallelism (stripe) value
is one and the maximum supported parallelism (stripe) value is thirty-two.
Step One
From the left navigation pane, select Infrastructure > Assets > SQL tab.
Select the SQL database asset with protection policy assigned. Click Set Stream
Count from the More Actions drop-down menu.
On the Set Stream Count page, specify the maximum number of concurrent
streams that are allocated for each backup type (Full, Differential, and Log). Click
Save.
The self-service protection policy enables the data owner to perform the manual
backup operation from the command-line interface and Microsoft SQL Server
Management Studio Plugin.
The following data protection attributes can be specified when the self-service
protection policy is created:
Step One
Log in to the PowerProtect Data Manager. From the left navigation pane, select
Protection > Protection Policies.
Click Add.
Step Two
Select Microsoft SQL as Type and specify the name for the protection policy.
Step Three
Select the Self-Service Protection as the purpose for the protection policy.
Step Four
Step Five
Step Six
On the Add Primary Retention page, select New for the Storage Unit. Specify the
retention period on the Retention pane.
Add retention
Step Seven
Review the self-service protection policy, click Finish to create the self-service
protection policy.
Step Eight
From the left navigation pane, click Jobs > System Jobs to monitor the
Configuring SQL Databases task and the Performing Policy Configuration
task.
Step Nine
From the left navigation pane, select Infrastructure > Storage > Protection
Storage tab.
Step Ten
The administrator needs to specify the storage unit name when performing the
manual backup of Microsoft SQL databases.
The Microsoft Application Agent integrates with the Microsoft SQL Virtual Device
Interface (VDI) to enable application owners to protect the Microsoft SQL
databases.
The Microsoft Application Agent provides a user interface (Microsoft app agent
for Application Direct) that enables the Microsoft SQL database administrators to
perform the backup and restore operation of Microsoft SQL databases through the
Microsoft SQL Server Management Studio (SSMS) plug-in. The plug-in is similar to
the Microsoft SQL native backup and restore user interface, and the Microsoft SQL
database administrators can use the Microsoft app agent for Application Direct
to back up and restore the Microsoft SQL databases.
Back up Microsoft SQL databases with the Microsoft SQL Server Management
Studio plug-in:
Step One
Log in to the PowerProtect Data Manager. From the left navigation pane, select
Infrastructure > Storage > Protection Storage tab.
Select a PowerProtect DD appliance, and then select Manage Storage Units from
More Actions drop-down menu.
Step Two
The PowerProtect DD storage unit that is created by the protection policy is listed
as <Protection Policy Name>-<PowerProtect Data Manager
Appliance Name>-xxxxx.
The administrator needs to specify the storage unit name when performing the
manual backup of Microsoft SQL databases.
Step Three
From the Microsoft SQL Server host, launch the Microsoft SQL Server
Management Studio.
From the Microsoft SQL Server Management Studio toolbar, click the Microsoft
app agent (Application Direct).
Step Four
On the Microsoft app agent for Application Direct page, select the Backup tab.
On the bottom of the page, in the PowerProtect DD System field, click the "..."
icon to select the PowerProtect DD appliance storage unit.
Step Five
On the Microsoft app agent for Application Direct page, the PowerProtect DD
System field lists the wanted PowerProtect DD appliance information.
Select the Microsoft SQL databases need to back up. Click Run to start the manual
backup of the Microsoft SQL databases.
A notification appears stating that the Microsoft SQL databases are backed up
successfully.
Administrator can use the ddbmsqlsv command to perform the manual backup of
Microsoft SQL databases from Microsoft SQL Server host.
Run the ddbmsqlsv command with the following parameters to back up a stand-
alone Microsoft SQL Server:
Parameters Definition
• For Microsoft SQL Default Instance. Use one of the following formats:
− To back up the entire SQL instance, type MSSQL:
Step One
From the Microsoft app agent Application Direct UI, click the "..." icon in the
PowerProtect DD System field.
Step Two
Select the proper Storage Unit and write down the complete pathname of the
Storage Unit. The administrator might need to adjust the width of the Storage Unit
column to see the complete pathname.
Step Three
Write down the User name of the Storage Unit. The administrator might need to
adjust the width of the User column to see the complete username.
On the Microsoft SQL Server host, open the Command Prompt window and
change directory to C:\Program Files\DPSAPPS\MSAPPAGENT\bin
To back up Microsoft SQL database with application direct command, run the
ddbmsqlsv command with the following parameters:
• -c sql-2.emc.edu
• -l full
• -a "NSR_DFA_SI_DD_HOST=192.168.1.138"
• -a "NSR_DFA_SI_DD_USER=SelfServiceProtectio-ppdm-d53ad"
• -a "NSR_DFA_SI_DEVICE_PATH=/SelfServiceProtection_SQL-ppdm-d53ad"
• "MSSQL$MSSQLSERVER2:sqldb_4"
Run the ddbmsqlsv command from the Microsoft SQL Server host
Step Five
The Microsoft Application Agent integrates with the Microsoft SQL Virtual Device
Interface (VDI) to enable application owners to protect the Microsoft SQL
databases.
The Microsoft Application Agent provides a user interface, the Microsoft app
agent for Application Direct that enables the Microsoft SQL database
administrator to perform the backup and restore operation of Microsoft SQL
databases through the Microsoft SQL Server Management Studio (SSMS) plug-in.9
9 The plug-in is similar to the Microsoft SQL native backup and restore user
interface, and Microsoft SQL database administrator can use the Microsoft app
agent for Application Direct to back up and restore the Microsoft SQL databases.
Restore a Microsoft SQL database with Microsoft Application Agent SQL Server
Management Studio plug-in:
Step One
From the Microsoft SQL Server host, launch the Microsoft SQL Server
Management Studio.
From the Microsoft SQL Server Management Studio toolbar, click the Microsoft
app agent (Application Direct).
The Microsoft app agent for Application Direct page appears. Click the
Database Restore tab and select the General page.
In the PowerProtect DD System field, click the "..." icon to select the PowerProtect
DD appliance storage unit.
Step Three
Step Four
Specify the SQL Server host and SQL Server Instance information. Then select
the wanted Microsoft SQL database to restore.
Step Five
Administrators must perform all centralized restores from the Restore > Assets >
SQL tab from the PowerProtect Data Manager UI.
Administrators can perform a centralized restore of a full, differential, or transaction
log backup to a specific Microsoft SQL Server host and instance.
Administrators can perform the following centralized restores of Microsoft SQL
database with Application Direct workflows:
• Microsoft SQL system database
• Microsoft SQL stand-alone database
• Microsoft SQL Always On Availability Group (AAG) database
• Microsoft SQL Failover Cluster Instance (FCI) database
• Microsoft SQL Always On Failover Cluster Instance (AAG over FCI) database
• The alternate Microsoft SQL Server host must be a Microsoft SQL Server
Application Direct machine.
• The Microsoft Application Agent software must be installed and configured on
the alternate Microsoft SQL Server host.
• Cannot restore a Microsoft SQL system database to an alternate Microsoft SQL
Server host or Microsoft SQL Server instance.
Step One
Log in to the PowerProtect Data Manager. From the left navigation pane, select
Restore > Assets > SQL tab.
Navigate the Microsoft SQL database hierarchies and select the Microsoft SQL
database to restore.
Step Two
Step Three
Specify the Microsoft SQL destination host, destination SQL instance and
destination SQL database for the centralized restore.
Step Four
Select the file location for the Microsoft SQL database centralized restore.
Step Five
Select the Microsoft SQL database options for the centralized restore.
Review the centralized restore settings and start the Microsoft SQL database
centralized restore.
Step Seven
From the left navigation pane, click Jobs > Protection Jobs to verify that the
centralized restore of Microsoft SQL database completes successfully.
Administrators can use the ddbmsqlrc command to perform the manual restore of
Microsoft SQL databases from the Microsoft SQL Server host.
Run the ddbmsqlrc command with the following parameters to restore (and
recover) stand-alone Microsoft SQL databases:
Parameters Definition
Step One
From the Microsoft app agent Application Direct UI, click the "..." icon in the
PowerProtect DD System field.
Step Two
Select the proper Storage Unit and write down the complete pathname of the
Storage Unit. The administrator might need to adjust the width of the Storage Unit
column to see the complete pathname.
Step Three
Write down the User of the Storage Unit. The administrator might need to adjust
the width of the User column to see the complete username.
On the Microsoft SQL Server host, open the Command Prompt window and
change directory to C:\Program Files\DPSAPPS\MSAPPAGENT\bin
To restore Microsoft SQL database with application direct command, run the
ddbmsqlrc command with the following parameters:
• -c sql-2.emc.edu
• -S normal
• -a "NSR_DFA_SI_DD_HOST=192.168.1.138"
• -a "NSR_DFA_SI_DD_USER=CentralizedProtectio-ppdm-57136"
• -a "NSR_DFA_SI_DEVICE_PATH=/CentralizedProtection_SQL-ppdm-
57136/PLCTLP-74345b2e-55db-4509-ad6c-a7296ce53487"
• -f
• "MSSQL$MSSQLSERVER2:sqldb_3"
Run the ddbmsqlrc command from the Microsoft SQL Server host
If the Microsoft SQL Server is running in an ESXi virtual machine, the application-
aware VM protection policy uses the Microsoft Application Agent to quiesce the
Microsoft SQL databases during virtual machine image backup and perform the
application-consistent backup of Microsoft SQL databases. PowerProtect Data
Manager automatically installs and configures the Microsoft Application Agent for
an application-consistent backup of the Microsoft SQL databases.
Extra steps are performed to quiesce the Microsoft SQL database before taking VM
snapshot (presnapshot steps) and then generating some additional metadata to
catalog the protected Microsoft SQL databases (postsnapshot).
The Microsoft Application Agent SQL Server Management Studio (SSMS) plug-in is
called Microsoft app agent (VM Direct) on the SQL Server Management Studio
toolbar and it is used for the following operations:
Important: This Microsoft app agent (VM Direct) plug-in does not
support VM Direct backup of Microsoft SQL databases.
After completing the backup, the Microsoft Application Agent is automatically run
on the virtual machine to catalog the Microsoft SQL database backup on the
PowerProtect DD associated with the protection policy.
The Microsoft application agent is run on the virtual machine to perform the
Microsoft SQL database transaction logs backup. Backups are written directly to
the PowerProtect DD which is associated with the protection policy.
• The Microsoft Application Agent runs under the virtual machine credentials that
are provided in the VM protection policy or virtual machine asset for installation
and data protection operations. Configure all Microsoft SQL Server instances on
the virtual machine to grant account rights for this account to perform Microsoft
SQL Server database backup and recovery operations:
− Add the account to Microsoft SQL Server logins.
− Grant the account the sysadmin role.
• Enable the UUID attribute (disk.EnableUUID=TRUE) of the Microsoft SQL
Server virtual machine in the vSphere Client.
− After the administrators set disk.EnableUUID to TRUE, ensure to reboot
the virtual machine.
• VMware ESXi/vSphere version 6.5, 6.7, 7.0u1, 7.0u2, 7.0u3, and VMware Tools
version 10.1 or later.
• The virtual machine must use SCSI disks only, and one SCSI controller
supports maximum of 7 disks.
After the administrators add vCenter Server as Asset Sources, PowerProtect Data
Manager automatically initiates a VMware entity discovery process. The initial
vCenter Server discovery identifies all ESXi clusters, ESXi hosts, and virtual
machines within the vCenter Server.
The administrators can also manually initiate the discovery of VMware entities at
any time from Infrastructure > Asset Sources > vCenter tab, select the vCenter
Server and click Discover.
The VM Direct Engine (formerly VM Proxy) is the virtual machine data protection
solution within PowerProtect Data Manager. It enables administrators to perform
virtual machine snapshot backups in the vSphere environment and moves the
backup data to a PowerProtect DD system.
Step One
From the left navigation pane, select Protection > Protection Policies. Click Add.
Step Two
Specify the name and type for the application aware protection policy
Step Three
Step Four
Step Five
Step Six
Step Seven
Specify other schedule attributes, such as backup retention, backup start, and end
time.
Step Eight
On the Options page, select additional options for the backup policy.
Step Nine
Review the application aware protection policy, click Finish to create the
application aware protection policy.
From the left navigation pane, click Jobs > Protection Jobs to verify that the
application aware protection policy completes successfully.
The Protect Now option on the Protection Policies page allows the administrator
to start a manual backup operation to back up assets that are protected in the
designated protection policy.
To use the Protect Now option on the Protection Policies page, the protection
policy must be enabled, and the protection policy purpose must be one of the
following:
• Crash Consistent
• Centralized Protection
• Application Aware
Step One
From the left navigation pane, select Protection > Protection Policies.
Step Two
Step Four
On the Summary page, review the configuration settings. Click Protect Now to
start the backup.
Step Five
From the left navigation pane, select Jobs > Protection Jobs. The application
aware protection policy completes successfully in a few minutes.
Restore a Microsoft SQL database with Microsoft Application Agent SQL Server
Management Studio plug-in:
Step One
From the Microsoft SQL Server host, launch the Microsoft SQL Server
Management Studio.
From the Microsoft SQL Server Management Studio toolbar, click the Microsoft
app agent (VM Direct).
The Microsoft app agent for VM Direct page appears. Click the Database
Restore tab and select the General page.
In the PowerProtect DD System field, click the "..." icon to select the PowerProtect
DD appliance storage unit.
Step Three
Step Four
Specify the SQL Server host and SQL Server Instance. Then select the wanted
Microsoft SQL database to restore.
Step Five
Administrators must perform all centralized restores from the Restore > Assets >
SQL tab from the PowerProtect Data Manager UI.
• The alternate Microsoft SQL Server host must be a Microsoft SQL Server virtual
machine.
• The Microsoft Application Agent software must be installed and configured on
the alternate Microsoft SQL Server host.
• Cannot restore a Microsoft SQL system database to an alternate Microsoft SQL
Server host or Microsoft SQL Server instance.
Step One
Log in to the PowerProtect Data Manager. From the left navigation pane, select
Restore > Assets > SQL tab.
Navigate the Microsoft SQL database hierarchies and select the Microsoft SQL
database to restore.
Step Two
Step Three
Specify the Microsoft SQL destination host, destination SQL instance and
destination SQL database for the centralized restore.
Step Four
Select the file location for the Microsoft SQL database centralized restore.
Step Five
Select the Microsoft SQL database options for the centralized restore.
Review the centralized restore settings and start the Microsoft SQL database
centralized restore.
Step Seven
From the left navigation pane, click Jobs > Protection Jobs to verify that the
centralized restore of Microsoft SQL database completes successfully.
Click the Save Progress and Exit button in the course menu or below
to record this content as complete.
Go to the next learning or assessment, if applicable.