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
|