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.
|