Dell EMC Powerprotect Microsoft Application Agent SQL Server User Guide CONTENTS
Total Page:16
File Type:pdf, Size:1020Kb
Dell EMC PowerProtect Microsoft Application Agent Version 19.2 SQL Server User Guide 302-005-993 REV 01 September 2019 Copyright © 2014-2019 Dell Inc. or its subsidiaries. All rights reserved. Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.” DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property of their respective owners. Published in the USA. Dell EMC Hopkinton, Massachusetts 01748-9103 1-508-435-1000 In North America 1-866-464-7381 www.DellEMC.com 2 Dell EMC PowerProtect Microsoft Application Agent SQL Server User Guide CONTENTS Figures 9 Tables 11 Preface 13 Part 1 Configuring the Microsoft Application Agent 17 Chapter 1 Configuring the Data Domain System 19 Installing and upgrading the Data Domain operating system............................. 20 Configuring the Data Domain system................................................................20 Opening ports in a firewall to enable Data Domain backups..................20 Enabling Data Domain Boost on a Data Domain system .......................20 Configuring the Data Domain Boost server.......................................... 23 Data Domain replication....................................................................... 30 Configuring usage limits of Data Domain resources.............................. 31 Configuring the Data Domain Cloud Tier for data movement to the cloud.........34 Setting up the DD Cloud Tier policy for data movement to the cloud...35 Distributed segment processing........................................................................36 Distributed segment processing enabled mode.................................... 36 Distributed segment processing disabled mode....................................37 Advanced load balancing and link failover..........................................................37 Configuration restrictions.................................................................... 38 Encrypted managed file replication................................................................... 38 Data Domain High Availability............................................................................38 Validating the Data Domain system...................................................................39 Troubleshooting the Data Domain system.........................................................39 Chapter 2 Configuring Application Direct 41 Overview of Application Direct with SQL Server...............................................42 Architecture of the Microsoft application agent for Application Direct with SQL Server...............................................................................................................43 SQL Server transparent data encryption...........................................................44 Configure a user with the required privileges for SQL Server Application Direct operations.........................................................................................................45 Required privileges for backup and recovery of a stand-alone server...45 Required privileges for backup and recovery of an Always On availability group................................................................................................... 45 Required privileges for backup and recovery of a Failover Cluster Instance or Always On Failover Cluster Instance..................................46 Required privileges for backup and recovery of a Domain Independent Always On availability group.................................................................46 Required privileges to view and delete save sets with the Application Direct expiry tool (ddbmexptool) .........................................................47 Required user privileges to manage save sets and list client and storage unit information with msagentadmin.exe ............................................. 47 Adding a user to a Windows policy....................................................... 47 Dell EMC PowerProtect Microsoft Application Agent SQL Server User Guide 3 Contents Create a configuration file.................................................................................47 Configuring the lockbox.................................................................................... 49 Commands to create and manage the lockbox.....................................50 Create a lockbox.................................................................................. 52 Configure prerequisites to back up and restore Always On availability groups.. 53 Parsing TSQL operational output into multiple tables....................................... 55 Chapter 3 Configuring Storage Direct 57 Overview of Storage Direct with SQL Server....................................................58 Supported configurations of Storage Direct with SQL Server.......................... 59 Configuring Storage Direct with RecoverPoint................................................. 59 Storage Direct with RecoverPoint overview........................................ 60 Storage Direct with RecoverPoint connectivity requirements.............. 61 Storage Direct with RecoverPoint architecture................................... 62 Create a Storage Direct with RecoverPoint configuration file..............63 Configuring Storage Direct with VMAX............................................................ 66 Storage Direct with VMAX overview....................................................66 Storage Direct with VMAX connectivity requirements......................... 68 Storage Direct with VMAX architecture...............................................69 VMAX replication................................................................................. 69 Install and configure the VMAX Solutions Enabler................................72 Create a Storage Direct with VMAX configuration file......................... 73 Configuring the lockbox.................................................................................... 76 Commands to create and manage the lockbox..................................... 77 Create a lockbox.................................................................................. 79 Configure prerequisites to back up and restore Always On availability groups.. 80 Parsing TSQL operational output into multiple tables....................................... 80 Part 2 Backing Up SQL Server 83 Chapter 4 Backing Up SQL Server with Application Direct 85 Overview of Application Direct with SQL Server backups.................................86 Federated backups of Always On availability groups............................ 86 Best practices to back up SQL Server with Application Direct.......................... 87 Naming conventions for backups with Application Direct..................................88 Circumstances that promote SQL Server backups to level full .........................89 Scheduling backup jobs.....................................................................................89 Scheduling SQL Server backups by using SQL Server Agent............... 89 Scheduling SQL Server backups by using Windows Task Scheduler.... 96 Performing manual backups ............................................................................. 97 Perform backups with the Microsoft app agent for Application Direct SSMS plug-in....................................................................................... 97 Back up SQL Server with the Application Direct backup command.... 104 Perform backups with T-SQL scripts.................................................. 112 Listing backups................................................................................................ 115 List backups and save files with the msagentadmin administration command............................................................................................ 115 List backups with the Application Direct expiry tool............................ 118 Move and recall save sets on a Data Domain Cloud Tier.................................. 120 Move save sets to the Data Domain Cloud Tier................................... 121 Recall save sets from the Data Domain Cloud Tier.............................. 121 Optional parameters for the msagentadmin administration command.122 Deleting backups............................................................................................. 123 Delete backups with the msagentadmin administration command...... 123 4 Dell EMC PowerProtect Microsoft Application Agent SQL Server User Guide Contents Delete backups with the ddbmexptool expiry tool...............................125 Chapter 5 Backing Up SQL Server with Storage Direct 131 Overview of SQL Server backups with Storage Direct.....................................132 Storage Direct backup workflow......................................................................132 Storage Direct with RecoverPoint backup workflow...........................132 Storage Direct with VMAX backup workflow...................................... 133