\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{Emil1502} \pdfinfo{ /Title (backup-karsten-kristian-morten-and-emil.pdf) /Creator (Cheatography) /Author (Emil1502) /Subject (Backup - Karsten, Kristian, Morten \& Emil 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 - Karsten, Kristian, Morten \& Emil Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Emil1502} via \textcolor{DarkBackground}{\uline{cheatography.com/78468/cs/19135/}}} \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}Emil1502 \\ \uline{cheatography.com/emil1502} \\ \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 19th March, 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*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Management Options}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Disk Management Tool:}} Grafisk administration af diske} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Disk Part:}} Command-line administration i prompt} \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Andet \newline Tilføj "Disk Management" som snap-in i MMC-konsollen \newline Diskpart.exe indeholder endevidere flere muligheder} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.53827 cm} x{2.43873 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Master Boot Record - MBR}} \tn % Row 0 \SetRowColor{LightBackground} Max diskplads & 2TB \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Max primære partitioner & 4 \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} 3 primære + 1 extended & 3 primære \& 23 logiske \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} Extended(1) & 23 logiske partitioner \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Introduceret i PC-DOS fra 1983} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{3.23505 cm} x{1.74195 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{GUID Partition Tabel - GPT}} \tn % Row 0 \SetRowColor{LightBackground} Max diskplads(teori) & 9.4 ZB eller 8 ZiB \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Max partitioner & 128 partitioner \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Max diskplads(Microsoft) & 256TB \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} Max diskplads (Linux EXT4) & 1EB \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} Max diskplads (Linux/Freebsd ZFS) & 16EB \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Intel teknologi fra 1990erne men i 2010 blev det en del af UEFI teknologien} \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}{Windows Disk Types}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Basic}} er standarden på Windows (skal indeholde én aktiv primær med boot flag, så BIOS kan læse startup-disken)} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Dynamic}} (Windows software RAID). Kan ikke indeholde et styresystem dvs. primær partitionen. Dog kan basic disk konverteres til en dynamic, og herefter ligges OS på disken.} \tn % Row Count 7 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Konvertering}} \newline GUI = Diskmgmt, højreklik på volume,"Convert to Dynamic Disk" \newline CLI =Diskpart, `select \textless{}disk\textgreater{}` skriv `convert \textless{}basic | dynamic\textgreater{}`} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.89586 cm} x{4.08114 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Disk Volumes}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{Simple:} & Single volume på en harddisk \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{Extended:} & Indeholder flere partitioner \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{Spanned:} & Samler flere dynamiske diske til én logisk enhed (fremgår som et drev). Svarer til JBOD. \tn % Row Count 6 (+ 3) % Row 3 \SetRowColor{white} \seqsplit{Stripped:} & Skriver data på flere dynamiske diske på én gang øget I/O \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{Mirrored:} & Spejler data identisk imellem min. 2 diske \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{Partition:}} Disksegmentering der agerer som en separat enhed. Tillader f.eks. installation af flere operativsystemer. \newline {\bf{Volume:}} Gør det muligt at opbevare data på en harddisk, ved at formatere partitionen med et filsystem. Får herefter et drevbogstav.} \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}{Udvidelse af disk}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{CLI}} & `rescan` \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} & `list \textless{}disk/volume\textgreater{} \textless{}number\textgreater{}` \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} & `select \textless{}disk/volume\textgreater{} \textless{}number\textgreater{}` \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} & `extend` \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{GUI}} & Højre-klik på {\bf{Unallocated space}} og følg Extend Wizard \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Disse kommandoer bliver brugt til at extend en volume på disken.} \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}{Disk Status}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Online/offline:}} Om en disk er aktiv eller passiv med læse/skrive rettigheder} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Active:}} Kun én primær partition gives "active" status, denne bruges til at boote systemet (boot flag)} \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Failed Redundancy}} Kritisk fejl på dynamisk RAID setup} \tn % Row Count 7 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.93643 cm} x{2.04057 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Redundant Array of Independent Disk (RAID)}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Funktion}} & {\bf{Max. Disktab}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{RAID-0 (Striping):}} Min. 2 diske. Data bliver fordelt på flere diske, risko øges med antallet af diske {\bf{Redundans:}} Ingen {\bf{Performance:}} Hurtig læse/skrive & 0 \tn % Row Count 9 (+ 8) % Row 2 \SetRowColor{LightBackground} {\bf{RAID-1 (Mirror):}} Min. 2 diske. Spejler data imellem diske, og laver 1-1 kopi. {\bf{Redundans:}} Høj {\bf{Performance:}} Langsom læse/skrive & 50 \% \tn % Row Count 16 (+ 7) % Row 3 \SetRowColor{white} {\bf{Raid-5 (Striping \& redundans):}} Min. 3 diske. Paritetsblokke spredes imellem diskene. {\bf{Redundans:}} Høj {\bf{Performance}} Langsom skrive / Høj læse & 1 (33\% v/ 3 diske, 25\% v/ 4) \tn % Row Count 23 (+ 7) % Row 4 \SetRowColor{LightBackground} {\bf{RAID-10 (Kombi striping og mirror):}} Kræver min. 4 diske. Ved 4 diske bliver der strippet imellem par á 2, og spejler diskene 1-1. Der kan tåles op til dobbelt disk tab i samme par, men ryger 1 disk fra hvert sæt, mistes alt. {\bf{Redundans:}} Høj {\bf{Performance:}} Høj pga. striping & 2 (med 4 disk setup) \tn % Row Count 36 (+ 13) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.93643 cm} x{2.04057 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Redundant Array of Independent Disk (RAID) (cont)}} \tn % Row 5 \SetRowColor{LightBackground} {\bf{JBOD:}} "Just a bunch of drives" er en samling af forskellige diske, der kan samles som et logisk drev eller volume. {\bf{Redundans:}} Ingen {\bf{Performance:}} Langsom (ingen striping) & 0 \tn % Row Count 8 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Kort oversigt over populære RAID typer.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.44333 cm} x{3.53367 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{RAID Tips}} \tn % Row 0 \SetRowColor{LightBackground} Hastighed & Afgøres ud fra {\bf{langsomste}} disk \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Str. disk i RAID & {\bf{Mindste}} disk afgøre størrelsen for hver deltagende disk i RAID'et \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} "Hot Spare" & Bruges i RAID 5+. Er en standby disk, der er klar til at blive skrevet på i tilfælde af "failed RAID". Volume bliver genopbygget på denne \tn % Row Count 10 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.9908 cm} x{2.9862 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{RAID - kommandoer}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{`create volume raid size=1000 disk=1,2,3`} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} `size=\textless{}n\textgreater{}` & Størrelsen af partitionen \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} `disks=\textless{}n\textgreater{},\textless{}n\textgreater{},\textless{}n\textgreater{}` & Diskene der skal være RAID 5 \tn % Row Count 5 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Opretter en RAID 5 volume på 1000 MB på disk 1,2 og 3} \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}{System State Recovery}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Authoritative Restore:}} Genskaber AD data (objects) via `Ntdsutil` kommando} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Tombstone Lifetime:}} "reanimerer" slettede objekter fra AD i en object container inden for sat bufferperiode} \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{DSRM:}} Safe boot option - domain controllers} \tn % Row Count 6 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Wbadmin:}} Backup utility i AD miljø} \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Ntdsutil:}} Maintenance af ADDS databaser} \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{KeyVersionNumber:}} Attribut for Kerberos version - user nøgle} \tn % Row Count 10 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Adsiedit.msc:}} LDAP editor/management attributter/objekter I AD DS} \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Backup via wbadmin: \newline {\emph{wbadmin enable / disable backup}} (Auto) \newline {\emph{wbadmin start / stop backup}} (Manual) \newline + task Scheduler = Scheduled backup \newline {\emph{-include}} (Volumer) \newline {\emph{-backupTarget}} (Backup location) \newline {\emph{wbadmin start systemstatebackup}} (system)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.84609 cm} x{4.13091 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Startup}} \tn % Row 0 \SetRowColor{LightBackground} BCD & Boot Configuration Data \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{BCDedit} & CLI kontrol af Boot Configuration Data \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{chkdsk} & Kontrollerede program for metadata på en volume \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{bootsect} & Sætter boot code på diske \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \seqsplit{bootrec} & Reparation af partition \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} \seqsplit{EasyBCD} & Et program fra NeoSmart Technologies. Enkelt at restore \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{chkdsk /f c: Tjek bad sectors \newline chkdsk /r c: Bedre scan og tager længer tid \newline bootrec /rebuildbcd søger efter windows installation} \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}{Shadow Copy Facts}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Microsoft Volume Shadow Copy Service (VSS) tager backup af filer, også af åbne filer brugt i anden process. VSS laver et "øjebliksbillede af diskenheden".} \tn % Row Count 4 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.4977 cm} p{0.4977 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Shadow Copy}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Tager automatisk kopier af filer, ved regulære intervaller} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Shadow Copies er aktiv på et volume, ikke på filer eller foldere} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Et system kan max have 64 Shadow Copies} \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Brug af Shadow Copy påvirker ikke andre backup metoder} \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Brug ikke Shadow Copy på volumener, der bruger mount points} \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{5.377cm}}{Sæt ikke Shadow Copy til at tage backup mere end 1 gang i timen} \tn % Row Count 11 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Kommandoer: \newline `Vssadmin add shadowstorage` \newline `Vssadmin delete shadowstorage` \newline `Vssadmin resize shadowstorage` \newline `Vssadmin create shadow` \newline `Vssadmin delete shadows` \newline `Vssadmin list providers` \newline `Vssadmin list shadowstorage` \newline `Vssadmin list 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}{VSS Grafical Example}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/emil1502_1552982234_Skærmbillede 2019-03-19 kl. 08.54.28.png}}} \tn \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}{Filesystems}} \tn % Row 0 \SetRowColor{LightBackground} NTFS & New Technology File System(Journal meta data) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} FAT & File Allocation Table 16Bit \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} FAT32 & File Allocation Table 32Bit \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} ReFS & Resilient File System (Next generation fil system) \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} EXT4 & Fourth Extended Filesystem(Journal Meta data) \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} ZFS & Zettabyte File System (Next generation fil system) \tn % Row Count 11 (+ 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}{Filesystem Features}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/emil1502_1552911085_Skærmbillede 2019-03-18 kl. 13.10.25.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}{Full, incremental or differential - comparison}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/emil1502_1552911379_Skærmbillede 2019-03-18 kl. 13.14.17.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}{Disk Quota}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{FSRM:}} File Server Ressource Manager er en rolle i Windows Server. Styrer bla. diskquotas, file screening og fil klassificeringer. {\bf{Bemærk!}} Virker kun ved NTFS volumer} \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Soft Quota:}} Pladsbegrænsning for brugeren. Ingen fysiske restriktioner. Notificerer admin og brugeren, men foretager ingen handlinger} \tn % Row Count 7 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Hard Quota:}} Forhindrer brugeren i at skrive på disken automatisk. Betragtes "hard" da den er konsekvent og restriktiv.} \tn % Row Count 10 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Dirqouta:}} Utillity til at arbejde med diskquotas {\emph{dirquota.exe}}} \tn % Row Count 12 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Templates:}} Definerer diskquota skabeloner der kan anvendes f.eks. i et AD} \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{File Screening:}} Bestemmer filtypen samt størrelsen som brugere kan opbevare på filserveren f.eks. MP3, ZIP m.v.} \tn % Row Count 17 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Eksempel på CLI konfig: \newline {\emph{Her laves en template der begrænser med hard quota}} \newline dirquota template add /template:"Home 1 GB" /limit:1GB /type:hard \newline \newline {\emph{Templaten gives til en bestemt folder}} \newline dirquota quota add /path:"D:\textbackslash{}Data\textbackslash{}Users\textbackslash{}Home\textbackslash{}UserA" /sourcetemplate:"Home 1 GB"} \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 Types}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Full:}} Komplet kopi af systemet. Kræves før nedenstående.} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Incremential:}} Kopi af ændringer i systemet {\bf{fordele:}} {\emph{hurtig}}, {\emph{lavt pladsforbrug}}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Differential:}} Kopierer alle ændringer siden 1. full-backup kontinuerligt.Vil optage {\emph{mere plads}} og er mere {\emph{tidskrævende}}} \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Filniveau:}} Backup af enkelte filer, her sættes filattributten "achieve-bit" til at være checked} \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Blockniveau}} Er typisk fulde image backups (af hele disken). Snapshots af VM er et godt eksempel. Kigger på ændrede blokke på disken.} \tn % Row Count 13 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Strategier: {\emph{Full daily}}, {\emph{Full weekly + Differential daily}}, {\emph{Full weekly + Incremental daily}} \newline \newline Nedenstående er et super eksempel på den totale datamængde over 22 dage.} \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}{Impact Backup Plan}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/emil1502_1552936223_Skærmbillede 2019-03-18 kl. 20.08.15.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.24425 cm} x{3.73275 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Windows Backup Media}} \tn % Row 0 \SetRowColor{LightBackground} Local Disk & Foretager backup på indbygget disk. Disken kan ikke ses i Explorer. Backup af Full server, Critical volumer, Non-critical og inviduelle filer og mapper \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} External Disk & Samme som lokal disk. Bliver formateret før brug \tn % Row Count 8 (+ 2) % Row 2 \SetRowColor{LightBackground} Shared Folder & Backup til netværksdelt mappe. Bliver ikke incremeret gemt, men erstatter tidligere backup \tn % Row Count 12 (+ 4) % Row 3 \SetRowColor{white} DVD & Kan kun gendanne volumes, ikke enkelte filer eller mapper \tn % Row Count 14 (+ 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}{Schedule VSS GUI}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/emil1502_1552998029_Skærmbillede 2019-03-19 kl. 13.18.23.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}{GUI Setting VSS On Volume}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Åben egenskaber for Shadow Copies. Vælg "settings" -{}-\textgreater{} "Schedule", definer dage og hyppighed for kopiering af volumeændringer} \tn % Row Count 3 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}