소스 검색

some work

Andrea Gus 8 년 전
부모
커밋
3e491bdeaf
1개의 변경된 파일87개의 추가작업 그리고 23개의 파일을 삭제
  1. 87 23
      source/talk.tex

+ 87 - 23
source/talk.tex

@@ -1,5 +1,5 @@
 \documentclass{beamer}
-\usetheme{poul} 
+\usetheme{poul}
 \usepackage[utf8]{inputenc}
 \usepackage[svgpath=images/]{svg}
 
@@ -9,35 +9,99 @@
 \institute{P.O.u.L.}
 \date{23 Marzo 2017}
 \titlegraphic{\includesvg[height=1.5cm]{logowhite}}
- 
- 
+
+
 \begin{document}
- 
+
 \frame{\titlepage}
- 
+
 \begin{frame}
-\frametitle{Why do we need backups?}
-Bad things can happen and do happen:
-        \begin{itemize}
-                \item You may drop your computer.
-                \item The disk may be shaken during a train trip.
-                \item The computer where you keep the only copy of your thesis
-                        may be stolen.
-                \item Or after some time it may be simply age.
-        \end{itemize}                
+  \frametitle{Why do we need backups?}
+  Bad things can happen and do happen:
+  \begin{itemize}
+    \item You may drop your computer accidentally.
+    \item The disk may be damaged by vibrations during the daily train commute.
+    \item The computer where you keep the unique copy of your thesis
+    may be stolen.
+    \item Or after some time it may simply age and stop operating.
+  \end{itemize}
 \end{frame}
 
 \begin{frame}
-        \frametitle{What are backups?}
-        \begin{block}{Definition}
-                The copying and archiving of computer data so that it may be 
-                used to restore the original after a data loss event.
-        \end{block}
-\end{frame}        
+  \frametitle{What are backups?}
+  \begin{block}{Definition}
+    The copying and archiving of computer data so that it may be
+    used to restore the original after a data loss event.
+  \end{block}
+\end{frame}
 
 \begin{frame}
-        \frametitle{What to backup?}
-        It is important to distinguish what it is necessary to backup from what
-        it is not.
+  \frametitle{What to backup?}
+  It is important to distinguish what it is necessary to backup from what
+  it is not.\\
+  Obviously this depends on the setup that you are using (native services, containers, VMs etc...)
 \end{frame}
+
+\begin{frame}
+  \frametitle{A general guideline}
+  Must:
+  \begin{itemize}
+    \item /home
+  \end{itemize}
+  At your discretion:
+  \begin{itemize}
+    \item /etc
+    \item /var
+  \end{itemize}
+  Not necessary\footnote{if these folders contain something important probably you are doing something wrong in your setup}:
+  \begin{itemize}
+    \item /proc /sys /tmp
+    \item /dev /mnt /media
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
+  \framtetitle{Backup types}
+  Backups can be:
+  \begin{itemize}
+    \item \textbf{full}: a complete backup of a all files and folder starting from a root node.
+    \item \textbf{incremental}: contains all the differences since the last incremental backup.
+    \item \textbf{differential} contains the changes since the last full backup.
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
+  \frametitle{Backup Support}
+  \begin{itemize}
+    \item Hard disks (HDD).
+    \item Solid-State drives (SSD).
+    \item Optical supports: DVDs, Blu-ray.
+    \item Flash Drives.
+    \item Cloud\footnote{Remember that there is no cloud, just other people's computers.}.
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
+  \frametitle{dd}
+  \textbf{dd} is a powerful tool that basically can copy everything that is a file or a block device. It is common to use it for disk cloning.\\
+  Usage example:
+  \begin{itemize}
+    \item \textit{dd if=/dev/sdX of=/dev/sdY \&\& sync\footnote{useful to actually wait the end of data transfer and avoid corrupted copies}}
+    \begin{itemize}
+      \textbf{if:} input file/device
+      \textbf{out:} output file/device
+    \end{itemize}
+  \end{itemize}
+  \begin{alertblock}{Caution}
+    Since \textbf{dd} often requires \textit{sudo} privileges to run, if you mismatch the name of a device you can actually wipe the content of your primary hard disk, double check always the arguments before pressing enter.
+  \end{alertblock}
+
+\end{frame}
+
+\begin{frame}
+\end{frame}
+
+\begin{frame}
+\end{frame}
+
 \end{document}