|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
User hooks are shell functions executed before and after
tar invocation. Thus, there are backup
hooks, which are executed before and after dumping each file
system, and restore hooks, executed before and
after restoring a file system. Each user hook is a shell function
taking four arguments:
Its arguments are:
Current backup or restore level.
Name or IP address of the host machine being dumped or restored.
Full file name of the file system being dumped or restored.
File system name with directory separators replaced with colons. This is useful, e.g., for creating unique files.
Following variables keep the names of user hook functions:
Dump begin function. It is executed before dumping the file system.
Executed after dumping the file system.
Executed before restoring the file system.
Executed after restoring the file system.
This document was generated by Sergey Poznyakoff on December, 17 2017 using texi2html 1.76.