DPM SP1 Bare Metal Recovery of Windows Server.docx
《DPM SP1 Bare Metal Recovery of Windows Server.docx》由会员分享,可在线阅读,更多相关《DPM SP1 Bare Metal Recovery of Windows Server.docx(8页珍藏版)》请在冰豆网上搜索。
DPMSP1BareMetalRecoveryofWindowsServer
BareMetalRecoveryofWindowsServer2008withSystemCenterDataProtectionManager2007SP1
DPM 2007TechnicalArticle
Published:
April2009
Updated:
November2009
Appliesto:
DPM 2007SP1
Summary:
Thiswhitepaperprovidesstep-by-stepinstructionsabouthowtouseDataProtectionManager(DPM) 2007ServicePack1(SP1)tocreateaBMRbackupofthecriticalvolumesofacomputerrunningWindowsServer2008.
Copyright
TheinformationcontainedinthisdocumentrepresentsthecurrentviewofMicrosoftCorporationontheissuesdiscussedasofthedateofpublication.BecauseMicrosoftmustrespondtochangingmarketconditions,itshouldnotbeinterpretedtobeacommitmentonthepartofMicrosoft,andMicrosoftcannotguaranteetheaccuracyofanyinformationpresentedafterthedateofpublication.
Thiswhitepaperisforinformationalpurposesonly.MICROSOFTMAKESNOWARRANTIES,EXPRESS,IMPLIED,ORSTATUTORY,ASTOTHEINFORMATIONINTHISDOCUMENT.
Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.Withoutlimitingtherightsundercopyright,nopartofthisdocumentmaybereproduced,storedin,orintroducedintoaretrievalsystem,ortransmittedinanyformorbyanymeans(electronic,mechanical,photocopying,recording,orotherwise),orforanypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.
Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.ExceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.
Unlessotherwisenoted,theexamplecompanies,organizations,products,domainnames,e-mailaddresses,logos,people,places,andeventsdepictedhereinarefictitious,andnoassociationwithanyrealcompany,organization,product,domainname,e-mailaddress,logo,person,place,oreventisintendedorshouldbeinferred.
©2009MicrosoftCorporation.Allrightsreserved.
Microsoft,Windows,andOfficeSharePointServer2007aretrademarksoftheMicrosoftgroupofcompanies.
Allothertrademarksarepropertyoftheirrespectiveowners.
Contents
BareMetalRecovery4
Prerequisites4
ConfiguringBackupsforBMR5
Beforeyoucreatetheprotectiongroup6
Tocreatetheprotectiongroup6
RecoveringtheData7
Conclusion8
IntroductiontoDataProtectionManager 2007
SystemCenterDataProtectionManager(DPM) 2007isakeymemberoftheMicrosoftSystemCenterfamilyofmanagementproductsdesignedtohelpITprofessionalsmanagetheirWindowsServerenvironments.DPMisthenewstandardforWindowsServerbackupandrecovery—deliveringcontinuousdataprotectionforMicrosoftapplications,virtualization,fileservers,anddesktopsusingseamlesslyintegrateddiskandtapemedia,aswellascloudrepositories.DPMenablesbetterbackupswithrapidandreliablerecoveriesforboththeITprofessionalandtheend-user.DPMhelpssignificantlyreducethecostsandcomplexitiesassociatedwithdataprotectionthroughadvancedtechnologyforenterprisesofallsizes.ThefollowingfigureshowsanoverviewoftheprotectionprocessandthedatasourcesthatDPM 2007SP1protects.
Figure1:
DPM 2007SP1overview
DPMandBareMetalRecovery
UsingcomplimentarytechnologiesinadditiontoDPM’sactualsoftware,DPM 2007 SP1canperformabaremetalrecovery(BMR)torestoreanentireserverwithoutanoperatingsystem.Althoughrecoveringanentirecomputermayinitiallysoundappealing,therearefactorswherethefastestormostoptimalrecoveryactionistoonlyrestorethesystemstatecontainingtheregistryanduniqueoperatingsystembinariesoverapre-builtgenericserver—forexample,restoringthesystemstateforoneof200similarlyconfiguredbranchofficeservers.Inotherscenarios,insteadofrecoveringantiquatedhardwareandaserver’soperatingsystemthathasbeeninuseforsometime,itmaybemoreeffectivetosimplyrestorethedatatoanewerandfasterserver.Forthosescenarioswhereaserverhasaverycomplexconfigurationthatwouldbedifficulttorebuild,theabilitytoperformanimage-levelrestoreisideal.
WhenDPM 2007wasreleasedinthefallof2007,itwaspackagedwithasecondsoftwareofferingcalledtheDPMSystemRecoveryTool(SRT),whichprovidedbaremetalrecoveryforcomputersrunningWindowsXPandWindowsServer 2003.WiththereleaseofWindowsServer 2008,theWindowsServer 2003built-inbackuputilitywasreplacedwithanewWindowsServerBackuputility(WSB).TheWSBwasdevelopedbytheWindowsServerteamastheonlyintendedwayforaWindowsServertodoanimage-levelbackuporrestoreoftheWindowsServer 2008operatingsystem.
WiththereleaseofDPM 2007SP1,WindowsServer 2008isnowasupportedoperatingsystemforprotectionandrecoveryofdata.ThescriptingfeatureinDPM 2007SP1enablesbackupadministratorstobackupanyapplicationdata(forwhichDPMdoesnotprovidenativesupport)thatrunsonWindowsServer 2008.
Thiswhitepaperprovidesstep-by-stepinstructionsabouthowtouseDPM 2007SP1tocreateaBMRbackupofthecriticalvolumesofacomputerrunningWindowsServer 2008.Afteryoucreatethebackupcopy,youuseittorebuildacomputerintheeventofadisaster.
Prerequisites
YoumustperformthefollowingprerequisitestepsbeforeyoucancreateaBMRbackup:
1.InstallDPM 2007SP1ontheDPMserver.
2.InstallWindowsServerBackupontheprotectedserver.
3.ManuallyinstalltheDPMprotectionagentontheprotectedserver.Formoreinformationabouthowtomanuallyinstallaprotectionagent,seeInstallingProtectionAgentsManually(
4.InDPMAdministratorConsole,intheManagementtaskarea,ontheAgentstab,verifythattheagentinstallationwassuccessful.
Note:
Formoreinformationabouttroubleshootingprotectionagentinstallationissues,seeTroubleshootingProtectionAgentInstallationIssues(
5.Performthefollowingstepstofindthetotalsizeofallthecriticalvolumes:
A.TostartWindowsServerBackup,clickStart,pointtoAdministrativeTools,andthenclickWindowsServerBackup.
B.Ifyouareprompted,intheUserAccountControldialogbox,provideBackupOperatorcredentials,andthenclickOK.
C.OntheActionmenu,clickBackuponce.
D.IntheBackupOnceWizard,ontheBackupoptionspage,clickDifferentoptions,andthenclickNext.
E.OntheSelectbackupconfigurationpage,clickCustom,andthenclickNext.
F.OntheSelectbackupitemspage,selectEnablesystemrecovery.Forthepurposesofthisprocedure,useXgigabytes(GB)asthetotalsize.
Thefollowingfigureshowsthestatusoftheselectedvolumeandasizeof32.58GB.Writedownthesizeofthevolumethatyouselected.
Figure2:
Volumebackupsize
G.ClosetheBackupOnceWizard,andthencloseWindowsServerBackup.
6.CreateadedicatedvolumefortheBMRbackup.Thebackupsizemustbegreaterthanorequalto(>=)1.5*XGB.Thisvolumewillbeusedasthestagingvolume.Forthepurposesofthisprocedure,weareusingvolumeE:
whichisreferencedlaterinthisprocedure.
7.CreateafolderonthevolumeyoucreatedinStep6,andthennameitServerBackup.
8.SharethefolderyoucreatedinStep7,andthennameitServerBackup$.Createtheshareusingthefollowingcommandlineoption:
NetshareServerBackup$=e:
\ServerBackup/GRANT:
System,FULL
ConfiguringBackupsforBMR
ToconfiguretheBMRbackup,youcreateaprotectiongroup.Beforeyoucreatetheprotectiongroup,youmustperformthefollowingconfigurationsteps:
Beforeyoucreatetheprotectiongroup
1.Createabatchfilenamedc:
\ServerBackupScripts\win2k8serverbackup.cmd,andthencopythefollowingcodesnippetintothebatchfile.
@echooff
setlocalenabledelayedexpansion
setBACKUP_TARGET=\\%COMPUTERNAME%\ServerBackup$
rd/s/q"%BACKUP_TARGET%\WindowsImageBackup\%computername%"
wbadminstartbackup-backuptarget:
"%BACKUP_TARGET%"-allcritical-quiet
if%ERRORLEVEL%==0(
pushd"%BACKUP_TARGET%\WindowsImageBackup\%computername%"
for/f"tokens=*"%%iin('dir/b/s*.vhd')domove/Y"%%i".
)
2.Openthe%PROGRAMFILES%\MicrosoftDataProtectionManager\DPM\Scripting\ScriptingConfig.xmlfile,andthenaddthefollowingcodesnippet:
”>
"c:
\ServerBackupScripts\win2k8serverbackup.cmd"
90
Note:
The:
inDatasourceNameshouldbethesameasthedriveletterwheretheServerBackup$shareislocated.
Tocreatetheprotectiongroup
1.StarttheCreateNewProtectionGroupWizard.
2.OntheSelectGroupMemberspage,intheAvailablemembersbox,expandtheservernodesto:
\AllShares\ServerBackup$.
3.SelectServerBackup$,andthenclickNext.
4.OntheSelectDataProtectionMethodpage,intheProtectiongroupnamebox,acceptthedefaultnameortypeanewnamefortheprotectiongroup.
5.IntheProtectionpolicysection,selectIwantshort-termprotectionusing,andthenclickNext.
6.OntheSpecifyShort-TermProtectionPolicypage,intheRetentionrangebox,selectthedurationoftimethatyouwantthedatatobeavailableforrecovery.
7.IntheSynchronizationfrequencysection,selectJustbeforearecoverypoint.
8.ClickModifytochangetherecoverypointscheduletokeeponerecoverypointperday.
9.OntheReviewDiskAllocationpage,clickModify.
10.OntheModifyDiskAllocation