IBM Tivoli Storage Manager for Databases Version 7.1. Data Protection for Microsoft SQL Server Installation and User's Guide



Similar documents
Data Protection for Microsoft Exchange Server Installation and User's Guide

IBM Tivoli Storage Manager for Databases Version Data Protection for Microsoft SQL Server Installation and User's Guide IBM

IBM Tivoli Storage Manager for Databases Version Data Protection for Microsoft SQL Server Installation and User's Guide IBM

IBM Tivoli Storage Manager for Mail Version Data Protection for Microsoft Exchange Server Installation and User's Guide IBM

Data Protection for Microsoft SQL Server Installation and User's Guide

Tivoli Storage Manager

Data Protection for Microsoft SQL Server Installation and User s Guide

Tivoli Storage Manager for Windows

Data Protection for Microsoft SQL Server Installation and User's Guide

Software Installation

Installation and Configuration Guide

IBM Tivoli Storage Manager for Linux. Quick Start. Version 5 Release 1 GC

Tivoli Identity Manager Server

IBM Sterling Gentran Server for Windows. Quick Start Guide. Version 5.3.1

IBM Tivoli Monitoring Version 6.3 Fix Pack 2. Windows OS Agent Reference

Tivoli Security Compliance Manager

IBM Tivoli Netcool Performance Manager Wireline Component January 2012 Document Revision R2E1. Pack Upgrade Guide

IBM Rapid Restore Ultra Version 4.0. User s Guide

IBM Tealeaf CX Version 9 Release 0.2 June 18, Tealeaf Databases Guide

ERserver. iseries. Backup, Recovery and Media Services (BRMS)

ERserver. Single signon. iseries. Version 5 Release 3

Tivoli Storage Manager for Databases

Data Protection for SAP Installation and User's Guide for Oracle

IBM Informix Dynamic Server Installation Guide for UNIX, Linux, and Mac OS X

ERserver. iseries. Service tools

Planning an Installation

ERserver. iseries. Journal management

Software Installation

ERserver. Backup, Recovery, and Media Services for iseries. iseries. Version 5 SC

Planning and Installation Guide

IBM Tivoli Enterprise Console. Rule Set Reference SC

IBM Storage Management Pack for Microsoft System Center Operations Manager (SCOM) Version User Guide GC

IBM Tivoli Storage Manager for Virtual Environments Version Data Protection for Microsoft Hyper-V Installation and User's Guide IBM

IBM Universal Behavior Exchange Toolkit Release April 8, User's Guide IBM

Data Protection for Exchange: A Look Under the Hood

Renewing default certificates for Tivoli Workload Scheduler

How To Set Up An Ops Console On A Pc Or Mac Or Macbook

IBM Security Role and Policy Modeler Version 1 Release 1. Glossary SC

IBM License Metric Tool Version 9.0 (includes version 9.0.1, and ) Managing the Software Inventory Guide

WebSphere Message Broker. Installation Guide. Version7Release0

IBM Client Security Solutions. Client Security Software Version 5.3 Installation Guide

IBM Unica Campaign Version 8 Release 6 May 25, Data Migration Guide

Backup, Recovery, and Media Services for iseries

IBM Unica Marketing Operations and Campaign Version 8 Release 6 May 25, Integration Guide

Password Synchronization for Active Directory Plug-in Installation and Configuration Guide

IBM DB2 9.7 for Linux, UNIX, and Windows

AS/400e. Digital Certificate Management

iseries Virtual private networking

IBM InfoSphere Master Data Management Standard and Advanced Editions Version 11 Release 3. Installation Guide GI

Installation and Configuration Guide

Operations Console Setup

iseries Troubleshooting clusters

Active Directory Adapter with 64-bit Support User Guide

IBM EMM Reports Version 9 Release 1.1 November 26, Installation and Configuration Guide

AS/400e. Networking PPP connections

IBM Informix Backup and Restore Guide

IBM Unica Marketing Platform Version 8 Release 5 June 1, Administrator's Guide

Tivoli Integrated Portal Administration and configuration guide. Version 1.0 Tivoli Integrated Portal 2.2

User s Guide: Beta 1 draft

Performance Tuning Guide

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

Tivoli Identity Manager

Rational Build Forge. AutoExpurge System. Version7.1.2andlater

Business Intelligence Guide

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

IBM Spectrum Control Base Edition Version Release Notes

ERserver. iseries. Digital certificate management

Lotus. Notes Version Lotus Notes Traveler

Reverse Proxy Scenarios for Single Sign-On

IBM Security Access Manager for Enterprise Single Sign-On Version 8.2. Help Desk Guide SC

EMC NetWorker Module for Microsoft Applications Release 2.3. Application Guide P/N REV A02

IBM Campaign Version 9 Release 1.1 February 18, User's Guide

IBM Tivoli Storage Manager for Virtual Environments Version Data Protection for VMware User's Guide IBM

Readme File for IBM Tivoli Service Automation Manager Extension for Workload Automation. Version 8.6

BackupAssist v6 quickstart guide

WHITE PAPER: DATA PROTECTION. Veritas NetBackup for Microsoft Exchange Server Solution Guide. Bill Roth January 2008

IBM Maximo for Aviation MRO Version 7 Release 6. Guide

Configuring the Tivoli Enterprise Monitoring Server on z/os

IBM Tivoli Storage Manager for Databases Version Data Protection for Microsoft SQL Server Messages IBM

BackupAssist v6 quickstart guide

TSM for Advanced Copy Services: Today and Tomorrow

Version 9 Release 1.2 September 23, IBM Campaign Installation Guide IBM

iseries Getting started with iseries

