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

Module CedarBackup2.actions.purge

Implements the standard 'purge' action.

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

Function Summary
  executePurge(configPath, options, config)
Executes the purge backup action.

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

Function Details

executePurge(configPath, options, config)

Executes the purge backup action.

For each configured directory, we create a purge item list, remove from the list anything that's younger than the configured retain days value, and then purge from the filesystem what's left.
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

Variable Details

logger

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

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