export destination_* for usage in post_exec in documentate it
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
375f9ebafe
commit
c314f284a2
2 changed files with 9 additions and 3 deletions
|
|
@ -599,6 +599,12 @@ respectively after doing the backup for *this specific* source.
|
|||
If you want to have pre-/post-exec before and after *all*
|
||||
backups, see above for general configuration.
|
||||
|
||||
The `post_exec` script can access the following exported variables from
|
||||
ccollect:
|
||||
|
||||
- destination_name: contains the base directory name (`daily.20091031-1013.24496`)
|
||||
- destination_dir: full path (`/tmp/ccollect/daily.20091031-1013.24496`)
|
||||
- destination_full: like 'destination_dir', but prepended with the remote_host, if set (`host:/tmp/ccollect/daily.20091031-1013.24496` or `/tmp/ccollect/daily.20091031-1013.24496`)
|
||||
|
||||
Example:
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue