manual.tex 4.15 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
% This is <manual.tex>
% ----------------------------------------------------------------------------
% $Id$
% 
% Propose: Documentation of csback toolkit.

% Copyright (c) 2011 by Daniel Armbruster (BFO Schiltach) 
% 
% REVISIONS and CHANGES 
%    16/01/2012   V0.1   Daniel Armbruster
% 
% ============================================================================
%
%%fakesection defines 
\documentclass[twoside]{article}
%\usepackage{ngerman}
\usepackage{pslatex}
\usepackage{anysize}
\usepackage{amsmath}
%\usepackage[slantedgreek]{mathtime}
\usepackage{graphicx}
\usepackage{textfit}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{hyperref}
\usepackage[bf,small]{caption}
\usepackage[round,authoryear]{natbib}
\usepackage{xspace}
%----------------------------------------------------------------------
\newcommand{\mytitle}{Documentation csback toolkit}
%----------------------------------------------------------------------
\marginsize{2.5cm}{1.5cm}{1.5cm}{1.5cm}
\pagestyle{fancy}
\rhead[\mytitle]{\thepage}
\lhead[\thepage]{\mytitle}
\chead{}
\rfoot[Blackforest Observatory (BFO), \today]
{Daniel Armbruster}
\lfoot[Daniel Armbruster]{Blackforest Observatory (BFO), \today}
\cfoot{}
\sloppy
\columnsep20pt
%======================================================================
\newcommand{\Smu}{\ensuremath{\mu}}
\newcommand{\SO}{\ensuremath{\Omega}}
\newcommand{\SMO}{\ensuremath{\text{M}\Omega}}
\newcommand{\SkO}{\ensuremath{\text{k}\Omega}}
\newcommand{\EHV}{\ensuremath{\text{V}}}
\newcommand{\EHmA}{\ensuremath{\text{mA}}}
\newcommand{\EHA}{\ensuremath{\text{A}}}
\newcommand{\EHdC}{\ensuremath{^\circ\text{C}}}
\newcommand{\SUo}{\ensuremath{U_{\text{o}}}}
\newcommand{\SRxcc}{\ensuremath{R_{\text{x}19}}}
%======================================================================
\begin{document}
%%fakesection header
\twocolumn[
\mbox{ }\par
\vspace{-1.5cm}
%\hrule
\medskip
{\noindent\Large\textbf{\mytitle}\par}
%\smallskip\hrule
\rule{\textwidth}{1pt}
%\bigskip
\par
\begin{raggedleft}
Daniel Armbruster\\
Blackforest Observatory (BFO)\\
\vspace{3pt}
\today\ (\mbox{\texttt{$$Revision: 0.1 $$}})\par
\end{raggedleft}
\bigskip]
\thispagestyle{plain}
%-------------------------------------------------------------
\tableofcontents
%\listoftables
%\listoffigures
\enlargethispage{12pt}
\section{Overview of \texttt{csback}}
The \texttt{csback} utility is a collection of small python scripts which
provide the possibility to calculate \emph{checksumfiles} and check the
checksums of the corresponding files from time to time. This manual describes
the installation and configuration of \texttt{csback} which was developed by
Daniel Armbruster.

\texttt{csback} was developed both for python2 and python3 and therefore should
be platform independent. Because it uses several already existing unix tools
especially unix users shouldn't have any problems installing \texttt{csback}.
Open Source tools which are used and should be provided or rather installed on
the operating system are:
\begin{itemize}
\item \texttt{cron deamon}
\item \texttt{rsync}
\item \texttt{syslog-ng}
\item \texttt{logrotate}
\end{itemize}
If you are familiar with writing \texttt{crontabs} using other programs
providing the same functionality as the tools mentioned above should be no
obstacle. Additionally make sure to use a current version of your python
interpreter. Privileged are python3 interpreters.

After setting up a \texttt{csback} configuration file the command
\texttt{csback2cron} generates a crontab. The crontab must be added to the
locally installed \texttt{cron deamon} which is responsible for the scheduling
of backing up files, generating checksums and testing the files integrity from
time to time. The \texttt{csback} logging mechanism sends log information and
status notifications to the operating system's system logger i.e.
\texttt{syslog-ng} which writes the reports to logfiles or sends the results to
\emph{stdout} depending of its configuration. If logging to a logfile is desired
the \texttt{csback} logfile checking tool \texttt{csbackntfy} is able to
investigate the logfile and send a report via email to the admin.
\section{Installation}
\section{Configuration}

\end{document}
% ----- END OF manual.tex -----