\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{landling} \pdfinfo{ /Title (data-protection-manager-dpm.pdf) /Creator (Cheatography) /Author (landling) /Subject (Data Protection Manager (DPM) Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Data Protection Manager (DPM) Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{landling} via \textcolor{DarkBackground}{\uline{cheatography.com/28494/cs/13417/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}landling \\ \uline{cheatography.com/landling} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 6th November, 2017.\\ Updated 6th November, 2017.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Server Installation}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{ac\}\}{\bf{DPM Server Prerequisite}} & \{\{nobreak\}\}Skal være DC eller medlem af AD\{\{nl\}\}\{\{nl\}\}{\bf{Præinstalleret i Server 2012 og nyere}}\{\{nl\}\}Installer C++ 2008 Redistributable.\{\{nl\}\}Windows Installer 4.5 eller nyere.\{\{nl\}\}PowerShell 2.0 eller nyere.\{\{nl\}\}SQL Server (Kan installeres lokalt under installationen).\{\{nl\}\}Microsoft Application Error Reporting.\{\{nl\}\}\{\{nl\}\}{\bf{Installeres manuelt.}}\{\{nl\}\}Installer .net 3.5 via Add Roles and Features.\{\{nl\}\}Aktiver SIS for DPM serveren.\{\{nl\}\} \tn % Row Count 23 (+ 23) % Row 1 \SetRowColor{white} {\bf{Aktivering af Single Instance Store (SIS) via PowerShell}} & \{\{nl\}\}{\bf{For Windows Server 2008 R2:}}\{\{nl\}\}start /wait ocsetup.exe SIS-Limited /quiet /norestart\{\{nl\}\}\{\{nl\}\}{\bf{For Windows Server 2012 og 2012 R2:}}\{\{nl\}\}dism /online \seqsplit{/enable-feature:SIS-Limited} \tn % Row Count 33 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{DPM Konfiguration}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}{\bf{Opret Storage Pool}} & I DPM Administrator Console gå til Management tab og vælg Disks.\{\{nl\}\} Vælg Add fra ribbon i toppen og tilføj en initialiseret disk som ikke er formateret og add den til storage pool. Der kan tilføjes flere disks til en pool og klik Ok.\{\{nl\}\} \tn % Row Count 13 (+ 13) % Row 1 \SetRowColor{white} {\bf{Tilføj Agents der er manuelt installeret}} & I DPM Administrator Console gå til Management tab og vælg Agents.\{\{nl\}\} Tryk på Add i top ribbon og vælg attach agents i stedet for install. \{\{nl\}\} Vælg agentmaskinen på listen eller indtast navnet. \{\{nl\}\} \tn % Row Count 24 (+ 11) % Row 2 \SetRowColor{LightBackground} \{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}{\bf{Opret Protection Group}} & I DPM Administrator Console gå til Protection og vælg New i top ribbon. \{\{nl\}\} Vælg gruppetypen (Client eller Server) \{\{nl\}\} Vælg hvad der skal tages backup af på hvilke maskiner og navngiv gruppen. \{\{nl\}\} Bestem frekvensen af backup og hvor ofte den skal køres, hvor meget plads der skal allokeres og fra hvilken storage pool. \{\{nl\}\} Så bestemmes hvordan data repliceres mellem klientmaskinen og DPM serveren samt hvordan consistency checks skal køres. \{\{nl\}\} {\bf{System State og Bare Metal backups}}\{\{nl\}\} Begge disse kræver rollen Windows Backup Server installeret på klienten for at fungere. \tn % Row Count 55 (+ 31) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Agent Installation}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}\{\{nl\}\}{\bf{Installation af Data Protection Agent via DPM Administrator Console}} & {\bf{Firewall}}\{\{nl\}\}Følgende porte skal være åbne på klienten eller serveren der skal installeres på\{\{nl\}\}{\bf{TCP:}} 135, 139, 5718-5719, 88, 389, 445, 1024-65535\{\{nl\}\}{\bf{UDP:}} 53, 88, 137-138, 389\{\{nl\}\}1024-65535 kan lukkes igen efter installationen.\{\{nl\}\}\{\{nl\}\}{\bf{Agent Installation}}\{\{nl\}\}I DPM Administrator Console gå til Management tab og vælg Agents.\{\{nl\}\}Tryk på Install I top ribbon.\{\{nl\}\}Vælg computere eller tast navn og tryk Add.\{\{nl\}\}Angiv domæne administrator og installer. \tn % Row Count 25 (+ 25) % Row 1 \SetRowColor{white} \{\{nl\}\}{\bf{Manuel installation af Agent}} & Kør setup filen \seqsplit{DPMAgentInstaller.exe.} \{\{nl\}\}Bind agenten på maskinen til DPM server via cmd:\{\{nl\}\}cd c:\textbackslash{}"Program Files"\textbackslash{}"Microsoft Data Protection Manager"\textbackslash{}DPM\textbackslash{}bin\{\{nl\}\}SetDpmServer -dpmServerName {[}FQDN for DPM server{]}\{\{nl\}\}Firewall porte åbnes automatisk i processen. \tn % Row Count 39 (+ 14) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Agent Installation (cont)}} \tn % Row 2 \SetRowColor{LightBackground} {\bf{VMWare server kan ikke tage System State backup. }} & På agentmaskinen laves følgende ændring.\{\{nl\}\}HKEY\_LOCAL\_Machine\textbackslash{}SYSTEM\textbackslash{}CurrentControlSet\textbackslash{}Services\textbackslash{}sok\{\{nl\}\}Ændrer Image path fra:\{\{nl\}\}\textbackslash{}SystemRoot\textbackslash{}system32\textbackslash{}drivers\textbackslash{}vsock.sys\{\{nl\}\}Til:\{\{nl\}\}system32\textbackslash{}drivers\textbackslash{}vsock.sys \tn % Row Count 11 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Funktionsbeskrivelser}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}\{\{nl\}\}\{\{nl\}\}{\bf{Backup Proces}} & Et backupjob oprettes via DPM serveren og udføres lokalt på maskinen der først laver en lokal backup of efterfølgende starter en synkronisering af data mellem serveren og klienten. \{\{nl\}\} Hvis der skal laves Bare Metal eller System State Backup kræver der at klienten udover DPM agenten har Windows Backup Server installeret.\{\{nl\}\} Data placeres i Replica storage på serveren indtil det definerede tidspunkt hvor der skal oprettes recovery points. \{\{nl\}\} Det er først når der er oprettet et recovery point at data kan genskabes på klienten. \{\{nl\}\} \tn % Row Count 27 (+ 27) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Recovery Proces}} \tn % Row 0 \SetRowColor{LightBackground} \{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}{\bf{Restore Bare Metal}} & {\bf{Start Recovery på DPM serveren}}\{\{nl\}\} I DPM Administor Console gå til Recovery\{\{nl\}\} Find Server du vil restore og vælg recovery type og Copy to a network folder\{\{nl\}\} Vælg destination (Best Pratice er at oprette en ny lokation) \{\{nl\}\} Recovery'en starte og du kan tjekke status under Monitoring fanen\{\{nl\}\}\{\{nl\}\} {\bf{Opsætning af Share}}\{\{nl\}\} Naviger til restore lokationen og lokaliser folderen med backuppen i. \{\{nl\}\} Share den folder hvor WindowsImageBackup er i, så root folderen bliver WindowsImageBackup\{\{nl\}\} WindowsImageBackup skal være root folder for at DPM kan restore dataen\{\{nl\}\}\{\{nl\}\}{\bf{Restore backup (Klient)}} \{\{nl\}\} Indsæt installations medie og klik på Repair Computer på Install fanen\{\{nl\}\} Vælg Restore your computer using a system image that you created earlier\{\{nl\}\} Vælg derefter Select a system image -\textgreater{} Advanced -\textgreater{} Search for a system image on the network\{\{nl\}\} Vælg restore point du vil gendanne til og vælg derefter Format and Repartition Disks\{\{nl\}\} \tn % Row Count 50 (+ 50) % Row 1 \SetRowColor{white} \{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}{\bf{Restore System State}} & {\bf{Start Recovery på DPM serveren}}\{\{nl\}\} I DPM Administor Console gå til Recovery\{\{nl\}\} Find Server du vil restore og vælg recovery type og Copy to a network folder\{\{nl\}\} Vælg destination (Best Pratice er at oprette en ny lokation) \{\{nl\}\} Recovery'en starte og du kan tjekke status under Monitoring fanen\{\{nl\}\}\{\{nl\}\} {\bf{Opsætning af Share}}\{\{nl\}\} Giv WSB (Windows Server Backup) rettigheder til System State backup folderen\{\{nl\}\}\{\{nl\}\} {\bf{Restore System State (Klient)}} {\bf{GUI}}\{\{nl\}\} Klik Actions -\textgreater{} Recover -\textgreater{} This Server\{\{nl\}\} Klik Another Server -\textgreater{} Specified Location Type -\textgreater{} Rempte shared folder og angiv sti\{\{nl\}\} Recovery Type = System State\{\{nl\}\} Lokation for System State backup = Original Lokation\{\{nl\}\}\{\{nl\}\} {\bf{CLI}}\{\{nl\}\} Elevated CMD: \{\{nl\}\} {\bf{wbadmin get versions –backuptarget \textless{}servername\textbackslash{}sharename\textgreater{}}}\{\{nl\}\} For at få versions identifier\{\{nl\}\}\{\{nl\}\} {\bf{ wbadmin start systemstaterecovery –version:\textless{}versionidentified\textgreater{} –backuptarget:\textless{}servername\textbackslash{}sharename\textgreater{}}}\{\{nl\}\} Starter System State Backup ud fra Versions Identifier \tn % Row Count 103 (+ 53) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Backup Proces}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/landling_1509985244_IC744508.jpeg}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}