Beat Schuppli Technology Specialist Microsoft Schweiz GmbH.
-
Upload
gertraud-haas -
Category
Documents
-
view
103 -
download
1
Transcript of Beat Schuppli Technology Specialist Microsoft Schweiz GmbH.
Backup mit Microsoft Data Protection Manager 2007
Beat SchuppliTechnology SpecialistMicrosoft Schweiz GmbH
Was ist der System Center Data Protection Manager 2007 (DPM)?
Microsofts Backup & Recovery ProgrammGeeignet für Microsoft Betriebssysteme und (Server-) AnwendungenSichern auf Disks für schnelles Restore UND sichern auf Tape für ArchivierungUnterstützt Bare-Metal Server Recovery
Managing the Datacenter Lifecycle
Virtual Workload
Provisioning
OS / Software Deploy,
Patching and State
Mgmt
Performance and Health Monitoring
Disaster Recovery
Hardware Provisionin
g
Backup
Was sind die Anforderungen für den SC DPM 2007 Server ?
SC DPM 2007 ServerDedizierter 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 ServicesWindows 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 / R2Windows 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
DPM 2007Datenschutz von Windows Application und File ServernSchnelles und zuverlässiges Recovery von Disk und TapeGeeignet für Unternehmen jeder Grösse (inkl. Appliance oder Selbstinstallation)
Mit Disk & Tape Support
z.B. alle 15 Minuten
DPM 2007
Online Snapshots (bis zu 512)
Disk-basiertesRecovery
Offline Tape
Tape-Archivierung
Active Directory®System State
Windows Server 2003Windows Server 2008 Dateifreigaben & Verzeichnisse
Windows XPWindows Vista
Architektur vom Sytem Center Data Protection Manager 2007
DPM 2007Datenschutz von Windows Application und File ServernSchnelles und zuverlässiges Recovery von Disk und TapeGeeignet für Unternehmen jeder Grösse (inkl. Appliance oder Selbstinstallation)
Sicherung der NiederlassungDPM 2007
Active Directory®System State
Windows Server 2003Windows Server 2008 Dateifreigaben & Verzeichnisse
Windows XPWindows Vista
Eine Disaster Recovery Architektur ist möglich
Sicherung einer RegionDPM 2007
Zentrales Tape / DR ArchivDPM 2007
Protected Platforms
Active Directory & System StateWindows 2003 File ServicesWindows 2008 File ServicesClusterBare Metal Recovery (RC)
Exchange 2003Exchange 2007Cluster
SQL Server 2000SQL Server 2005Cluster
SharePoint 2003SharePoint 2007
XP DesktopsVista Desktops
LinuxNetWare
Oracle Notes
NT42000Virtual Server 2005 R2 SP1
with Tape LibraryDPM Servers
Online Snapshots up 512
Disk-based Recovery
Offline tape
Media Encryption
Die Theorie der System Center Data Protection 2007 Sicherung (Grundlagen)
D:\ + \Exch_data + \ExecMail.EDB
E:\ + \Exch_data + \ExecMail.LOG
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 2007Sie wählen selber Dateien, Ordner bzw. Shares aus
Zu den involvierten Dateien erstellt DPM eine „Block-Liste“ (Dateisystem)
SC DPM Filter generiert eine Volume Karte der Blöcke, die die jeweiligen Files belegen (Bsp: Exchange)
DPM Filter – Volume Map
D:\ + \Exch_data + \ExecMail.EDB
E:\ + \Exch_data + \ExecMail.LOG
Start des Synchronisationsfensters
VOLUME (actual disk blocks)
Time = 10:00
DPM Filter – Volume Map
DPM Filter – Volume MapChanged blocks noted
File Write
VOLUME (actual disk blocks)
Time = 10:01
1 2 3 4
VOLUME (actual disk blocks)
Time = 10:06
DPM Filter – Volume MapChanged blocks noted
File Write
VOLUME (actual disk blocks)
7
1 2 3 4
5
6
8 9
VOLUME (actual disk blocks)
Time = 10:18 File Write
DPM Filter – Volume MapChanged blocks noted
11
7
1 2 3 4
12
5
6
15
8 9
10
13
14
File WriteTime = 10:26
DPM Filter – Volume MapChanged blocks noted
VOLUME (actual disk blocks)
11
7
1 16
17
18
19
4
12
5
6
15
8 9
10
13
14
1.VSS Snapshot taken on production volume to ensure consistent data
DPM Synchronization
Time = 10:30 (up to every 30 minutes)
DPM Filter – Volume Map
VOLUME (actual disk blocks)
11
7
1 16
17
18
19
4
12
5
6
15
8 9
10
13
14
117116171819412561589101314Block Order
DPM SynchronizationTime = 10:30:01
VOLUME (actual disk blocks)
1.VSS Snapshot taken on production volume to ensure consistent data
2.Cache of changed blocks is sent to DPM server
DPM Filter – Volume Map
11
7
1 16
17
18
19
4
12
5
6
15
8 9
10
13
14
12345678910
11
12
13
14
15
16
17
Time = 10:30:02
1.VSS Snapshot taken on production volume to ensure consistent data
2.Cache of changed blocks is sent to DPM server
DPM Filter – Volume Map
VOLUME (actual disk blocks)
Transmit changed blocks from 10:00-10:30 to DPM serverData integrity preserved, since volume snapped
1 2
3 4 5 6 7 8
9
10
11
12
13
14
15
16
17
Block Order
And File IO continues
Time = 10:30:03
1. VSS Snapshot taken on production volume to ensure consistent data
2. Cache of changed blocks is sent to DPM server, while live disk continues.
DPM Filter – Volume Map
VOLUME (actual disk blocks)
1 2
3 4 5 6 7 8
9
10
18
19
20
11
21
12
13
22
14
15
16
17
Transmit changed blocks from 10:00-10:30 to DPM serverData integrity preserved, since volume snapped
12345678910
11
12
13
14
15
16
17
Block Order
Die Theorie der Exchange 2003 / 2007 Sicherung
Exch.Data
0:00
DPM ReplicaProduction Server
Exch.Data
Sichern & Wiederherstellen von Exchange
2003 / 2007
Exch.Data
0:00Exch.Data
0:00Baseline Initial Mirror
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange
2003 / 2007
Exch.Data
0:XXExch.Data
0:00
Alle 15 Minuten werden die (geschlossenen) Transaction Logs kopiert
15 minute Syncs
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange
2003 / 2007
Exch.Data
0:XXExch.Data
0:0015 minute Syncs
Alle 15 Minuten werden die (geschlossenen) Transaction Logs kopiert
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
0:XXExch.Data
0:0015 minute Syncs
Alle 15 Minuten werden die (geschlossenen) Transaction Logs kopiert
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
0:XXExch.Data
0:00Restore
DPM ReplicaProduction Server
SC DPM 2007 kann nun zu jedem Zeitpunkt die Daten zurückspielen Exch.Data 0:00 via direktem Restore der Datenbank Roll forward 0:XX mit Hilfe der Transaction Logs
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
0:00Express full
Mindestens einmal pro Woche, normalerweise täglich, wird ein DPM Express Full erstellt: Synchronisiert die DPM Replika mit der Originaldatenbank
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
1:00Shadow Copy
of 0:00 to 1:00 +
Transaction logsDay 0
0:00
Express full
Mindestens einmal pro Woche, aber auch täglich, wird ein DPM Express Full erstellt: Synchronisiert die DPM Replika mit der Originaldatenbank
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:XXExch.Data
1:00
Tag 1: Die Daten ändern sich
Shadow Copyof 0:00 to 1:00
+Transaction logs
Day 0
0:00
15 minutes
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
1:XXShadow Copy
of 0:00 to 1:00 +
Transaction logsDay 0
0:00
15 minutes
Tag 1: Die Daten ändern sich
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange 2003 / 2007
Exch.Data
1:00Exch.Data
1:XXShadow Copy
of 0:00 to 1:00 +
Transaction logsDay 0
0:00
15 minutes
Tag 1: Die Daten ändern sich
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
1:XXSC DPM Wiederherstellung:Heute um 2:15
Verwende heutige SicherungLogfiles einspielen bis 2:15
Shadow Copyof 0:00 to 1:00
+Transaction logs
Day 0
0:00
Restore
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
1:XXSC DPM Wiederherstellung:Gestern um 10:45
Verwende Shadow Copy 0:00 um zu Tag 0 zurück zugehenLogfiles einspielen bis gestern 10:45
0:00
Shadow Copyof 0:00 to 1:00
+Transaction logs
Day 0
Restore
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
1:00Exch.Data
2:00 Express Full
0:00
Shadow Copyof 0:00 to 1:00
+Transaction logs
Week 0Tag 2: Ein erneutes Express Full Backup
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
2:00Exch.Data
2:00
1:00
0:00
Express Full
Tag 2: Resynchronisation
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange2003 / 2007
Exch.Data
2:00Exch.Data
2:00
1:00
0:00
DPM ReplicaProduction Server
Sichern & Wiederherstellen von Exchange 2003 / 2007
Bis zu 512 shadow copies, plus logs
Wöchentlich Full Express, dazwischen alle 15min Logs512w 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 SicherheitLogfiles werden via VSS gesichert, z.B. alle 15min
Was kann bei Exchange wiederhergestellt werden?
SC DPM kann folgendes wiederherstellen:
Storage GroupsMailbox Databases & Mailboxes (keine Mails!)*Public Folders
Logfiles von SC DPM eingespieltSGs können direkt gemountet werdenDBs und SGs können an einer alternativen Stelle wiederhergestellt werden
* Über Partnererweiterungen
Unterstütze Exchange Architekturen
Standalone ServerCluster aller Art
Microsoft Cluster Service (MSCS) mit automatischem Failover / fallbackCCR (Cluster Continuous Replication, auch geo-CCR mit prefered backup (geo / role)LCR (Local Continuous Replication)
Die Theorie der SQL Server Sicherung
Exch.Data
2:00Exch.Data
2:00
1:00
0:00
Express Full
Tag 2: Resynchronisation
DPM ReplicaProduction Server
Funktioniert wie Exchange
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 laufenLogfiles werden via VSS gesichert, z.B. alle 15min
SQL Server Restore Options
Database Restore auf original ServerinstanzDatabase Restore auf original Serverinstanz aber anderem Pfad
Rename findet stattBeide Databanken existieren in gleicher SQL Server InstanzMicrosoft® SQL Server™ 2005 only
Database Dump auf andere MaschineMDF, NDF und LDF FilesZiel muss DPM Agent installiert habenManuell Datenbank hinzufügen nötig
Lossless RecoveryNur bei intakten Logs
Unterstützte SQL Server Konfigurationen
SQL Cluster (MSCS SQL Cluster)Automatisches Erkennen von Failover / -backAutomatisches Erkennen der virt. Namen
Log Shipping InstallationenMirrored Databases
{ Data Protection Manager Agent Installation }
demo
{ Configuration Protection}
demo
Make Sure to Auto-Start the Production Servers SQL Server Volume Shadow Copy Service (VSS) Writer
DPM
Job# Frequency Retention1 Once per week 4 weeks
2 Once per month 12 months
3 Once per year 7 years
Father son scheme
Grandfather – father - son scheme
Great grandfather -Grandfather – father -
son scheme
Great grandfather -Grandfather – father -
son scheme
2007
Die Theorie der Virtual Server Sicherung
Sicherung von Virtuellen Servern
Virtual Server 2005 R2 wird auf 2 Arten unterstützt (Express Full = 512 Versionen):
Gast Systemen können in den Hibernate Modus versetzt werden, danach werden alle Dateien (.VHD, .VMC) gesichertGast Systeme, die VSS direkt unterstützen können online gesichert werden (z.B. Windows Server 2003; keine Host Cluster!)Dies gilt auch für Systeme mit Applikationen, sofern diese VSS unterstützen (SQL, Exchange…)
Virtual Server Sicherung im Schema
SC DPM 2007
1. Gastsystem kennt kein VSS: Hibernate VM1. RAM auf Disk schreiben, Files
sichern2. Gastsystem kennt VSS: Sicherung im
Betrieb1. Funktioniert wie Datenbank
3. Gastsystem mit VSS-Applikationen1. Funktioniert wie Datenbank
4. Gastsystem mit anderen Applikationen1. Hibernate VM2. RAM auf Disk schreiben, Files
sichernVirtual Server VSS Writer
Host System
Support für Virtual Server 2005 R2
Die Theorie der SharePoint Sicherung: 2003 vs. 2007
Die Architektur von SharePoint 2003 und WSS 2.0 kennt kein VSS
IIS Frontend Server
SQL Datenbank
WSS 2.0 o. SPS 2003
SC DPM 2007
SQL VSS Writer
STSADM Tool für Site & Site CollectionsDump-Datei dann via DPM sichern
Files
SharePoint 2007 und WSS 3.0 kennen VSS und unterstützen DPM
IIS Frontend Server
Farm Config
DB
SC DPM 2007
Content SQL ServerSearch Files
(Index)
SharePoint VSS Writer
Files
System State
Restore von SharePoint im Schema:Farm Recovery
Farm Config
DB
SC DPM 2007
Content SQL Server Search Files
(Index)
SharePoint VSS Writer
Restore von SharePoint im Schema:Config DB Recovery
Farm Config
DB
SC DPM 2007
Content SQL Server Search Files
(Index)
Config DB Recovery
Restore von SharePoint im Schema:Content DB Recovery
Farm Config
DB
SC DPM 2007
Content SQL Server Search Files
(Index)
Content DB Information
Content DB
Restore von SharePoint im Schema:Document, Site Collection Recovery
Farm Config
DB
SC DPM 2007
Content SQL Server Search Files
(Index)
Content DB
„Recovery Farm“Single Server
Site Collection / Document
Restore im Sharepoint Szenario
Restore auf Basis von Farm, Site oder Dokumenten
Suche von Dokumenten über URL, Name, Collection etc. statt nur UI
Restore ausschliesslich über Target Server
Restore Server & Collection (temporär, auch virtueller Server möglich) für Dokumente, von dort dann in eigentliche Site zurückspielen über SharePoint APIs (automatisch über SC DPM)
KEIN ANDERES RESTORE IST SUPPORTED!mms://wm.microsoft.com/ms/inetpub/jasonbuffington/Protecting_SharePoint_with_DPM2007_from_blogs.technet.com-jbuff.wmv
Fazit System Center Data Protection Manager 2007
Backup & Restore Programm mit umfassenden Kenntnissen von ApplikationenKonsistente Backup & Restores Lösung
Nur supportete Vorgehensweisen!Voll integriert in die System Center Suite
Einheitliche Lizenzen & SchnittstellenPowerShell, SC OpsMgr, SC VMM
Nicht MS Applikationen z.B. durch File Dumps
SMS 2003, Oracle…
Wichtige Ressourcen zum SC DPM
TechNet Portal: http://technet.microsoft.com/de-ch/dpm/default(en-us).aspxDPM Storage Calculator: http://go.microsoft.com/fwlink/?LinkId=104370 Know Issues: http://technet.microsoft.com/de-ch/library/bb795594(en-us).aspx TechNet Library: http://technet.microsoft.com/de-ch/library/bb795539(en-us).aspx Blogs: http://blogs.technet.com/jbuff/
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.