| Home | Trees | Index | Help |
|
|---|
| Package CedarBackup2 :: Package actions :: Module store |
|
Author: Kenneth J. Pronovici <pronovic@ieee.org>
| Function Summary | |
|---|---|
Executes the store backup action. | |
Creates a writer object based on current configuration. | |
Builds and writes an ISO image containing the indicated stage directories. | |
Writes a store indicator file into staging directories. | |
Runs a consistency check against media in the backup device. | |
| Variable Summary | |
|---|---|
Logger |
logger = <logging.Logger instance at 0x402e76ec>
|
| Function Details |
|---|
executeStore(configPath, options, config)Executes the store backup action.
|
createWriter(config)Creates a writer object based on current configuration. This function creates and returns a writer based on configuration. This is done to abstract action functionality from knowing what kind of writer is in use. Since all writers implement the same interface, there's no need for actions to care which one they're working with. Currently, the
|
writeImage(config, newDisc, stagingDirs)Builds and writes an ISO image containing the indicated stage directories. The generated image will contain each of the staging directories listed instagingDirs. The directories will be placed into
the image at the root by date, so staging directory
/opt/stage/2005/02/10 will be placed into the disc at
/2005/02/10.
|
writeStoreIndicator(config, stagingDirs)Writes a store indicator file into staging directories. The store indicator is written into each of the staging directories when either a store or rebuild action has written the staging directory to disc.
|
consistencyCheck(config, stagingDirs)Runs a consistency check against media in the backup device. It seems that sometimes, it's possible to create a corrupted multisession disc (i.e. one that cannot be read) although no errors were encountered while writing the disc. This consistency check makes sure that the data read from disc matches the data that was used to create the disc. The function mounts the device at a temporary mount point in the
working directory, and then compares the indicated staging directories
in the staging directory and on the media. The comparison is done via
functionality in info priority.
|
| Variable Details |
|---|
logger
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Feb 26 20:52:30 2007 | http://epydoc.sf.net |