executeCollect(configPath,
options,
config)
Executes the collect backup action.
-
- Parameters:
configPath -
Path to configuration file on disk.
(type=String representing a path on disk.)
options -
Program command-line options.
(type=Options object.)
config -
Program configuration.
(type=Config object.)
- Raises:
ValueError -
Under many generic error conditions
TarError -
If there is a problem creating a tar file
Note: When the collect action is complete, we will write a collect indicator
to the collect directory, so it's obvious that the collect action has
completed. The stage process uses this indicator to decide whether a peer
is ready to be staged.
|