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

Module CedarBackup2.actions.rebuild

Implements the standard 'rebuild' action.

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

Function Summary
  executeRebuild(configPath, options, config)
Executes the rebuild backup action.

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

Function Details

executeRebuild(configPath, options, config)

Executes the rebuild backup action.

This function exists mainly to recreate a disc that has been "trashed" due to media or hardware problems. Note that the "stage complete" indicator isn't checked for this action.

Note that the rebuild action and the store action are very similar. The main difference is that while store only stores a single day's staging directory, the rebuild action operates on multiple staging directories.
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
IOError - If there are problems reading or writing files.

Variable Details

logger

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

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