ajout verbatims
This commit is contained in:
parent
a159d49073
commit
6312096f5e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
*.pdf
|
||||
*.vrb
|
||||
*.aux
|
||||
*.log
|
||||
*.nav
|
||||
|
129
main.tex
129
main.tex
@ -8,19 +8,32 @@
|
||||
\usepackage[absolute, overlay]{textpos} % Arbitrary placement
|
||||
\setlength{\TPHorizModule}{\paperwidth} % Textpos units
|
||||
\setlength{\TPVertModule}{\paperheight} % Textpos units
|
||||
%\usepackage{listings} %liste
|
||||
\usepackage{listings} %verbatim
|
||||
|
||||
%theme lstlistings
|
||||
\lstdefinestyle{lstjj}{
|
||||
backgroundcolor=\color{uibgreen},
|
||||
%basicstyle=\scriptsize,
|
||||
basicstyle=\tiny,
|
||||
breaklines=true,
|
||||
texcl=true,
|
||||
literate={é}{{\"e}}1
|
||||
{à}{{\"a}}1
|
||||
}
|
||||
\lstset{style=lstjj}
|
||||
|
||||
%Information to be included in the title page:
|
||||
%title page:
|
||||
\title{Backups}
|
||||
\author{Jjck \& Joseki}
|
||||
\author{Jeanjack \& Joseki}
|
||||
\institute{FUZ}
|
||||
\date{nov. 2023}
|
||||
|
||||
|
||||
%%
|
||||
% Ceci est un exemple du template FUZ pour beamer, il est (vraiment) très grandement inspiré de celui de l'UiB
|
||||
%%
|
||||
|
||||
\begin{document}
|
||||
%\setbeamercolor{background canvas}{bg=fuzgray}
|
||||
|
||||
\begin{frame}
|
||||
\frametitle{intro}
|
||||
\begin{block}{quote}
|
||||
@ -35,7 +48,6 @@
|
||||
\item Retrouver un état antérieur ( bourde, upgrade, etc... )
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
% Ceci est un exemple du template FUZ pour beamer, il est (vraiment) très grandement inspiré de celui de l'UiB
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
@ -126,6 +138,7 @@
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\begin{block}{Exemple}
|
||||
\begin{itemize}
|
||||
@ -133,28 +146,89 @@
|
||||
\item On lance les copies automatiquement (cron ou timer systemd)
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
% \begin{block}{roulement}
|
||||
% \begin{itemize}
|
||||
% \item compression
|
||||
% \item déduplication
|
||||
% \item chiffrement
|
||||
% \item conservation roulante
|
||||
% \item borgbackup fonctionne par dépôt, stockage final "peu important"
|
||||
% \end{itemize}
|
||||
% \end{block}
|
||||
%\end{frame}
|
||||
%\begin{frame}
|
||||
% \begin{block}{roulement}
|
||||
% \begin{tabular}{|l|r|}
|
||||
% Nombre backups & Période \\
|
||||
% \hline
|
||||
% 24 & jour \\
|
||||
% 7 & semaine \\
|
||||
% 4 & mois \\
|
||||
% 12 & année \\
|
||||
% \end{tabular}
|
||||
% \end{block}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{synchronisation}
|
||||
\begin{block}{rsync}
|
||||
\begin{itemize}
|
||||
\item un grand classique, présent presque partout, dépends de SSH
|
||||
\item permet de ne pas retransférer des fichier déjà existant
|
||||
\item synchronisation : on perds les éditions précédentes
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
\begin{block}{rclone}
|
||||
\begin{itemize}
|
||||
\item rsync évolué
|
||||
\item transfert vers "cloud" : dropbox, google drive, webDAV etc...
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]%{roulement}
|
||||
\begin{block}{borgbackup}
|
||||
\begin{itemize}
|
||||
\item beaucoup de features
|
||||
\item revenir à un état précédent tout en évitant de prendre trop d'espace disque
|
||||
\item fonctionnement par "dépôts"
|
||||
\end{itemize}
|
||||
\begin{lstlisting}
|
||||
Creating archive at "/data/backup/grolem::grolem-2023-10-30"
|
||||
------------------------------------------------------------------------------
|
||||
Repository: /data/backup/grolem
|
||||
Archive name: grolem-2023-10-30
|
||||
Time (start): Mon, 2023-10-30 03:00:03
|
||||
Time (end): Mon, 2023-10-30 03:00:22
|
||||
------------------------------------------------------------------------------
|
||||
Original size Compressed size Deduplicated size
|
||||
This archive: 3.60 GB 1.93 GB 184.49 kB
|
||||
All archives: 20.18 GB 10.79 GB 1.24 GB
|
||||
|
||||
Unique chunks Total chunks
|
||||
Chunk index: 62784 741059
|
||||
------------------------------------------------------------------------------
|
||||
Keeping archive (rule: weekly #1): grolem-2023-10-30 Mon, 2023-10-30 03:00:03 [66ff9009686bdb24e2b602f67ecd59f4463b7518aac8f9d62f387ca70f43726e]
|
||||
Keeping archive (rule: weekly #2): grolem-2023-10-29 Sun, 2023-10-29 03:00:02 [f309d84b1d127fee5e6a05ef65df2458d72ef874a4a93756a9819231ed9ad8a2]
|
||||
Pruning archive (1/1): grolem-2023-10-22 Sun, 2023-10-22 03:00:04 [fd4923bc1eaaae348870219d7d232138e5065adaaa66dd6fe9b84d87f01b05fa]
|
||||
Keeping archive (rule: monthly #1): grolem-2023-09-30 Sat, 2023-09-30 03:00:03 [c09faa0dc065283492cd7d29afbd61096c04c11641afc601afd512ba35b99403]
|
||||
Keeping archive (rule: monthly #2): grolem-2023-08-31 Thu, 2023-08-31 03:00:03 [29e872676ffb3befc569912aedbde0aff95aee4611276195a67e64e6c57564da]
|
||||
Keeping archive (rule: monthly #3): grolem-2023-07-31 Mon, 2023-07-31 03:00:03 [639ff1e8d401b0c81be6487053cc4c150fcee802210084f3f3560bf0f85e2a15]
|
||||
Keeping archive (rule: monthly #4): grolem-2023-06-30 Fri, 2023-06-30 03:00:02 [bb17a1108891315838443b05388775cdf127204276e27751e33a00e1e378c27d]
|
||||
\end{lstlisting}
|
||||
\end{block}
|
||||
\end{frame}
|
||||
\begin{frame}[fragile]
|
||||
\begin{block}{burp}
|
||||
\begin{itemize}
|
||||
\item proche borgbackup mais utilise un serveur de backup central
|
||||
\item "timer" + heure à laquelle le serveur opère : le serveur décide de si c'est le môment de faire un backup
|
||||
\end{itemize}
|
||||
\begin{lstlisting}
|
||||
--------------------------------------------------------------------------------
|
||||
Start time: 2023-02-27 18:05:01
|
||||
End time: 2023-02-27 23:53:14
|
||||
Time taken: 05:48:13
|
||||
New Changed Duplicate Deleted Total | Scanned
|
||||
------------------------------------------------------------
|
||||
Files: 0 6 12 0 18 | 18
|
||||
Meta data: 6 0 0 6 6 | 6
|
||||
Directories: 0 0 1 0 1 | 1
|
||||
Grand total: 6 6 13 6 25 | 25
|
||||
------------------------------------------------------------
|
||||
|
||||
Messages: 0
|
||||
Warnings: 0
|
||||
|
||||
Bytes estimated: 209214636032 (194.85 GB)
|
||||
Bytes in backup: 209214637062 (194.85 GB)
|
||||
Bytes received: 1873139099 (1.74 GB)
|
||||
Bytes sent: 19359725 (18.46 MB)
|
||||
--------------------------------------------------------------------------------
|
||||
2023-02-27 23:53:14 +0100: burp[335114] Backup completed.
|
||||
\end{lstlisting}
|
||||
\end{block}
|
||||
\end{frame}
|
||||
|
||||
|
||||
\begin{frame}
|
||||
\begin{block}{Conclusion}
|
||||
\begin{itemize}
|
||||
@ -166,4 +240,5 @@
|
||||
\end{itemize}
|
||||
\end{block}
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
||||
|
Loading…
Reference in New Issue
Block a user