How To Use A Microsoft Networker Module For Windows (Windows) And Windows 8 (Windows 8) (Windows 7) (For Windows) (Powerbook) (Msa) (Program) (Network

DocAve 6 Service Pack 1 Platform Backup and Restore

EMC NetWorker Module for Microsoft for SQL and SharePoint VSS User Guide

Hyper-V Protection. User guide

IBM Tivoli Storage Manager Version Introduction to Data Protection Solutions IBM

IBM Endpoint Manager for Software Use Analysis Version 9. Scalability Guide. Version 3

Adapter for Clarify CRM User Guide

Capacity Planning Guide

EMC NetWorker Module for Microsoft for Exchange Server VSS

EMC NetWorker Module for Microsoft for Exchange Server VSS

IBM ServerGuide Scripting Toolkit, Windows Edition. User's Reference

IBM Maximo Asset Management Version 7 Release 5. Workflow Implementation Guide

SnapManager 7.0 for Microsoft Exchange Server

Tivoli Storage Flashcopy Manager for Windows - Tips to implement retry capability to FCM offload backup. Cloud & Smarter Infrastructure IBM Japan

IBM Tivoli Storage FlashCopy Manager

IBM Unica Leads Version 8 Release 5 December 2, Installation Guide

IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft Hyper-V Server Agent Version Fix Pack 2.

Transcription:

IBM Tioli Storage Manager for Databases Version 7.1 Data Protection for Microsoft SQL Serer Installation and User's Guide

IBM Tioli Storage Manager for Databases Version 7.1 Data Protection for Microsoft SQL Serer Installation and User's Guide

Note Before using this information and the product it supports, read the information in Notices on page 273. First edition (December 2013) This edition applies to ersion 7, release 1, modification 0 of IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer (product number 5608-E04) and to all subsequent releases and modifications until otherwise indicated in new editions. Copyright IBM Corporation 1997, 2013. US Goernment Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents Tables............... ii About this publication........ ix Who should read this publication....... ix Publications.............. x Conentions used in this publication...... x Reading syntax diagrams.......... xi New for Version 7.1......... x Chapter 1. Getting started....... 1 Backup oeriew............. 1 Legacy backup oeriew......... 1 VSS framework............ 2 Restore methods............. 7 Legacy restore oeriew......... 7 VSS restore.............. 8 Thin proisioning support.......... 9 Automated failoer for data recoery...... 10 Chapter 2. Planning......... 13 Security requirements........... 13 Backup strategies............ 13 Using VSS and Legacy Backups together... 17 Using VSS operations in a SQL Serer Failoer Cluster enironment.......... 18 Considerations for using Data Protection for SQL Serer in a Windows Failoer Cluster enironment............. 19 Using Data Protection for SQL Serer in a Windows Failoer Cluster enironment.... 20 Using Data Protection for SQL Serer in a Veritas Cluster Serer enironment........ 21 Back up to Tioli Storage Manager storage ersus back up to local shadow olumes....... 21 Data Protection for SQL Serer with SAN Volume Controller and Storwize V7000.... 22 VSS operations in IBM N-series and NetApp enironments............. 26 AlwaysOn Aailability Groups........ 27 Backups of aailability databases...... 28 Restores of aailability databases...... 28 Deployment of Data Protection for SQL Serer on Windows Serer Core........... 29 How Tioli Storage Manager serer policy affects Data Protection for SQL Serer........ 29 Policy binding statements........ 32 How backups expire based on policy..... 32 Binding backups to a policy........ 33 Data Protection for SQL Serer node name: recommended settings........... 33 Proxy node definitions (VSS backups)..... 34 Required node names for basic VSS operations 35 Required node names for basic VSS offloaded backups.............. 35 Specifying Data Protection for SQL Serer options 37 Specifying Data Protection for SQL Serer preferences.............. 40 Setting automatic expiration (VSS and legacy)... 41 Chapter 3. Installing......... 45 Quick installation and configuration...... 45 Installation prerequisites.......... 47 Minimum hardware requirements...... 48 Minimum software and operating system requirements............. 48 Installing Data Protection for SQL Serer on a local system................ 48 Installing Data Protection for SQL Serer on Windows Serer Core........... 50 Installing Tioli Storage FlashCopy Manager... 51 Installing Data Protection for SQL Serer in a cluster enironment.............. 51 Installing and actiating the language packs... 51 Installing more language packs....... 52 Actiating the language packs....... 52 Installing Data Protection for SQL Serer silently.. 53 Installing Tioli Storage Manager client silently 55 Silent installation with the setup program... 56 Silent installation with MSI (msiexec.exe)... 59 Installation problems: Capturing a log of the installation............. 61 Creating the package on a DVD or a file serer 61 Playing back the silent installation...... 62 Setup error messages.......... 63 Upgrading............... 63 Chapter 4. Configuring........ 65 Configuring Data Protection for SQL Serer... 65 Manually configuring Data Protection for SQL Serer................ 67 Perform these tasks on the computer running the SQL Serer............. 67 Perform these tasks on the Tioli Storage Manager serer............ 69 Perform these tasks on the machine running the offloaded backups........... 70 Perform these tasks to erify your configuration 70 Configuring where scheduled backups are run on aailability replicas............ 72 Configuring Data Protection for SQL Serer on Windows Serer Core........... 73 Creating a node on the Tioli Storage Manager serer............... 74 Setting up a proxy node for offloaded VSS backups in the Windows Serer Core enironment............. 75 Copyright IBM Corp. 1997, 2013 iii

Configuring the client in the Windows Serer Core enironment........... 76 Configuring Data Protection for SQL Serer for Windows Serer Core.......... 77 SAN Volume Controller and Storwize V7000 configurations............. 79 Migration considerations.......... 81 Transitioning standard SQL databases to the AlwaysOn node............ 82 Chapter 5. Protecting data...... 83 Determining managed storage capacity..... 83 Using the Task Manager pane........ 84 Backing up SQL databases and files...... 85 Security.............. 85 Backing up SQL databases by using VSS... 85 Backing up SQL databases by using the legacy method............... 87 Backing up SQL groups or files by using the legacy method............ 89 Restoring SQL databases and files....... 90 VSS restore considerations........ 90 Restore options............ 91 Restoring SQL serer data........ 93 Restoring SQL file groups and files from Legacy backups.............. 101 Inactiating SQL databases (legacy only).... 103 Deleting SQL Serer Backups........ 104 Setting user mode............ 104 Viewing reports............ 105 Protecting SQL Serer data in the Windows Serer Core enironment............ 105 Backing up SQL Serer databases on Windows Serer Core............. 105 Restoring SQL databases on Windows Serer Core............... 106 Changing Data Protection for SQL Serer configuration alues on Windows Serer Core. 106 Getting help for Data Protection for SQL Serer commands on Windows Serer Core.... 107 Chapter 6. Automating....... 109 Automating tasks............ 109 Scheduling.............. 110 Windows PowerShell and Data Protection for SQL Serer................ 111 Getting started............ 111 Cmdlets for protecting Microsoft SQL Serer data............... 112 Cmdlets for the Management Console.... 114 Chapter 7. Troubleshooting Data Protection for SQL with VSS backup-restore support....... 115 Problem determination assistance....... 115 Troubleshooting VSS and SAN Volume Controller, Storwize V7000, or DS8000......... 116 Resoling errors during Data Protection for SQL processing.............. 117 Determining if the problem is a Tioli Storage Manager or SQL issue.......... 117 Determining if the problem is a Data Protection for SQL issue or a general VSS issue....... 118 Tracing the Data Protection client when using SQL VSS technology............. 121 Gathering SQL with VSS information before calling IBM................ 122 Gathering files from SQL with VSS before calling IBM................ 123 Installation Problems: Creating an installation-log file................. 124 Emailing support files.......... 124 Online IBM support........... 125 Viewing system information........ 125 Viewing trace and log files......... 126 Chapter 8. Performance....... 129 Chapter 9. Reference information... 131 Command oeriew........... 131 Command-line parameter characteristics... 132 Backup command............ 134 Backup syntax............ 135 Backup positional parameters....... 138 Backup optional parameters....... 141 Legacy backup examples........ 149 VSS backup examples......... 152 Changetsmpassword command....... 153 Changetsmpassword.......... 153 Changetsmpassword positional parameters.. 153 Changetsmpassword optional parameters... 154 Changetsmpassword output examples.... 156 Delete Backup command......... 156 Delete Backup syntax.......... 156 Delete Backup positional parameters.... 157 Delete Backup optional parameters..... 157 Delete Backup example......... 160 Help command............. 160 Help syntax............. 161 Help positional parameters........ 161 Help output examples......... 162 Inactiate command (Legacy only)...... 165 Inactiate syntax........... 166 Inactiate positional parameters...... 167 Inactiate optional parameters....... 168 Inactiate output examples........ 171 Mount Backup command......... 175 Mount Backup syntax......... 175 Unmount Backup positional parameter.... 176 Mount Backup optional parameters..... 176 Query command............ 179 Query syntax............ 179 Query positional parameters....... 181 Query optional parameters........ 184 Query output examples......... 189 Query Managedcapacity command...... 200 Query Policy command.......... 201 Restore command............ 201 VSS restore command-line considerations... 202 i IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Restore syntax............ 203 Restore positional parameters....... 206 Restore optional parameters....... 208 Legacy Restore output examples...... 222 VSS restore output examples....... 229 Restorefiles command.......... 232 Restorefiles syntax........... 233 Restorefiles positional parameters..... 234 Restorefiles optional parameters...... 234 Restorefiles examples.......... 238 Set command............. 238 Set syntax............. 238 Set positional parameters........ 239 Set optional parameters......... 245 Set output examples.......... 245 Unmount Backup command........ 246 Unmount Backup syntax........ 246 Unmount Backup positional parameter.... 247 Unmount Backup optional parameters.... 247 Examples of Tioli Storage Manager policy binding using VSSPOLICY and INCLUDE/EXCLUDE statements.............. 249 Transitioning SQL Serer backups from Tioli Storage FlashCopy Manager to Tioli Storage Manager............... 253 Using the Tioli Storage Manager serer wizard 254 Implement these tasks on the Tioli Storage Manager serer............ 254 Implement these tasks on the workstation running the SQL Serer......... 254 Appendix A. Frequently asked questions............. 259 Appendix B. Tioli support information............ 265 Communities and other learning resources... 265 Searching knowledge bases......... 267 Searching the Internet......... 267 Using IBM Support Assistant....... 267 Finding product fixes.......... 268 Receiing notification of product fixes.... 268 Contacting IBM Software Support...... 268 Setting up and managing support contracts.. 269 Determining the business impact...... 269 Describing the problem and gathering background information......... 269 Submitting the problem to IBM Software Support.............. 270 Appendix C. Accessibility features for the Tioli Storage Manager product family............... 271 Notices.............. 273 Trademarks.............. 275 Priacy policy considerations........ 275 Glossary............. 277 A................. 277 B................. 279 C................. 280 D................. 281 E................. 283 F................. 284 G................. 284 H................. 285 I.................. 286 J.................. 286 K................. 286 L................. 287 M................. 288 N................. 289 O................. 290 P................. 290 Q................. 291 R................. 292 S................. 293 T................. 296 U................. 296 V................. 297 W................. 298 Index............... 299 Contents

i IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Tables 1. Backup strategy characteristics...... 17 2. Required node names for basic VSS operations 35 3. Required node names for basic VSS offloaded backups.............. 35 4. Silent installation options........ 53 5. Silent installation features (base client only) 55 6. Silent installation features (Language Packages only)............... 55 7. Silent installation transforms....... 55 8. Commands for creating a silent installation package.............. 62 9. Node names used to set access...... 100 10. Cmdlets to protect Microsoft SQL Serer data 112 11. Data Protection for SQL Serer optional parameters............ 133 Copyright IBM Corp. 1997, 2013 ii

iii IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

About this publication The subject of this publication is Data Protection for Microsoft SQL Serer, a component of the IBM Tioli Storage Manager for Databases product. Data Protection for Microsoft SQL Serer is also known as Data Protection for SQL Serer. This book explains how to install, configure, and administer the Data Protection for SQL Serer component. You can use the Data Protection for SQL Serer software to perform online backups of Microsoft SQL Serer databases to Tioli Storage Manager storage. Tioli Storage Manager is a client-serer licensed product that proides storage management serices in a multi-platform computer enironment. Who should read this publication This publication is intended for system users, Tioli Storage Manager administrators, and system administrators. In this book, it is assumed that you hae an understanding of the following applications: Microsoft SQL Serer Tioli Storage Manager serer Tioli Storage Manager backup-archie client Tioli Storage Manager Application Programming Interface It is also assumed that you hae an understanding of one of the following operating systems: Windows Serer 2008 Windows Serer 2008 R2 Windows Serer 2012 It is also assumed that you hae an understanding of the following IBM storage system used for the database: Any storage deice that implements the VSS proider interface as defined in the VSS system proider oeriew section of this document IBM System Storage Disk Storage Models DS3000, DS4000, DS5000 IBM System Storage SAN Volume Controller (SVC) IBM Storwize V7000 Disk System IBM XIV Storage System Model 2810 (Gen2) IBM System Storage DS8000 (DS8100, DS8300, or DS8700) Copyright IBM Corp. 1997, 2013 ix

Publications Publications for the Tioli Storage Manager family of products are aailable online. The Tioli Storage Manager product family includes IBM Tioli Storage FlashCopy Manager, IBM Tioli Storage Manager for Space Management, IBM Tioli Storage Manager for Databases, and seeral other storage management products from IBM Tioli. To search across all publications or to download PDF ersions of indiidual publications, go to the Tioli Storage Manager information center at http://pic.dhe.ibm.com/infocenter/tsminfo/7r1. You also can find the Tioli Storage Manager product family information centers and other information centers that contain official product documentation for current and preious ersions of Tioli products at Tioli Documentation Central. Tioli Documentation Central is aailable at http://www.ibm.com/ deeloperworks/community/wikis/home/wiki/tioli Documentation Central. Conentions used in this publication This guide uses seeral conentions for special terms and actions, operating system-dependent commands and paths. This guide uses the following typeface conentions: Bold Commands, keywords, authorization roles, or other information that you must use. Example: Log on to the serer as root user. italics Values or ariables that you must proide. Emphasized words and phrases. Example: The node name of the production node and backup node must not be the same. bold italics Options and parameters. Example: Specify the alue for the compression option. monospace Directories, parameters, URLs, and output examples. Example: The product is installed in the C:\program files\tioli\tsm\client\ba directory. UPPER CASE Enironment ariables associated with Tioli Storage Manager, operating systems, or SQL Serer. Example: Make sure the DSM_DIR enironment ariable is set correctly. x IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Reading syntax diagrams This section describes how to read the syntax diagrams used in this book. To read a syntax diagram, follow the path of the line. Read from left to right, and top to bottom. The symbol indicates the beginning of a syntax diagram. The symbol at the end of a line indicates the syntax diagram continues on the next line. The symbol at the beginning of a line indicates a syntax diagram continues from the preious line. The symbol indicates the end of a syntax diagram. Syntax items, such as a keyword or ariable, can be: On the line (required element) Aboe the line (default element) Below the line (optional element) Syntax Diagram Description Abbreiations: Uppercase letters denote the shortest acceptable truncation. If an item appears entirely in uppercase letters, it cannot be truncated. Example Abbreiations KEYWOrd You can type the item in any combination of uppercase or lowercase letters. In this example, you can enter KEYWO, KEYWORD, or KEYWOrd. Symbols: Enter these symbols exactly as they appear in the syntax diagram. * Asterisk {} Braces : Colon, Comma = Equal Sign - Hyphen () Parentheses. Period Space Variables: Italicized lowercase items (ar_name) denote ariables. Variables KEYWOrd ar_name In this example, you can specify a ar_name when you enter the KEYWORD command. About this publication xi

Syntax Diagram Description Repetition: An arrow returning to the left means you can repeat the item. A character or space within the arrow means you must separate repeated items with that character or space. A footnote by the arrow references the number of times you can repeat the item. Example Repetition repeat Repetition, repeat Repetition (1) repeat Notes: 1 Specify repeat as many as 5 times. Required Choices: When two or more items are in a stack and one of them is on the line, you must specify one item. In this example, you must choose A, B, or C. Optional Choice: When an item is below the line, that item is optional. In the first example, you can choose A or nothing at all. When two or more items are in a stack below the line, all of them are optional. In the second example, you can choose A, B, C, or nothing at all. Required choices A B C Optional choice A A B C Defaults: Defaults are aboe the line. The default is selected unless you oerride it. You can oerride the default by including an option from the stack below the line. In this example, A is the default. You can oerride A by choosing B or C. You can also specify the default explicitly. Repeatable Choices: A stack of items followed by an arrow returning to the left means you can select more than one item or, in some cases, repeat a single item. In this example, you can choose any combination of A, B, or C. Defaults A B C Repeatable choices A B C xii IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Syntax Diagram Description Syntax Fragments: Some diagrams, because of their length, must fragment the syntax. The fragment name appears between ertical bars in the diagram. The expanded fragment appears between ertical bars in the diagram after a heading with the same fragment name. Example Syntax fragments The fragment name The fragment name: A B C About this publication xiii

xi IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

New for Version 7.1 Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Version 7.1 contains seeral new features and changes. Restoring from irtual machine snapshots on page 98 You can recoer Microsoft SQL databases from a VM backup. To complete this task, use both Tioli Storage Manager for Virtual Enironments and Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer. Windows PowerShell and Data Protection for SQL Serer on page 111 The Data Protection for SQL Serer software includes Windows PowerShell cmdlets to complement the command-line interface functions. Automated failoer for data recoery on page 10 When the primary Tioli Storage Manager serer is unaailable, Data Protection for Microsoft SQL Serer can automatically fail oer to the secondary serer for data recoery. Copyright IBM Corp. 1997, 2013 x

xi IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Chapter 1. Getting started Backup oeriew With Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer software, you can continue to run primary applications on your database serers while data is backed up and restored. Legacy-style and VSS backups are supported. The snapshots can be stored on a Tioli Storage Manager serer. Data Protection for SQL Serer proides seeral methods of backing up SQL Serer data. Legacy backup oeriew A Legacy backup creates a copy of all or part of a SQL database or logs on Tioli Storage Manager storage media. Data Protection for SQL Serer proides selection mechanisms and the logic that are required to back up and restore SQL data. When you initiate a legacy backup operation, Data Protection for SQL Serer completes the following actions: 1. Begins a session with a Tioli Storage Manager serer by using the Tioli Storage Manager API and information that is contained in a client options file. 2. Starts a session with the SQL Serer by using the SQL-SMO interface. 3. Instructs the SQL Serer by using the SQL VDI interface to begin a backup of the selected database objects. 4. Receies data from the SQL Serer and sends it to the Tioli Storage Manager serer. 5. Informs the SQL Serer that the backup is complete. 6. Ends the Tioli Storage Manager serer and SQL Serer sessions. Depending on the instructions that are proided, Data Protection for SQL Serer software can either compress or instruct the SQL Serer to compress the SQL data before it sends the data to the Tioli Storage Manager serer. When a backup is run, Tioli Storage Manager serer retains information about the SQL Serer and database. This information is aailable for query and restore operations after the backup is completed. The information about the names and sizes of the database filegroups and files is stored along with the database data as metadata. Copyright IBM Corp. 1997, 2013 1

VSS framework VSS proides software and hardware endors with a common interface model for generating and managing snapshots. The Microsoft VSS serice manages and directs three VSS software components that are used during VSS operations: the VSS requestor, the VSS writer, and the VSS proider. The VSS requestor is the backup software. The VSS writer is the application software. Examples of application software include Microsoft Exchange Serer and Microsoft SQL Serer. The VSS proider is the specific combination of hardware and software that generates the snapshot olume. VSS writer The VSS writer for the Microsoft SQL Serer is the SqlSererWriter. The SqlSererWriter is proided by the SQL Serer VSS Writer serice. VSS requestor The Tioli Storage Manager backup-archie client seres as the VSS requestor component and communicates with Microsoft VSS serices to access data and create olume shadow copies. Because the Tioli Storage Manager backup-archie client acts as the VSS interface, features such as LAN-free backup, client-side deduplication, data encryption, and data compression, are aailable. These feature are enabled by setting certain options defined in the backup-archie client options file. This application initiates a snapshot operation. The application sends a command to the VSS serice to create a shadow copy of a specified olume. The VSS requestor is the Tioli Storage Manager backup-archie client. VSS proider This application produces the shadow copy and also manages the olumes where the SQL data is located. A proider can be a system proider (such as the one included with the Microsoft Windows operating system). It can also be a software proider or a hardware proider (such as one that is included with a storage system). VSS hardware proiders require installation and configuration, including the installation of all required fix packages. For instructions, see the documentation for the VSS hardware proider. For more information about VSS technology, see the Microsoft Technical Reference document How Volume Shadow Copy Serice Works. VSS system proider oeriew A VSS system proider assists with creating and maintaining copies on local shadow olumes. The VSS system proider refers to the default VSS proider that is aailable with Windows Serer. If you are using the Windows VSS system proider, no configuration is required. Howeer, you can make some configuration changes by using the VSSADMIN commands. See Microsoft documentation on the VSSADMIN commands for details. 2 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

VSS software or hardware proider oeriew A software or hardware proider acts as an interface during VSS processing at the software or hardware leel, respectiely. If you use a software or hardware proider, reiew the following operational requirements that are proided to help you plan for VSS backups: Place database files for each database or group of databases that are to be backed up and restored together on a separate, dedicated logical olume. Place logs for each database on a separate logical olume. Do not place non-sql data on storage olumes that are dedicated to SQL data. When you use hardware snapshot proiders, do not share storage group LUNs with other databases or applications. Read and follow specific installation and configuration instructions in the documentation that is proided by your VSS proider endor. If you use XIV storage deices, install and configure IBM XIV Proider for Microsoft Windows Volume Shadow Copy Serice (xpro) Version 2.3.0 and later. When a hardware proider is used, configure the disks that store SQL data and log files as basic disks. VSS backup A VSS backup uses Microsoft Volume Shadow Copy Serice technology to produce an online snapshot (point-in-time consistent copy) of SQL data. VSS backups eliminate the need for the serer or file system to be in backup mode for an extended period of time. The length of time to perform the snapshot is usually measured in seconds, not hours. In addition, a VSS backup allows a snapshot of large amounts of data at one time because the snapshot works at the olume leel. VSS backups can be stored on local VSS shadow olumes, or, when integrated with Tioli Storage Manager, in Tioli Storage Manager serer storage. Both of these storage destinations require that sufficient space be aailable for the snapshot. When sufficient space is aailable for the snapshot, VSS backups stored locally on VSS shadow olumes are directly accessible by the system. Restoring locally managed VSS backups is fast because the SQL data is not transferred from Tioli Storage Manager serer storage oer the network. When you run VSS backups and store data on Tioli Storage Manager serer storage, sufficient space is temporarily required on local snapshot olumes. This space is used to hold the snapshot until transfer to the Tioli Storage Manager serer is complete. After the data transfer to the serer is complete, the snapshot olume is released. The space can be reused. If you also store VSS backup locally, in addition to Tioli Storage Manager serer storage, and the maximum number of local backup ersions to be maintained is reached, the oldest local backup ersion expires to create the new snapshot for the backup to Tioli Storage Manager serer storage. The maximum number of local backup ersion to be maintained is set in the Tioli Storage Manager policy. For data backed up to local VSS shadow olumes, the snapshot backup is on the shadow copy olume. Chapter 1. Getting started 3

For data backed up to both VSS shadow olumes and Tioli Storage Manager serer storage, a local snapshot backup is run and the data on the local snapshot olume is sent to the Tioli Storage Manager serer. The local snapshot olume is retained as a local backup after the transfer to the Tioli Storage Manager serer is complete. VSS backup management: Some VSS backup characteristics are different from legacy backup characteristics. Examples of these differences are the backup characteristics for types that are supported, the backup granularity, and the backup storage location options. Backups can be stored on local shadow olumes, Tioli Storage Manager serer storage, or both locations. Backups to Tioli Storage Manager serer storage can be offloaded to another system as resource relief for production serers. In addition, backups can be run in a MicrosoftWindows Failoer Clustering or Veritas Cluster Serer (VCS) enironments. The full and copy-only full backup types are supported. Log, differential, file, group, and set backup types are not supported. Legacy differential and legacy log backups can be applied after a full VSS backup is restored. Different policy settings can be defined for each storage location, backup method, and backup type (FULL or COPY). VSS backup planning requirements: Plan a VSS backup strategy to optimize your backup operations performance and aoid potential problems. Consider the following requirements when you plan for VSS backups: When you run VSS operations, ensure that you hae at least 200 MB of free disk space on your Windows System Drie. This space is used to hold the metadata files for Data Protection for SQL Serer. Continue to schedule and run Legacy backups in your strategy. Ensure that you hae a well-defined and tested recoery plan that meets your serice leel objecties. Use basic disks. If you plan to keep some VSS snapshot backups on local shadow olumes only, make sure to consider the VSS proider-specific implementation and configuration options when you set up your strategy. For example, if your VSS hardware proider supports a full-copy snapshot ersus a copy-on-write (COW) snapshot mechanism, full-copy type implementations hae greater disk storage requirements. Howeer, full-copy type implementations are less risky because they do not rely on the original olume to restore the data. COW implementations require much less disk storage but rely completely on the original olume to process a restore. Since these implementations are entirely controlled by the VSS proider and not Data Protection for SQL Serer, make sure to consult your VSS proider documentation for a complete understanding of your VSS implementation. If you run parallel VSS backups, stagger the start of the backups by at least ten minutes. This interal ensures that the snapshot operations do not oerlap. If you do not stagger the snapshots, errors can occur. In addition, configure the parallel instance backups so they do not take snapshots of the same olumes. Ensure that parallel backups do not make a snapshot of the same LUN. 4 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Do not place multiple olumes on the same LUN. Microsoft adises that you configure a single olume, single partition, and single LUN as 1 to 1 to 1.Do not set the ASNODENAME option in the dsm.opt file when you use Data Protection for SQL Serer. Setting ASNODENAME can cause VSS backups and VSS restores to fail. IBM System Storage requirements: Specific database, log, file, and LUN settings are required for IBM System Storage. The DS8000, SAN Volume Controller, Storwize V7000, and XIV storage subsystems require these settings when you plan for VSS backups: Place database files for each database or group of databases that are going to be backed up and restored together as a unit on a separate and dedicated logical olume. Place logs for each database or group of databases that are going to be backed up and restored together as a unit on a separate logical olume. Do not place non-sql data on storage olumes that are dedicated to SQL. When you use hardware snapshot proiders, make sure the database LUNs are dedicated to only one database or application. If you delete a LOCAL snapshot that is stored on a SAN Volume Controller or Storwize V7000 Space Efficient olume (SEV) that has multiple dependent targets, you must delete them in the same order in which you created them. You must delete the oldest one first, followed by the second oldest, and so on. Failure to delete them in this order can cause remoal of other snapshots of the same source. (SAN Volume Controller and Storwize V7000 only) If you use multiple target FlashCopy mappings, a mapping can stay in the copying state after all the source data is copied to the target. This situation can occur if mappings that were started earlier and use the same source disk are not yet fully copied. Because of this situation, initiate local backups for SAN Volume Controller and Storwize V7000 storage subsystems at interals greater than the time required for the background copy process to complete. Offloaded VSS backups: An offloaded backup uses another machine to moe the data to the Tioli Storage Manager serer. This type of backup shifts the backup load from the production system to another system. An offloaded VSS backup requires a VSS hardware proider that supports transportable shadow copy olumes is installed on the production and secondary systems. Offloaded VSS backups require a Tioli Storage FlashCopy Manager license. Tioli Storage FlashCopy Manager is a separately purchasable program. Chapter 1. Getting started 5

Backup types: Data Protection for SQL Serer offers an expanded range of backup types that allows flexibility for your enironment and processing needs. Data Protection for SQL Serer backup types hae the following characteristics: Full database backup (Legacy and VSS) Data Protection for SQL Serer backs up an entire SQL Serer database and the portion of the transaction log necessary to proide a consistent database state. With both full and differential backups, the copy includes enough information from any associated transaction logs to make a backup consistent with itself. The portion of the log included contains only the transactions that occur from the beginning of the backup until its completion. Legacy backups are a stream of bytes that Data Protection for SQL Serer stores on the Tioli Storage Manager serer. VSS backups differ since they are at the olume and file-leel. When a SQL Serer database is not fully allocated, a legacy backup might transfer a smaller amount of data for a Tioli Storage Manager backup than for a VSS backup. This situation occurs because a VSS backup transfers the entire file, regardless of its allocation. Copy-only full backup (Legacy and VSS) A copy-only full backup is a type of backup that is independent of the sequence of conentional SQL Serer backups. The copy-only full backup does not disturb the sequence for a differential backup. The differential backup is not associated with the copy-full backup, but is associated with the prior full backup that was completed. This type of backup can be used for special purpose backups that do not affect existing backup and restore procedures. In addition, when compared to conentional backups, this type of backup can be used for longer term retention. An example of a special purpose backup is a backup of a log before an online file restore. In this scenario, the copy-only full backup is used one time. After the backup is used, it is deleted. Differential backup (Legacy only) Data Protection for SQL Serer backs up only the data pages in a SQL Serer database instance that changed after the last full backup and a portion of the transaction log. Differential backup is associated with the last full backup that was run. The last full backup might be completed by Data Protection for SQL Serer or another tool or product. For example, if you run a full backup with SQL Serer to disk backup, and run a differential backup with Data Protection for SQL Serer, the differential backup is associated with the SQL Serer disk backup. (Microsoft SQL Serer 2012 only) Differential backup is not supported for databases on the secondary replica. Log backup (Legacy only) Data Protection for SQL Serer backs up only the contents of a SQL Serer database transaction log since the last successful log backup. Before the first log backup, complete either a full backup or an equialent type of backup. Log backups normally follow full backups. The portion of the log included in full and differential backups is not equialent to a log backup. Additionally, in full and differential backups, the log is not truncated as it 6 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Restore methods is during a log backup. Howeer, a log backup that follow a full or differential backup includes the same transactions as a full or differential backup. Log backups are not cumulatie as are differential; they must be applied against a base backup and in the correct order. A log backup in SQL Serer terms is not equialent to an incremental backup in Tioli Storage Manager terms. File backup (Legacy only) Data Protection for SQL Serer backs up only the contents of a specified SQL Serer logical file. This type of backup can ease the scheduling for backing up large databases. You can back up different sets of files during different scheduled backups. File, group, and set backups must be followed by a log backup, but a full is not required. Group backup (Legacy only) Data Protection for SQL Serer backs up only the contents of a specified SQL Serer filegroup. This backup enables you to back up the set of database tables and indexes within a specific group of files. The "group" is specified as part of the setup within the SQL Serer when you define the database files. If no group is specified and all the database files are part of the "primary" group, it is not possible to back up or restore just part of the database by using the group. Set backup (Legacy only) Data Protection for SQL Serer backs up the contents of specified SQL Serer file groups and files as a unit. Data Protection for SQL Serer proides seeral methods of restoring SQL Serer data. Legacy restore oeriew A legacy restore obtains backup copies of SQL databases from Tioli Storage Manager serer storage and restores them to their original location. Like a Legacy backup, it uses a specialized API restore that functions with the SQL Serer. A complete restore of a database inoles restoring a full backup or the equialent thereof (from group, file, or set backups) and restoring all transaction logs since the last full backup. For a Legacy Restore, Data Protection for SQL Serer: 1. Starts a session with a Tioli Storage Manager serer by using the Tioli Storage Manager API and information that is contained in a client options file. 2. Starts a session with the SQL Serer by using the SQL-SMO interface. 3. Queries the Tioli Storage Manager serer for a list of database backups. 4. Instructs the SQL Serer by using the SQL VDI interface to begin a restore of the selected database objects. 5. Receies data from the Tioli Storage Manager serer and forwards it to the SQL Serer. 6. Ends the Tioli Storage Manager and SQL Serer sessions. Chapter 1. Getting started 7

VSS restore A VSS restore restores VSS backups (SQL database files and log files) that reside on Tioli Storage Manager serer storage to their original location. The following characteristics are true of a VSS restore: You can restore only SQL Serer VSS backups to the same SQL Serer instance. Full and copy-only full backup types can be restored. Differential, indiidual filegroups, indiidual files, and set backups are not supported by VSS and therefore, cannot be restored. VSS restore granularity is at the database leel. Supports restoring one or more databases from a VSS snapshot backup that are located on Tioli Storage Manager serer storage. Restores can be run in a Microsoft Windows Failoer Clustering or Veritas Cluster Serer (VCS) enironment. Supports restoring a VSS backup (directly from Tioli Storage Manager serer storage) to an alternate location by using the /relocatedir option. VSS fast restore A VSS fast restore restores data from a local snapshot. The snapshot is the VSS backup that resides on a local shadow olume. The restore operation retriees the data by using a file-leel copy method. The following characteristics are true of VSS fast restores: Full and copy-only full backup types can be restored. Differential, indiidual filegroups, indiidual files, and set backups are not supported by VSS and therefore, cannot be restored. You can restore only SQL Serer VSS backups to the same SQL Serer instance. VSS backups can be restored to an alternate location by using the /relocatedir option. Restore granularity is at the database leel. Restores can be run in a Microsoft Windows Failoer Clustering or Veritas Cluster Serer enironment. VSS instant restore A VSS instant restore operation restores data by using a hardware-assisted restore method. A FlashCopy operation is an example of a hardware-assisted restore method. A VSS instant restore is only possible when all of the data from the storage group or database that is specified for restore is on storage subsystems that are supported by the VSS instant restore. If part of the data that is being restored, including the log files and full-text index files, is on a local disk, a VSS fast restore is completed. When you perform VSS instant restores, make sure that any preious background copies that inole the olumes that are being restored are completed before you initiate the VSS instant restore. Howeer, this check is not necessary for XIV, SAN Volume Controller, or Storwize V7000 with space-efficient target olumes. VSS instant restore is the default restore method when all data specified for a restore is on storage subsystems that are supported by the VSS instant restore. A failoer to VSS fast restore can still occur when an error is detected early enough in the VSS instant restore process to trigger the failoer. In this situation, an error is logged in the dsmerror.log file. The dsmerror.log file is used by the 8 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

Thin proisioning support DSMAGENT. Howeer, a failoer to VSS fast restore might not always be possible. For example, if an error occurs later in the restore process, VSS instant restore processing fails without a failoer to VSS fast restore. An error can be a pending background copy on the storage subsystem, a failure to start the FlashCopy operation on the snapshot proider system, or other hardware error. SQL Serer VSS backups can only be restored into the same SQL Serer instance from which they were backed up. This limitation is a Microsoft SQL Serer limitation. Full and copy-only full backup types can be restored. Legacy differential and legacy log backups can be applied after a full or copy-only full VSS backup is restored. When you plan for VSS instant restore, use the following considerations: ( DS8000, SAN Volume Controller, Storwize V7000) Requires IBM System Storage Support for Microsoft Volume Shadow Copy Serice software. XIV has separate VSS Proider software. Backups can only be restored to the same DS8000, SAN Volume Controller, XIV, or Storwize V7000 storage subsystem from which they are backed up. The list of deices that support instant restore is maintained online at http://www.ibm.com/support/dociew.wss?uid=swg21455924. Thin proisioning or the ability to allocate less physical storage than the declared size of a logical storage olume is aailable with supported hardware. A thinly proisioned olume is referred to as a space-efficient (SE) olume. The complete list of supported hardware for a space-efficient FlashCopy is aailable online at http://www.ibm.com/support/dociew.wss?uid=swg21455924. SAN Volume Controller and Storwize V7000 proide FlashCopy restore from SE target olumes and from fully allocated target olumes for which the background copy of the VSS backup is not yet completed. In addition, the hardware supports a restore from fully allocated target olumes for which the backgroud copy of the VSS backup has completed. You can retain multiple FlashCopy images of a source olume as backup generations at a much reduced storage cost. You do not hae to allocate the full size of the source olume for each backup generation. For SE target olumes, the SAN Volume Controller and Storwize V7000 hardware architectures minimize the space that is required to maintain multiple snapshots of the same source olume. Target olumes are placed into a cascade where each target is dependent on changes that are recorded in target olumes of subsequent snapshots. For example, assume that four VSS snapshots are created of a source olume. S is the source and T1 through T4 are the targets. T1 is the first, chronologically, and T4 is the last. The following cascade occurs: S->T4->T3->T2->T1 With this type of cascade relationship, a copy-on-write process is needed only between the source olume and the latest FlashCopy target. Any blocks that remain unchanged on the source olume are not copied at all. Howeer, the cascaded relationship, where multiple SE target olumes hae the same FlashCopy source, requires some special considerations when you use the target olumes as backup ersions managed by Data Protection for SQL Serer. Chapter 1. Getting started 9

Automated failoer for data recoery Data Protection for Microsoft SQL Serer can automatically fail oer to a secondary serer for data recoery when there is an outage on the Tioli Storage Manager serer. The Tioli Storage Manager serer that Data Protection for SQL Serer connects to for backup serices is called the primary serer. If the primary serer is set up for node replication, the client node data on the primary serer can be replicated to another Tioli Storage Manager serer, which is the secondary serer. Depending on your configuration, the following nodes must be set up for replication on the primary serer: Data Protection node Backup-archie client node (also called the DSM agent node) Remote DSM agent node (for offloaded backups to the primary serer) AlwaysOn node (for backups of aailability databases in an AlwaysOn Aailability Group on SQL Serer 2012) During normal operations, connection information for the secondary serer is automatically sent to Data Protection for SQL Serer from the primary serer. The secondary serer information is saed to the client options file (dsm.opt). No manual interention is required by you to add the information for the secondary serer. Each time the backup-archie client logs on to the serer for backup serices, it attempts to contact the primary serer. If the primary serer is unaailable, the backup-archie client automatically fails oer to the secondary serer. In failoer mode, you can restore data that was replicated to the secondary serer. When the primary serer is online again, the backup-archie client automatically fails back to the primary serer the next time the backup-archie client connects to the serer. You can confirm that Data Protection for SQL Serer has failed oer by looking for entries about the secondary serer in the following log files: Tioli\tsm\TDPSQL\dsierror.log Tioli\tsm\baclient\dsmerror.log Requirements: To ensure that automated client failoer can occur, Data Protection for SQL Serer must meet the following requirements: Data Protection for SQL Serer must be at the V7.1 leel. The primary serer, secondary serer, and backup-archie client must be at the V7.1 leel. The primary and secondary serers must be set up for node replication. The following nodes must be configured for replication with the replstate=enabled option in each node definition on the serer: Data Protection node Backup-archie client node Remote DSM agent node for offloaded backups AlwaysOn node, if applicable Before the connection information for the secondary serer can be sent to Data Protection for SQL Serer, the following processes must occur: You must back up data at least one time to the primary serer. 10 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide

The following nodes must be replicated at least one time to the secondary serer: - Data Protection node - AlwaysOn node, if applicable Restriction: The following restrictions apply to Data Protection for SQL Serer during failoer: Any operation that requires data to be stored on the Tioli Storage Manager serer, such as backup operations, are not aailable. You can use only data recoery functions, such as restore or query operations. Schedules are not replicated to the secondary serer. Therefore, schedules are not run while the primary serer is unaailable. If the primary serer goes down before or during node replication, the most recent backup data is not successfully replicated to the secondary serer. The replication status of the file space is not current. If you attempt to restore data in failoer mode and the replication status is not current, the recoered data might not be usable. You must wait until the primary serer comes back online before you can restore the data. For more information about the failoer capabilities of Tioli Storage Manager components, see http://www.ibm.com/support/dociew.wss?uid=swg21649484. For more information about automated client failoer with the Tioli Storage Manager backup-archie client, see Automated client failoer configuration and use in the Tioli Storage Manager information center (http://pic.dhe.ibm.com/ infocenter/tsminfo/7r1/topic/com.ibm.itsm.client.doc/ c_cfg_autoclientfailoer.html). Chapter 1. Getting started 11

12 IBM Tioli Storage Manager for Databases: Data Protection for Microsoft SQL Serer Installation and User's Guide