\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{Emil Alshokr (cynicx)} \pdfinfo{ /Title (backup-gruppe-3.pdf) /Creator (Cheatography) /Author (Emil Alshokr (cynicx)) /Subject (Backup - Gruppe 3 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 - Gruppe 3 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Emil Alshokr (cynicx)} via \textcolor{DarkBackground}{\uline{cheatography.com/71592/cs/18538/}}} \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}Emil Alshokr (cynicx) \\ \uline{cheatography.com/cynicx} \\ \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 16th January, 2019.\\ 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}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{{\bf{MBR - Master Boot Record}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Maks disk størrelse er 2 TB (terabyte) pr. disk.} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Maks 4 partitioner.} \tn % Row Count 2 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{{\bf{GPT - GUID Partion Table}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Op til 128 Partitioner - 124 kan bruges.} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Maks 18 EB (exabytes) disks.} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Supporter 64 bit Windows OS UEFI boot.} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Nyere end MBR.} \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Partitioner}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Basic:}} Maks 4 partitioner.} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Dynamic:}} Der kan ikke installeres styresystem her.} \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Primær:}} Den primære partition.} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Extended:}} Kan opdeles i flere logiske partitioner.} \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Simple:}} En volume placeret på disken.} \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Logisk:}} Volume lavet på extended partition.} \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Spanned:}} Volume spredt på flere forskellige diske.} \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{FAT, FAT32 \& NTFS}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{8.4cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/jonaspo3_1547465364_sean0038_1538644890_222222.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Billedet beskriver de forskellige funktioner, som er tilgængelig for hver type filsystem.} \tn \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}{Startup}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{BCD}} & Boot Configuration Data indstilingsfil, windows opstart. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} {\bf{BCDEDIT}} & bcdedit.exe køres fra kommandoprompten. \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{EASYBCD}} & Et program til redigering af bcd-filer \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} {\bf{MSCONFIG}} & Et program, der ændrer hvilke drivere, programmer og tjenester. \tn % Row Count 11 (+ 4) % Row 4 \SetRowColor{LightBackground} {\bf{CHKDSK}} & Tjekker filsystemet og diske for fejl. \tn % Row Count 13 (+ 2) % Row 5 \SetRowColor{white} {\bf{BOOTSECT}} & Et pogram der ligger på Windows installationsmedier. \tn % Row Count 16 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{BOOTREC}} & Et pogram der ligger på Windows installationsmedier. \tn % Row Count 19 (+ 3) % Row 7 \SetRowColor{white} {\bf{AUTHORITATIVE RESTORE}} & Ved at udføre en authoritative restore, kan man genskabe en domain controller fra en backup. \tn % Row Count 24 (+ 5) % Row 8 \SetRowColor{LightBackground} {\bf{DIRECTORY SERVICES RESTORE MODE}} & Windows Server domain controllere kan startes op i DSRM. \tn % Row Count 27 (+ 3) % Row 9 \SetRowColor{white} {\bf{WBADMIN}} & Wbadmin er et program der bruges til at tage backup af, og genskabe, operativsystemer, indstillinger og filer. \tn % Row Count 33 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Startup (cont)}} \tn % Row 10 \SetRowColor{LightBackground} {\bf{NTDSUTIL}} & Ntdsutil er et kommandolinje program. \tn % Row Count 2 (+ 2) % Row 11 \SetRowColor{white} {\bf{ADSIEDIT.MSC}} & Active Directory Service Interfaces Editor er et program du bruger i et AD. \tn % Row Count 6 (+ 4) % Row 12 \SetRowColor{LightBackground} {\bf{KEY VERSION NUMBERS}} & Key version numbers er 32bit koder, der bruges til at skelne mellem RODC'er i et domæne. \tn % Row Count 11 (+ 5) % Row 13 \SetRowColor{white} {\bf{TOMBSTONE LIFETIME}} & Active Directory objekt kan genskabes efter at have været slettet. \tn % Row Count 15 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Backups}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Filbaseret:}} Archive-bit skal være aktiv på filen.} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Blockbaseret:}} Backup af hele blokke hvor der er foretaget ændringer.} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Full:}} Backup af alt - ligemeget hvad.} \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Incremental:}} Backup af alt siden sidste Full eller Incremental backup.} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Differential:}} Backup som er blevet oprettet eller ændret siden sidste Full eller Incremental backup.} \tn % Row Count 10 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Shadow Copy - Genskaber filer og mapper}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Med VSS kan man tage manuel eller automatisk backup af filer, også selvom de er i brug. \newline % Row Count 2 (+ 2) Der skal være minimum 1 times interval imellem shadow copy \newline % Row Count 4 (+ 2) {\bf{Kommandoer:}} \newline % Row Count 5 (+ 1) {\bf{Vssadmin add shadowstorage}} \newline % Row Count 6 (+ 1) {\emph{Tilføjer en volume shadow copy.}} \newline % Row Count 7 (+ 1) {\bf{Vssadmin delete shadowstorage}} \newline % Row Count 8 (+ 1) {\emph{Sletter volume shadow copy lagerings forbindelser.}} \newline % Row Count 10 (+ 2) {\bf{Vssadmin resize shadowstorage}} \newline % Row Count 11 (+ 1) {\emph{Tilpasser den maksimale størrelse for en shadow copy lagrings forbindelse.}} \newline % Row Count 13 (+ 2) {\bf{Vssadmin create shadow}} \newline % Row Count 14 (+ 1) {\emph{Laver en ny volume shadow copy.}} \newline % Row Count 15 (+ 1) {\bf{Vssadmin delete shadows}} \newline % Row Count 16 (+ 1) {\emph{Sletter volume shadow copies.}} \newline % Row Count 17 (+ 1) {\bf{Vssadmin list providers}} \newline % Row Count 18 (+ 1) {\emph{Lister registrerede volume shadow copy udbydere.}} \newline % Row Count 20 (+ 2) {\bf{Vssadmin list shadowstorage}} \newline % Row Count 21 (+ 1) {\emph{Lister alle shadow copy lagrings forbindelser på systemet.}} \newline % Row Count 23 (+ 2) {\bf{Vssadmin list Volumes}} \newline % Row Count 24 (+ 1) {\emph{Lister volumes der er kvalificeret for shadow copies.}}% Row Count 26 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.72 cm} p{0.72 cm} p{0.72 cm} p{0.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Disk Quota}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{{\bf{FSRM (File Server Ressource Manager):}} Man bruger FSRM til at administrere plads og filtyper, og til at planlægge policy ændringer.} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{4}{x{8.4cm}}{{\bf{Soft Quota:}} Sporer hvor meget plads der bruges, giver en advarsel når du har nået en valgt grænse. uden at afgrænse diskplads.} \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{{\bf{Hard Quota:}} Sporer hvor meget plads bruges, Users kan ikke overskride diskplads grænsen.} \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{4}{x{8.4cm}}{{\bf{Dirquota:}} Værktøj til administration af diskquotas.} \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Raid's}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{RAID 0:}} Er mindst 2 harddiske som bliver stripet - Jo flere diske, jo større chance for fejl. Dør 1 disk mistes alt data. Raid 0 = hurtigere læse- og skrivehastighed, men intet sikkerhed.} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{RAID 1:}} "Spejling" Mindst 2 diske. Data gemmes på Disk 1, og Disk 2 tager en kopi af samme data, så der altid er 2 ens diske. Skulle den ene disk fejle, har man stadig den anden med al data.} \tn % Row Count 8 (+ 4) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{RAID 5:}} Mindst 3 harddiske - Består af paritets blokke som er spredt ud på alle harddiske, så skulle der opstå fejl på den ene harddisk, kan man få dataen fra de resterende harddiske.} \tn % Row Count 12 (+ 4) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{RAID 6:}} Raid 6 er det samme som Raid 5, men har dobbelt så mange paritetsblokke. Det er muligt at genskabe data hvis to diske går ned. Raid 6 kræver min. 4 diske.} \tn % Row Count 16 (+ 4) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{RAID 10 / 1+0 :}} Mindst 4 harddiske. De kører Raid 1 + 0, altså 2 harddiske i Raid 1 som kører raid 0 til 2 andre harddiske i raid 1(stripe + mirror).} \tn % Row Count 20 (+ 4) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{{\bf{Raid 0+1:}} Omvendt af Raid 10/1+0. 2 diske på hver side i Raid 0, som er connected med Raid 1.} \tn % Row Count 22 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\bf{Opsætning af RAID:}} Sker via disk management, højreklik og vælg den raid metode der skal køres.} \tn % Row Count 25 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}