1.13k likes | 1.34k Views
Beat Schuppli Technology Specialist Microsoft Schweiz GmbH. Backup mit Microsoft Data Protection Manager 2007. Was ist der System Center Data Protection Manager 2007 (DPM)?. Microsofts Backup & Recovery Programm Geeignet für Microsoft Betriebssysteme und (Server-) Anwendungen
E N D
Beat Schuppli Technology Specialist Microsoft Schweiz GmbH Backup mit Microsoft Data Protection Manager 2007
Was ist der System Center Data Protection Manager 2007 (DPM)? • Microsofts Backup & RecoveryProgramm • Geeignet für Microsoft Betriebssysteme und (Server-) Anwendungen • Sichern auf Disks für schnelles Restore UND sichern auf Tape für Archivierung • Unterstützt Bare-Metal Server Recovery
Managing the Datacenter Lifecycle Hardware Provisioning Backup Virtual Workload Provisioning Disaster Recovery OS / Software Deploy, Patching and State Mgmt Performance and Health Monitoring
Was sind die Anforderungen für den SC DPM 2007 Server ? • SC DPM 2007 Server • Dedizierter Windows Server 2003 SP2 Server • x86 oder x64, aber kein ia64! • Storage Server ist möglich (mit SP2!) • SQL Server 2005 SP2 (Standardversion liegt bei) • IIS für SQL Reporting Services • Windows PowerShell 1.0 zum Skripten
Was sind die Anforderungen für die zu sichernden Server ? • Agent muss auf Clients installiert werden (verlangt in der Regel einen Reboot) • Windows 2003 SP1+ inkl. Storage Server / R2 • Windows XP SP2 oder höher (Vista Business…) • SQL 2000 SP4 oder SQL 2005 SP1+ • Exchange 2003 SP2 + oder Exchange 2007+ • Microsoft Virtual Server 2005 R2 SP1+ • Windows SharePoint Services 3.0 oder Microsoft Office SharePoint Server 2007 • S. Hinweise für WSS 2.0 / SPS 2003 später
Architektur vom Sytem Center Data Protection Manager 2007 Online Snapshots (biszu512) Disk-basiertes Recovery Active Directory® System State z.B.alle 15 Minuten DPM 2007 Tape- Archivierung MitDisk & Tape Support Windows XP Windows Vista Windows Server 2003 Windows Server 2008 Dateifreigaben & Verzeichnisse Offline Tape • DPM 2007 • Datenschutz von Windows Application und File Servern • Schnelles und zuverlässiges Recovery von Disk und Tape • GeeignetfürUnternehmenjederGrösse (inkl. Appliance oderSelbstinstallation)
Eine DisasterRecovery Architektur ist möglich Active Directory® System State DPM 2007 DPM 2007 DPM 2007 Sicherung der Niederlassung Sicherungeiner Region Zentrales Tape / DR Archiv Windows Server 2003 Windows Server 2008 Dateifreigaben & Verzeichnisse Windows XP Windows Vista • DPM 2007 • Datenschutz von Windows Application und File Servern • Schnelles und zuverlässiges Recovery von Disk und Tape • GeeignetfürUnternehmenjederGrösse (inkl. Appliance oderSelbstinstallation)
Protected Platforms Linux NetWare Online Snapshots up 512 Disk-based Recovery Active Directory & System State Windows 2003 File Services Windows 2008 File Services Cluster Bare Metal Recovery (RC) Oracle Notes NT4 2000 Virtual Server 2005 R2 SP1 DPM Servers Offline tape with Tape Library Exchange 2003 Exchange 2007 Cluster SQL Server 2000 SQL Server 2005 Cluster Media Encryption XP Desktops Vista Desktops SharePoint 2003 SharePoint 2007
Die Theorie der System Center Data Protection 2007 Sicherung (Grundlagen)
SC DPM weiß alles Nötige zum Sichern von Microsoft Applikationen • Als Administrator wählen Sie die Applikation aus, die gesichert werden soll. Die Dateien dazu wählt SC DPM 2007 • Sie wählen selber Dateien, Ordner bzw. Shares aus D:\ + \Exch_data + \ExecMail.EDB E:\ + \Exch_data + \ExecMail.LOG
SC DPM Filter generiert eine Volume Karte der Blöcke, die die jeweiligen Files belegen (Bsp: Exchange) Zu den involvierten Dateien erstellt DPM eine „Block-Liste“ (Dateisystem) D:\ + \Exch_data + \ExecMail.EDB E:\ + \Exch_data + \ExecMail.LOG DPM Filter – Volume Map
Start desSynchronisationsfensters Time = 10:00 VOLUME (actual disk blocks) DPM Filter – Volume Map
Time = 10:01 File Write VOLUME (actual disk blocks) DPM Filter – Volume Map Changed blocks noted
Time = 10:06 File Write VOLUME (actual disk blocks) VOLUME (actual disk blocks) DPM Filter – Volume Map Changed blocks noted
Time = 10:18 File Write VOLUME (actual disk blocks) DPM Filter – Volume Map Changed blocks noted
Time = 10:26 File Write VOLUME (actual disk blocks) DPM Filter – Volume Map Changed blocks noted
Time = 10:30 (up to every 30 minutes) DPM Synchronization VOLUME (actual disk blocks) DPM Filter – Volume Map VSS Snapshot taken on production volume to ensure consistent data
Time = 10:30:01 DPM Synchronization VOLUME (actual disk blocks) DPM Filter – Volume Map VSS Snapshot taken on production volume to ensure consistent data Cache of changed blocks is sent to DPM server Block Order 9 19 14 13 10 8 15 6 5 12 4 18 17 16 1 7 11
Transmit changed blocks from 10:00-10:30 to DPM server Data integrity preserved, since volume snapped Time = 10:30:02 VOLUME (actual disk blocks) DPM Filter – Volume Map VSS Snapshot taken on production volume to ensure consistent data Cache of changed blocks is sent to DPM server Block Order 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Transmit changed blocks from 10:00-10:30 to DPM server Data integrity preserved, since volume snapped Time = 10:30:03 And File IO continues VOLUME (actual disk blocks) DPM Filter – Volume Map VSS Snapshot taken on production volume to ensure consistent data Cache of changed blocks is sent to DPM server, while live disk continues. Block Order 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 0:00 Exch.Data
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 0:00 Exch.Data 0:00 Baseline Initial Mirror
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 0:XX Exch.Data 0:00 15 minute Syncs Alle 15 Minutenwerden die (geschlossenen) Transaction Logs kopiert
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 0:XX Exch.Data 0:00 15 minute Syncs Alle 15 Minutenwerden die (geschlossenen) Transaction Logs kopiert
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 0:XX Exch.Data 0:00 15 minute Syncs Alle 15 Minutenwerden die (geschlossenen) Transaction Logs kopiert
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 0:XX Exch.Data 0:00 Restore SC DPM 2007 kann nun zujedemZeitpunkt die Datenzurückspielen Exch.Data 0:00 via direktem Restore der Datenbank Roll forward 0:XX mitHilfe der Transaction Logs
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 1:00 Exch.Data 0:00 Express full Mindestenseinmal pro Woche, normalerweisetäglich, wirdein DPM Express Full erstellt: Synchronisiert die DPM Replikamit der Originaldatenbank
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 1:00 Exch.Data 1:00 Express full 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 Mindestenseinmal pro Woche, aberauchtäglich, wirdein DPM Express Full erstellt: Synchronisiert die DPM Replikamit der Originaldatenbank
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 1:XX Exch.Data 1:00 15 minutes 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 Tag 1: Die Datenändernsich
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 1:XX Exch.Data 1:00 15 minutes 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 Tag 1: Die Datenändernsich
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 1:XX Exch.Data 1:00 15 minutes 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 Tag 1: Die Datenändernsich
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 1:XX Exch.Data 1:00 Restore 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 SC DPM Wiederherstellung: Heute um 2:15 VerwendeheutigeSicherung Logfileseinspielenbis 2:15
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 1:XX Exch.Data 1:00 Restore 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Day 0 SC DPM Wiederherstellung: Gestern um 10:45 Verwende Shadow Copy 0:00 um zu Tag 0 zurückzugehen Logfileseinspielenbisgestern 10:45
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 2:00 Exch.Data 1:00 Express Full 0:00 Shadow Copy of 0:00 to 1:00 + Transaction logs Week 0 Tag 2: Einerneutes Express Full Backup
Sichern & Wiederherstellen von Exchange2003 / 2007 Production Server DPM Replica Exch.Data 2:00 Exch.Data 2:00 Express Full 1:00 0:00 Tag 2: Resynchronisation
Sichern & Wiederherstellen von Exchange 2003 / 2007 Production Server DPM Replica Exch.Data 2:00 Exch.Data 2:00 1:00 0:00 • Biszu 512 shadow copies, plus logs • Wöchentlich Full Express, dazwischenalle 15min Logs • w x 7d x 24h x 4(15m) = 344,000 Recovery Points
Was ist bei Exchange zu beachten • Initialsicherung ist so gross wie die Ausgangsdatenbank (+ Logfiles) • Weitere Sicherungen so gross wie Datenänderungen (komprimiert übertragen) • Express Full Backup muss einmal die Woche und kann alle 30min laufen, ESEUtil wird automatisch gestartet zur Sicherheit • Logfiles werden via VSS gesichert, z.B. alle 15min
Was kann bei Exchange wiederhergestellt werden? • SC DPM kann folgendes wiederherstellen: • Storage Groups • Mailbox Databases & Mailboxes(keine Mails!)* • Public Folders • Logfiles von SC DPM eingespielt • SGs können direkt gemountet werden • DBs und SGs können an einer alternativen Stelle wiederhergestellt werden * Über Partnererweiterungen
Unterstütze Exchange Architekturen • Standalone Server • Cluster aller Art • Microsoft Cluster Service (MSCS) mit automatischem Failover / fallback • CCR (Cluster Continuous Replication, auch geo-CCR mit preferedbackup (geo / role) • LCR (LocalContinuous Replication)
Funktioniert wie Exchange Production Server DPM Replica Exch.Data 2:00 Exch.Data 2:00 Express Full 1:00 0:00 Tag 2: Resynchronisation
Was ist bei SQL zu beachten • Initialsicherung ist so gross wie die Ausgangsdatenbank (+ Logfiles) • Weitere Sicherungen so gross wie Datenänderungen (komprimiert übertragen) • Express Full Backup muss einmal die Woche und kann alle 30min laufen • Logfiles werden via VSS gesichert, z.B. alle 15min
SQL Server Restore Options • Database Restore auf original Serverinstanz • Database Restore auf original ServerinstanzaberanderemPfad • Rename findetstatt • BeideDatabankenexistieren in gleicher SQL Server Instanz • Microsoft® SQL Server™ 2005 only • Database Dump auf andereMaschine • MDF, NDF und LDF Files • Ziel muss DPM Agent installierthaben • ManuellDatenbankhinzufügennötig • Lossless Recovery • Nurbeiintakten Logs
Unterstützte SQL Server Konfigurationen • SQL Cluster (MSCS SQL Cluster) • Automatisches Erkennen von Failover / -back • Automatisches Erkennen der virt. Namen • Log ShippingInstallationen • MirroredDatabases