\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{Nicholade} \pdfinfo{ /Title (backup-cheat.pdf) /Creator (Cheatography) /Author (Nicholade) /Subject (Backup Cheat 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}{48AFDB} \definecolor{LightBackground}{HTML}{F3FAFC} \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{Backup Cheat Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Nicholade} via \textcolor{DarkBackground}{\uline{cheatography.com/62330/cs/16012/}}} \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}Nicholade \\ \uline{cheatography.com/nicholade} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 7th June, 2018.\\ 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*}{3} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Managing Diske}} \tn % Row 0 \SetRowColor{LightBackground} MBR & Master Boot Record \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} GPT & GUID Partition Table \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Basic Disk & Limit til 4 partitioner \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} Dynamic Disk & Kan ikke installeres styresystem på disken \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{MBR: \newline 4 partitioner på hver 2 TB, 2 gb filer \newline \newline GPT: \newline 128 partitioner på hver 128 TB, 8 gb filer} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Hypervisor}} \tn % Row 0 \SetRowColor{LightBackground} Host OS & Hyper-V på Windows Server 2016 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Server OS & Windows Server 2016 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} Klient OS & Windows 10 Pro \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} Install CentOS (Linux) & Kun generation 1 supportet \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.84149 cm} x{3.13551 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{System State Data}} \tn % Row 0 \SetRowColor{LightBackground} Standard størrelse & 9-11GB \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Backup af opstartsfiler & Systemfiler og filer beskyttet med WFP inkl. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Backup af AD & Kun på Domain Controller \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Certfikater & Kun på CA server \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} IIS-data & Kun på IIS server \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} Cluster database & Kun på et cluster \tn % Row Count 9 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Backuphåndtering}} \tn % Row 0 \SetRowColor{LightBackground} Direkte tilgængelig & Hurtig adgang, dyrere \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} I nærheden & Tilsluttes mekanisk efter behov \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Offline & Fx. tape-backup, kræver fysisk tilslutning \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Sekundær lokation & Et eksternt mirrored datacenter \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.14011 cm} x{2.83689 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Windows Backup Service}} \tn % Row 0 \SetRowColor{LightBackground} Schedule Backup & Opsætning til at lave en planlagt backup \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Backup Once & Kører en enkelt backup \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Recover & Restore fra en backup \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Configure Performance Settings & Ændrer performance indstillinger for backups \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.74195 cm} x{3.23505 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Metadata}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Systembeskrivelse} & Dokumentation for systemkonfiguration \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Boot sector & Plads på disk til systemopstart \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Partition layout & Oversigt over partitionstabeller \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Filbaseret metadata & Filrettigheder inkl. accesslister \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} Systembaseret metadata & Info fra registreringsdatabasen (fx keys) \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.14471 cm} x{3.83229 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Opbevaringsmuligheder}} \tn % Row 0 \SetRowColor{LightBackground} Full & Fuld backup, ændrer archive bit \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Copy & Fuld backup, rører ikke archive bit \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Incremental} & Fuld + daglig tillægs backup (fjerner archive bit) \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{Differential} & Fuld + daglig fuld tillægs backup \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.89126 cm} x{3.08574 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Software RAID}} \tn % Row 0 \SetRowColor{LightBackground} Cost & Low \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Styring & Operativsystem \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Disktype påkrævet & SCSI \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} Administration & Via software i operativsystemet \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Hardware RAID}} \tn % Row 0 \SetRowColor{LightBackground} Cost & High \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Styring & Fysisk Controller \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Administration & Eksternt fra host OS \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Disktype & IDE, SCSI \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.9954 cm} x{3.9816 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{RAID-typer}} \tn % Row 0 \SetRowColor{LightBackground} Raid 0 & Striped volume \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Raid 1 & Mirror volume \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Raid 2 & Striped with bit-level Hamming code for error correction \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} Raid 3 & Striping with a parity disk \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} Raid 4 & Striped with dedicated parity block level \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} Raid 5 & Striped with distributed parity block \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} Raid 6 & Striped with two distributed parity blocks \tn % Row Count 11 (+ 2) % Row 7 \SetRowColor{white} Raid 0 + 1 & Block-level striping and mirroring without parity \tn % Row Count 13 (+ 2) % Row 8 \SetRowColor{LightBackground} Raid 10 & Mirroring without parity and block-level striping \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Only dynamic disks support extended, spanned, striped, mirrored, or RAID \newline volumes.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Backup Path}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nicholade_1528359111_Backup billede.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.94103 cm} x{3.03597 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Command Prompt - wbadmin}} \tn % Row 0 \SetRowColor{LightBackground} Enable backup & Create or modifies a backup schedule \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Disable backup & Disable the schedule backups \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Start backup & runs a one-time backup \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Stop job & Stops the running backup \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} Get disk & Lists the disks that are currently online \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} Get items & Lists the items contained in a backup \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} Start system staterecovery & Runs a system state recovery \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} Start system statebackup & Runs a system state backup \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} Delete system statebackup & Deletes one or more system states backups \tn % Row Count 16 (+ 2) % Row 9 \SetRowColor{white} Delete backup & Deletes one or more backups \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.54747 cm} x{4.42953 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Filsystemer}} \tn % Row 0 \SetRowColor{LightBackground} FAT32 & HDD Ikke større end 8 TB, filer 4GB, bruges af Windows, Mac og Linux \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} exFAT & Bruges i flashdrev og SD kort \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} NTFS & Bruges kun i Windows, mulighed for kryptering \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} ReFS & Bruges til Windows Server, nemt at udvide \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} EXT4 & Anvendes kun i Linux, Volumer op til 1 EIB, filer 16 TiB \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.33919 cm} x{2.63781 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Volume Shadow Copy}} \tn % Row 0 \SetRowColor{LightBackground} Versionstyring af filer & Op til 64 ældre versioner \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Aktiveret på volumeniveau} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \seqsplit{Snapshot-hyppighed} & 2 stk. alle hverdage (standard) \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Del af disk afsat til backup & 10\% (standard) \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Opbevaringsmuligheder (cont)}} \tn % Row 0 \SetRowColor{LightBackground} Differential & Fuld backup + en en enkelt tillægsbackup (fjener ikke archive bit) \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Ustruktureret & Tilfældig backup, fx på cd'er \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} Kontinuerlig databeskyttelse & Realtime log af ændringer på block el. byte-niveau \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} System image & Backup af fungerende system til recovery el. nemlig udrulning \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} Reverse data-arkiv & Synk af fuld backup og live resynk af ændringer \tn % Row Count 14 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Optimize Backup Performance}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nicholade_1528282687_Backup billede.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Specify Backup Time}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nicholade_1528282901_Backup billede 2.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Backup Path}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/nicholade_1528359150_Backup billede.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}