Minor documentation changes
This commit is contained in:
parent
8be1535793
commit
96b6876326
4 changed files with 14 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
||||||
0.3.1 to 0.3.2:
|
0.3.1 to 0.3.2:
|
||||||
* added ?
|
* ccollect now prints the start time, end time and duration of the backup
|
||||||
|
|
||||||
0.3 to 0.3.1:
|
0.3 to 0.3.1:
|
||||||
* added support for printing a summary
|
* added support for printing a summary
|
||||||
|
|
8
doc/TODO
8
doc/TODO
|
@ -1,19 +1,18 @@
|
||||||
- update documentation:
|
- update documentation:
|
||||||
- exit pre/post exec -> error codes (after implementation!)
|
- exit pre/post exec -> error codes (after implementation!) (in 0.4)
|
||||||
- summary support -> release 0.3.1
|
|
||||||
- write mkccollectconfig
|
- write mkccollectconfig
|
||||||
o create source configuration
|
o create source configuration
|
||||||
o another script for changing defaults
|
o another script for changing defaults
|
||||||
x intervalls
|
x intervalls
|
||||||
x pre-/post exec
|
x pre-/post exec
|
||||||
o dialog based?
|
o (X)dialog based
|
||||||
|
|
||||||
- implement pre- and post-exec commands
|
- implement pre- and post-exec commands
|
||||||
o what to do with return values?
|
o what to do with return values?
|
||||||
|
-> Check them, abort on error
|
||||||
|
|
||||||
- Documentation
|
- Documentation
|
||||||
- write/generate a manpage
|
- write/generate a manpage
|
||||||
- rsync_options \n seperated
|
|
||||||
|
|
||||||
|
|
||||||
DONE
|
DONE
|
||||||
|
@ -29,6 +28,7 @@ DONE
|
||||||
- write a simple manual
|
- write a simple manual
|
||||||
- Hints section
|
- Hints section
|
||||||
- add note to --exclude=/proc/ vs. --exclude=/proc/*
|
- add note to --exclude=/proc/ vs. --exclude=/proc/*
|
||||||
|
- rsync_options \n seperated
|
||||||
- implement pre- and post-exec commands
|
- implement pre- and post-exec commands
|
||||||
o For the general backup process
|
o For the general backup process
|
||||||
o source specific
|
o source specific
|
||||||
|
|
|
@ -392,17 +392,16 @@ This number defines how many versions of this intervall to keep.</p>
|
||||||
<em>/etc/ccollect/defaults/<tt>pre_exec</tt></em> (same with <tt>post_exec</tt>), <tt>ccollect</tt>
|
<em>/etc/ccollect/defaults/<tt>pre_exec</tt></em> (same with <tt>post_exec</tt>), <tt>ccollect</tt>
|
||||||
will start <tt>pre_exec</tt> before the whole backup process and
|
will start <tt>pre_exec</tt> before the whole backup process and
|
||||||
<tt>post_exec</tt> after backup of all sources is done.</p>
|
<tt>post_exec</tt> after backup of all sources is done.</p>
|
||||||
<p>Example:</p>
|
<p>The following Example describes how to report free disk space in
|
||||||
|
human readable format before and after the whole backup process:</p>
|
||||||
<div class="listingblock">
|
<div class="listingblock">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<pre><tt>[13:00] hydrogenium:~# mkdir -p /etc/ccollect/defaults/
|
<pre><tt>[13:00] hydrogenium:~# mkdir -p /etc/ccollect/defaults/
|
||||||
[13:00] hydrogenium:~# echo '!/bin/sh' > /etc/ccollect/defaults/pre_exec
|
[13:00] hydrogenium:~# echo '!/bin/sh' > /etc/ccollect/defaults/pre_exec
|
||||||
[13:01] hydrogenium:~# echo '' > /etc/ccollect/defaults/pre_exec
|
[13:01] hydrogenium:~# echo '' >> /etc/ccollect/defaults/pre_exec
|
||||||
[13:01] hydrogenium:~# echo '!/bin/sh' > /etc/ccollect/defaults/pre_exec
|
[13:01] hydrogenium:~# echo 'df -h' >> /etc/ccollect/defaults/pre_exec
|
||||||
[13:01] hydrogenium:~# echo '' >> /etc/ccollect/defaults/pre_exec
|
|
||||||
[13:01] hydrogenium:~# echo 'df -h' >> /etc/ccollect/defaults/pre_exec
|
|
||||||
[13:01] hydrogenium:~# chmod 0755 /etc/ccollect/defaults/pre_exec
|
[13:01] hydrogenium:~# chmod 0755 /etc/ccollect/defaults/pre_exec
|
||||||
[13:01] hydrogenium:~# cp /etc/ccollect/defaults/pre_exec /etc/ccollect/defaults/post_exec</tt></pre>
|
[13:01] hydrogenium:~# ln -s /etc/ccollect/defaults/pre_exec /etc/ccollect/defaults/post_exec</tt></pre>
|
||||||
</div></div>
|
</div></div>
|
||||||
<h3>4.3. Source configuration</h3>
|
<h3>4.3. Source configuration</h3>
|
||||||
<p>Each source configuration exists below <em>$CCOLLECT_CONF/sources/$name</em> or
|
<p>Each source configuration exists below <em>$CCOLLECT_CONF/sources/$name</em> or
|
||||||
|
@ -711,7 +710,7 @@ even a good idea when thinking of security) add the <tt>destination</tt>
|
||||||
to <em>source/exclude</em>. (Daniel Aubry reported this problem)</p>
|
to <em>source/exclude</em>. (Daniel Aubry reported this problem)</p>
|
||||||
<h3>6.3. Why does ccollect say "Permission denied" with my pre-/postexec script?</h3>
|
<h3>6.3. Why does ccollect say "Permission denied" with my pre-/postexec script?</h3>
|
||||||
<p>The most common error is to not give your script the correct
|
<p>The most common error is to not give your script the correct
|
||||||
permissions. Try <tt>chmod 0755 <em>/etc/ccollect/sources/yoursource/*_exec</em></tt>.</p>
|
permissions. Try <tt>chmod 0755 /etc/ccollect/sources/<em>yoursource</em>/*_exec</tt>`.</p>
|
||||||
</div>
|
</div>
|
||||||
<h2>7. Examples</h2>
|
<h2>7. Examples</h2>
|
||||||
<div class="sectionbody">
|
<div class="sectionbody">
|
||||||
|
@ -813,7 +812,7 @@ the hardlinks allocate.</p>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Version 0.3.1<br />
|
Version 0.3.1<br />
|
||||||
Last updated 27-Jan-2006 22:01:39 CEST
|
Last updated 27-Jan-2006 23:07:06 CEST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -445,7 +445,7 @@ to 'source/exclude'. (Daniel Aubry reported this problem)
|
||||||
Why does ccollect say "Permission denied" with my pre-/postexec script?
|
Why does ccollect say "Permission denied" with my pre-/postexec script?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
The most common error is to not give your script the correct
|
The most common error is to not give your script the correct
|
||||||
permissions. Try `chmod 0755 '/etc/ccollect/sources/yoursource/*_exec'`.
|
permissions. Try `chmod 0755 /etc/ccollect/sources/'yoursource'/*_exec``.
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
|
Loading…
Reference in a new issue