forked from ungleich-public/ccollect
Using source names or interval in pre_/post_exec scripts
This commit is contained in:
parent
abb408a9b2
commit
e8044b6f79
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue