Home | Trees | Indices | Help |
|
---|
|
Synchonizes a local directory with an Amazon S3 bucket.
No configuration is required; all necessary information is taken from the command-line. The only thing configuration would help with is the path resolver interface, and it doesn't seem worth it to require configuration just to get that.
Author: Kenneth J. Pronovici <pronovic@ieee.org>
|
|||
Options Class representing command-line options for the cback3-amazons3-sync script. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
logger = logging.getLogger("CedarBackup3.log.tools.amazons3")
|
|||
AWS_COMMAND =
|
|||
SHORT_SWITCHES =
|
|||
LONG_SWITCHES =
|
|||
__package__ =
|
|
Implements the command-line interface for the
Essentially, this is the "main routine" for the cback3-amazons3-sync script. It does all of the argument processing for the script, and then also implements the tool functionality. This function looks pretty similiar to
A different error code is returned for each type of failure:
Note: This script uses print rather than logging to the INFO level, because it is interactive. Underlying Cedar Backup functionality uses the logging mechanism exclusively. |
Prints usage information for the cback3-amazons3-sync script.
Note:
The |
Prints version information for the cback3-amazons3-sync script.
Note:
The |
Prints runtime diagnostics information.
Note:
The |
Implements the guts of the cback3-amazons3-sync tool.
|
Build a list of files in a source directory
|
Check source files, trying to guess which ones will have encoding problems.
|
Synchronize a local directory to an Amazon S3 bucket.
|
Verify that a source directory is equivalent to an Amazon S3 bucket.
|
|
LONG_SWITCHES
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |