- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
10: Disaster Recovery in VS .NET
10: Disaster Recovery QR Code Creator In .NET Framework Using Barcode generation for Reporting Service Control to generate, create Quick Response Code image in Reporting Service applications. Encode Bar Code In .NET Using Barcode drawer for Reporting Service Control to generate, create bar code image in Reporting Service applications. When using a tape backup device, the tape must be physically connected to a computer running SQL Server when using SQL Server s backup and restore capabilities We can t back up to a remote tape device, but we can back up to a remote disk device using the UNC path If using third-party tools (and many good ones are available), we don t have this limitation However, the test will focus on SQL Server 2005 capabilities Create QR Code In C#.NET Using Barcode drawer for .NET framework Control to generate, create QR Code 2d barcode image in .NET applications. Generating QR Code 2d Barcode In VS .NET Using Barcode drawer for ASP.NET Control to generate, create QR Code 2d barcode image in ASP.NET applications. Physical and Logical Devices
Draw QR In VS .NET Using Barcode encoder for .NET framework Control to generate, create QR Code ISO/IEC18004 image in VS .NET applications. Generating QR-Code In VB.NET Using Barcode creator for Visual Studio .NET Control to generate, create QR Code image in .NET framework applications. SQL Server identifies backup devices using either a physical or logical device name The physical name is the name of the path and the file used by the operating system to identify the backup device (such as d:\SQLBackups\AdventureWorksbak) The logical name is the alias used within SQL Server to identify the physical backup device As an example, we could create a backup device with a logical name of AdventureWorksBackupDevice that points to the physical name of the file at d:\SQLBackups\ AdventureWorksbak Either the physical or logical names can be used in backup and restore statements Generating EAN-13 In Visual Studio .NET Using Barcode printer for Reporting Service Control to generate, create EAN-13 image in Reporting Service applications. Barcode Creation In .NET Framework Using Barcode generator for Reporting Service Control to generate, create barcode image in Reporting Service applications. Creating Backup Devices
Generate Code 39 In Visual Studio .NET Using Barcode creation for Reporting Service Control to generate, create Code 39 Full ASCII image in Reporting Service applications. Encoding UCC - 12 In .NET Using Barcode creator for Reporting Service Control to generate, create UPCA image in Reporting Service applications. Backup devices can be created in SSMS or via T-SQL statements A Backup Devices container exists within the Server Objects container in SSMS By right-clicking the Backup Devices container, selecting New Backup Device, and following the wizard, you can create a backup device To create backup devices in T-SQL, the sp_addumpdevice system stored procedure is used In the following exercise, we ll create a backup device that will be used in other exercises in this chapter Exercise 102: Create a Backup Device 1 Press WINDOWS+E to open Windows Explorer 2 Browse to the root of C:, and create a new folder named SQLBackups Close Windows Explorer 3 Open SSMS and connect to the default instance of SQL Server 4 Double-click the Server Objects container to open it Right-click Backup Devices and select New Backup Device 5 In the Backup Device window, enter AW_SSMS_BackupDevice as the Device Name 6 Click the ellipsis button next to the filename In the Locate Database Files dialog box, browse to c:\SQLBackups In the File Name box, enter AW_SSMS and click OK Your display should look similar to Figure 10-12 Click OK NOTE SQL Server automatically senses tape devices If a tape device is not available on your system, the selection for a tape device as the destination will be dimmed Drawing GS1-128 In .NET Framework Using Barcode generation for Reporting Service Control to generate, create GS1-128 image in Reporting Service applications. Create DataMatrix In .NET Using Barcode printer for Reporting Service Control to generate, create DataMatrix image in Reporting Service applications. MCITP SQL Server 2005 Database Developer All-in-One Exam Guide
Generating Uniform Symbology Specification Codabar In .NET Using Barcode creator for Reporting Service Control to generate, create NW-7 image in Reporting Service applications. Bar Code Drawer In Objective-C Using Barcode printer for iPad Control to generate, create bar code image in iPad applications. Figure 10-12 Creating a backup device in SSMS
Paint USS-128 In None Using Barcode printer for Microsoft Word Control to generate, create UCC - 12 image in Office Word applications. Bar Code Maker In None Using Barcode generator for Office Word Control to generate, create barcode image in Office Word applications. 7 Open a new query window in SSMS 8 Enter the following script to create another backup device in the same folder: ANSI/AIM Code 39 Encoder In Java Using Barcode printer for Java Control to generate, create Code39 image in Java applications. Universal Product Code Version A Drawer In Visual C#.NET Using Barcode printer for Visual Studio .NET Control to generate, create UPCA image in Visual Studio .NET applications. EXEC sp_addumpdevice 'disk', 'AW_TSQL_BackupDevice', 'C:\SQLBackups\AW_TSQLBak' Scan UPCA In Visual Studio .NET Using Barcode recognizer for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications. Generating Bar Code In VS .NET Using Barcode creation for VS .NET Control to generate, create bar code image in .NET applications. 9 Right-click the Backup Devices container and select Refresh You should see both backup devices in this container Mirrors and Sets
SQL Server 2005 introduces a new concept to SQL Server 2005 known as mirrored media sets In this section, we ll discover what a mirrored media set is and define some other relevant terms Media Set
The backups on a set of one or more backup media make up the media set If multiple backups are spread across multiple tape drives, all the tapes make up the media set Since tape drives are slow, it is possible to add multiple tape drives and write to them in parallel The media set is the ordered collection of backup media where we write a single backup If three tapes were in the media set, the backup would actually be contained on three different tapes Media sets can be on tapes or disks, but not both within the same media set Take a look at Figure 10-13 It shows a media set of four tapes: two tapes created on tape drive 1 and two tapes created on tape drive 2 Figure 10-13 Media set
Tape drive 1
Tape
Tape
Tape
Tape drive 2
Tape
Mirrored Media Set
New to SQL Server 2005 is the capability to mirror backup media If you re familiar with RAID-1 (mirroring) with disks, this works pretty much the same way Whatever is written to one tape in the mirrored media set is written to the other tape If one tape fails, we still have a copy on the other tape within the mirrored media set
|
|