no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | s3cmd [2015/06/01 21:29] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== s3cmd ====== | ||
+ | * [[Amazon S3]] | ||
+ | |||
+ | ==== Amazon S3 Sync ==== | ||
+ | |||
+ | A simple way to keep local archives and an Amazon bucket up to date is to sync the two locations. | ||
+ | |||
+ | Here's a command that would take all the MySQL archives in ''/ | ||
+ | |||
+ | < | ||
+ | s3cmd --delete-removed sync / | ||
+ | </ | ||
+ | |||
+ | ==== Examples ==== | ||
+ | |||
+ | == List all the files on a bucket == | ||
+ | |||
+ | < | ||
+ | s3cmd ls s3:// | ||
+ | </ | ||
+ | |||
+ | == Find archives that are 2 months old == | ||
+ | |||
+ | < | ||
+ | s3cmd ls s3:// | ||
+ | </ |