Documente Academic
Documente Profesional
Documente Cultură
Also had worked on backup service in the Windows Azure SQL Database, service health and resource management in multitenancy environment, database consolidation and virtualization in private cloud , etc.
Course Topics
Getting Started with PowerShell
01 | Backup to URL in SQL 2012 & 2014 02 | Backup to Windows Azure Tool 03 | Managed Backup to Windows Azure
Setting Expectations
Target Audience
IT Pros Customers already using Windows Azure Virtual Machines
Earnwhileyoulearn!
Get 50 MVA Points for this event! Visit http://aka.ms/MVA-Voucher Enter this code: PltfmSQL (expires 1/5/2014)
01 | Backup to Cloud
Xin Jin| Program Manager George Li| Program Manager
Windows Azure VM
On-premise box
using Microsoft.SqlServer.Management.Smo; CREATE CREDENTIAL mystoragecred $url = "https://[storage].blob.core.windows.net/backups/db.bak" WITH IDENTITY = mystorage', $credential = "mycredential" SECRET = <your storage access key> $server = "SQLSERVER:\SQL\[computer]\DEFAULT" Backup mybackup = new Backup(); BACKUP DATABASE mydb TO URL ='https://mystorage.blob.core.windows.net/backupCD $server mybackup.CredentialName = strCredential; container/mydb-20130411.bak' Backup-SqlDatabase -Database AdventureWorks2012 mybackup.Database strDatabase; WITH CREDENTIAL = = mystoragecred', mybackup.CompressionOption = 5, BackupCompressionOptions.On; FORMAT, COMPRESSION, STATS -backupFile $url mybackup.Devices.AddDevice(desturl, MEDIANAME = mydb backup 20130411', DeviceType.Url); MEDIADESCRIPTION = 'Backup of mydb' -SqlCredential $credential -CompressionOption On mybackup.SqlBackup(myLocalServer);
versions of SQL Server including 2005, 2008, and 2008 R2 locally or in the cloud
Main benefits
Flexibility in configuration and no need to manage backup policy
Minimal knobs Context-aware e.g. workload/throttling Manage whole instance, or particular DBs Container & file naming, backup jobs Retention User action detection Example: EXEC smart_admin.sp_set_db_backup @database_name='TestDB', @retention_days=30, @credential_name='MyCredential', @encryption_algorithm='NO_ENCRYPTION', @enable_backup=1 GO
Intelligence built-in
Benefits
Built-in and automated backup offers lower management/operating costs
Allows for large scale management No device provisioning/management (Zero hardware management) Lower storage costs
No DB ID++
Yes
Yes
No
V1 Limitations
Only supports Windows Azure storage as destination for backups - No local disks Database backups & T-log backups No differential backups Backup of system databases not supported Recovery Models: Only databases set to Full or Bulk-logged model are supported. Databases set to simple recovery model not supported. No support for log shipping Database Mirroring: supported only on the principal database. AlwaysOn: support all-in the cloud config Bydesign:Conflictwithotherbackupsolutionssidebyside(DPM,) Limited user action detection and mitigation
Key Takeaways
Backup to URL in SQL 2012/2014
T-SQL, Powershell, SMO, UI (Backup/Restore, Maintenance Plan)
2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.