cback3-amazons3-sync(1) | Kenneth J. Pronovici | cback3-amazons3-sync(1) |
cback3-amazons3-sync - Synchronize a local directory with an Amazon S3 bucket
cback3-amazons3-sync [switches] sourceDir s3BucketUrl
This is the Cedar Backup 3 Amazon S3 sync tool. It synchronizes a local directory to an Amazon S3 cloud storage bucket. After the sync is complete, a validation step is taken. An error is reported if the contents of the bucket do not match the source directory, or if the indicated size for any file differs.
Generally, one can run the cback3-amazons3-sync command with no special switches. This will start it using the default Cedar Backup log file, etc. You only need to use the switches if you need to change the default behavior.
The main difference between Cedar Backup version 2 and Cedar Backup version 3 is the targeted Python interpreter. For most users, migration should be straightforward. See the discussion found at cback3(1) or reference the Cedar Backup user guide.
This command returns 0 (zero) upon normal completion, and several other error codes related to particular errors.
This tool is a wrapper over the Amazon AWS CLI interface found in the aws(1) command. Specifically, cback3-amazons3-sync invokes "aws s3 sync" followed by "aws s3api list-objects".
Cedar Backup itself is designed to run as root. However, cback3-amazons3-sync can be run safely as any user that is configured to use the Amazon AWS CLI interface. The aws(1) command will be executed by the same user which is executing cback3-amazons3-sync.
You must configure the AWS CLI interface to have a valid connection to Amazon S3 infrastructure before using cback3-amazons3-sync. For more information about how to accomplish this, see the Cedar Backup user guide.
If you find a bug, please report it.
If possible, give me the output from --diagnostics, all of the error messages that the script printed into its log, and also any stack-traces (exceptions) that Python printed. It would be even better if you could tell me how to reproduce the problem, for instance by sending me your configuration file.
Report bugs to <support@cedar-solutions.com> or by using the BitBucket issue tracker.
Written and maintained by Kenneth J. Pronovici <pronovic@ieee.org> with contributions from others.
Copyright (c) 2004-2011,2013-2015 Kenneth J. Pronovici.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
July 2015 | Cedar Backup 3 |