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

Module initialize

source code

Implements the standard 'initialize' action.


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

Functions [hide private]
 
executeInitialize(configPath, options, config)
Executes the initialize action.
source code
Variables [hide private]
  logger = logging.getLogger("CedarBackup2.log.actions.initialize")
Function Details [hide private]

executeInitialize(configPath, options, config)

source code 

Executes the initialize action.

The initialize action initializes the media currently in the writer device so that Cedar Backup can recognize it later. This is an optional step; it's only required if checkMedia is set on the store configuration.

Parameters:
  • configPath (String representing a path on disk.) - Path to configuration file on disk.
  • options (Options object.) - Program command-line options.
  • config (Config object.) - Program configuration.