\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{KevinFrost} \pdfinfo{ /Title (backup.pdf) /Creator (Cheatography) /Author (KevinFrost) /Subject (Backup 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{Backup Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{KevinFrost} via \textcolor{DarkBackground}{\uline{cheatography.com/68707/cs/17316/}}} \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}KevinFrost \\ \uline{cheatography.com/kevinfrost} \\ \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 5th October, 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} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Backup plan}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Planlægning}} - Ved planlægning overvej backup størrelse, Båndbredde ved cloud backup, tidsplan, lokation for backup, medie levetid, hvilke filer,samt pris.} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 4 (+ 0) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Vælg det rette software til behovet} \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 5 (+ 0) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Udenævn ansvarlige for backup} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{} \tn % Row Count 6 (+ 0) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Afprøvning af gendannelse} \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{FAT, FAT32 og NTFS}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/andi2ninja_1538554900_guldhammeren_1529487817_2018-06-20 11_41_54-Basic Dynamic Disks.pdf.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{`Ovenstående viser de største forskelle i mellem filsystemer.`} \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}{Opgavestyring}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Man kan administrerer opgaver via. \newline % Row Count 1 (+ 1) $\diamondsuit{}$ GUI (Wbadmin) \newline % Row Count 2 (+ 1) $\diamondsuit{}$ AT\_Kommandoer (Powershell) \newline % Row Count 3 (+ 1) $\diamondsuit{}$ Scheduled opgaver (Task Scheduler)% Row Count 4 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.69218 cm} x{3.28482 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{System State Recovery}} \tn % Row 0 \SetRowColor{LightBackground} System State Recovery & Backup af de vigtigste systemfiler, på Windows vista og op \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} DSRM & Safeboot indstilling der bruges til genskabning i AD'et \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Wbadmin & Bruges til at backup og restore \seqsplit{operativsystemet/indstillinger/filer} \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} ntdsutil & Kan bruges til genskabe AD igennem authoritative restore. \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} adsiedit.msc & Et grafisk værktøj til at oprette/ændre/slettet objekter i ens AD \tn % Row Count 15 (+ 3) % Row 5 \SetRowColor{white} \seqsplit{KeyVersionNumber} & En unik 32 bit kode Domain Controllers har. \tn % Row Count 17 (+ 2) % Row 6 \SetRowColor{LightBackground} Tombstone Lifetime & Det tidsrum et AD objekt kan genskabes efter at have været slettet \tn % Row Count 20 (+ 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}{Startup}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{BCD - En database der indholder boot configuration. Den erstatter boot.ini fra Windows Vista/Server 2008 og bagud.} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{msconfig - Et værktøj med GUI til at administrere boot indstillinger} \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{bcdedit - En kommando i cmd til at configurere BCD databasen.} \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{EasyBCD - Et program lavet at NeoSmart Technologies til at administrere BCD databasen med en GUI} \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{chkdsk - En cmd kommando til at checke og vise status på en disk.} \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Bootsect - Et program til at opdatere master boot sector så den kan flyttes til en anden partition.} \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Bootrec - Et program til at troubleshoote boot sector og andre boot relaterede problemer.} \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Disk Quota}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{File Server Resource Manager - Er en manager indbygget i Server Manager. Kan blandt andet bruges til at styre fileshares.} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Soft Quota - Med dette kan man give en bruger besked om at de har brugt en given grænse af deres tilgængelige plads på deres drev.} \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Hard Quota - Med dette kan man forhindre en bruger i at lægge mere data på et share når deres dataforbrug overstiger en sat grænse.} \tn % Row Count 9 (+ 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}{Vssadmin}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{$\diamondsuit{}$ Kommandobaseret VSS værktøj \newline % Row Count 1 (+ 1) $\diamondsuit{}$ Kan mere end den grafiske brugerflade \newline % Row Count 2 (+ 1) $\diamondsuit{}$ Kommer med Windows Vista og op \newline % Row Count 3 (+ 1) $\diamondsuit{}$ Kan oprette/slette/modifiere shadow copies \newline % Row Count 4 (+ 1) {\bf{Lav en ny volume shadow copy:}} \newline % Row Count 5 (+ 1) `vssadmin create shadow` \newline % Row Count 6 (+ 1) {\bf{Slet shadow copy:}} \newline % Row Count 7 (+ 1) `vssadmin delete shadow` \newline % Row Count 8 (+ 1) {\bf{Slet volume shadow copier:}} \newline % Row Count 9 (+ 1) `vssadmin add shadowstorage` \newline % Row Count 10 (+ 1) {\bf{Slet volume shadow drev associationer:}} \newline % Row Count 11 (+ 1) `vssadmin delete shadowstorage` \newline % Row Count 12 (+ 1) {\bf{Vis registrerede volume shadow copy udbydere:}} \newline % Row Count 13 (+ 1) `vssadmin list providers` \newline % Row Count 14 (+ 1) {\bf{Vis eksisterende volume shadow copier:}} \newline % Row Count 15 (+ 1) `vssadmin list shadowstorage` \newline % Row Count 16 (+ 1) {\bf{Vis volumes der kan have shadow copies:}} \newline % Row Count 17 (+ 1) `vssadmin list volumes` \newline % Row Count 18 (+ 1) {\bf{Vis alle de oprettede volume shadow copies på systemet:}} \newline % Row Count 20 (+ 2) `vssadmin resize shadowstorage`% Row Count 21 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.74655 cm} x{4.23045 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Diske}} \tn % Row 0 \SetRowColor{LightBackground} MBR & (Master Boot Record) Kan have maks 4 partioner, og understøtter diske op til 2TB \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} GPT & (GUID Partition Table) Kan have uendeligt partitioner (max 128 i Windows) \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} Basic & Er diske hvor der ligger primære, extendede volumes, og logiske drev. \tn % Row Count 9 (+ 3) % Row 3 \SetRowColor{white} \seqsplit{Dynamic} & Er diske som kan indeholde \seqsplit{simple/spanned/mirrored/striped} og RAID-5 volumes \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} \seqsplit{Primær} & Den primære partition på en disk \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{Volume} & Enhed til data opbevaring \tn % Row Count 15 (+ 1) % Row 6 \SetRowColor{LightBackground} \seqsplit{Simple} & Indhold som ligger på en disk. \tn % Row Count 16 (+ 1) % Row 7 \SetRowColor{white} \seqsplit{Spanned} & Indhold der er spred ud over 2+ harddiske. \tn % Row Count 18 (+ 2) % Row 8 \SetRowColor{LightBackground} \seqsplit{Striped} & To diske hvor begge indholder 50\%, og vises som en harddisk. \tn % Row Count 20 (+ 2) % Row 9 \SetRowColor{white} \seqsplit{Mirror} & To diske hvor indholdet er spejlet over på hindanden. \tn % Row Count 22 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.64701 cm} x{4.32999 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Raid}} \tn % Row 0 \SetRowColor{LightBackground} RAID0 & Striped volume. Redundans: Hvis der sker fejl på den ene disk, går det ud over hele systemet. Performance: Søgetid bestemmes af de diske som er installere. Overførselshastighed stiger i forhold til antal diske som er installere. \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} RAID1 & Mirror volume. Redundans: Jo flere diske jo bedre. Dette betyder to diske giver dobbelt så høj redundans. Performance: søgetiden forøges tilsvarende antal diske. Overførselshastighed forøges i forhold til antal diske men kun i forhold til at læsninger. Skrivning er af hastigheden på de individuelle diske. \tn % Row Count 17 (+ 10) % Row 2 \SetRowColor{LightBackground} RAID5 & Striped med distribueret parity block. Redundans: Forbedring svarende til 1 divideret med antallet af diske. Performance: Søgetid er den samme som den langsomste som de tilsvarende diske. Skrivning kan være markant langsommere, fordi der ved skrivninger er mindre end en hel RAID blok først skal læses datablokken og en paritetsblok. \tn % Row Count 27 (+ 10) % Row 3 \SetRowColor{white} \seqsplit{RAID10} & Linux' RAID driver har et RAID10 modul, der minder om RAID 1+0, men som kan køre med blot 2 diske, kan bruge et ulige antal diske, kan fordele data på forskellige måder og har en lidt anden ydelsesprofil, bl.a. læsehastighed som RAID0. \tn % Row Count 35 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Raid er ikke backup, men redundancy.} \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}{VSS (Volume Shadow Copy Service)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{$\diamondsuit{}$ Kan gendanne tidligere versioner af filer \newline % Row Count 1 (+ 1) $\diamondsuit{}$ Bruger snapshots \newline % Row Count 2 (+ 1) $\diamondsuit{}$ Gemmer lokalt \newline % Row Count 3 (+ 1) $\diamondsuit{}$ Kan kopiere apps live \newline % Row Count 4 (+ 1) $\diamondsuit{}$ Kan max have 64 shadow copies% Row Count 5 (+ 1) } \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}{VSS Arkitektur}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/kevinfrost_1538556249_img.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}{Shadowcopy timeplan}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{$\diamondsuit{}$ Bruges til at køre backup på et specifikt tidspunkt \newline % Row Count 2 (+ 2) $\diamondsuit{}$ Kan sættes til specifikke datoer \newline % Row Count 3 (+ 1) $\diamondsuit{}$ Kan sættes som gentagene events% Row Count 4 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.34379 cm} x{3.63321 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Diskværktøjer}} \tn % Row 0 \SetRowColor{LightBackground} Disk \seqsplit{Management} & En grafisk version af Diskpart, kan ikke alt det samme. \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Diskpart & Et cmd værktøj til at oprette, slette og ændre volumes. \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}