Using source names or interval in pre_/post_exec scripts

This commit is contained in:
Nico Schottelius 2007-08-16 23:50:55 +02:00
parent abb408a9b2
commit e8044b6f79

View file

@ -511,6 +511,17 @@ the user.
Hints
-----
Using source names or interval in pre_/post_exec scripts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The pre-/post_exec scripts can access some internal variables from `ccollect`:
- INTERVAL: The interval specified on the command line
- no_sources: number of sources
- source_$NUM: the name of the source
- name: the name of the currently being backuped source (not available for
generic pre_exec script)
Using rsync protocol without ssh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you have a computer with little computing power, it may be useful to use