Package CedarBackup2 :: Package actions :: Module collect
[show private | hide private]
[frames | no frames]

Module CedarBackup2.actions.collect

Implements the standard 'collect' action.

Author: Kenneth J. Pronovici <pronovic@ieee.org>

Function Summary
  executeCollect(configPath, options, config)
Executes the collect backup action.

Variable Summary
Logger logger = <logging.Logger instance at 0x402c494c>

Function Details

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.


Variable Details

logger

Type:
Logger
Value:
<logging.Logger instance at 0x402c494c>                                

Generated by Epydoc 2.1 on Thu Mar 29 20:58:26 2007 http://epydoc.sf.net