PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/boto-2.5.2/boto/pyami/copybot.cfg

#
Unknown | 60 lines | 55 code | 5 blank | 0 comment | 0 complexity | 7c1daeddac3d975bd5f578cbdd126d78 MD5 | raw file
  1. #
  2. # Your AWS Credentials
  3. #
  4. [Credentials]
  5. aws_access_key_id = <AWS Access Key Here>
  6. aws_secret_access_key = <AWS Secret Key Here>
  7. #
  8. # If you want to use a separate set of credentials when writing
  9. # to the destination bucket, put them here
  10. #dest_aws_access_key_id = <AWS Access Key Here>
  11. #dest_aws_secret_access_key = <AWS Secret Key Here>
  12. #
  13. # Fill out this section if you want emails from CopyBot
  14. # when it starts and stops
  15. #
  16. [Notification]
  17. #smtp_host = <your smtp host>
  18. #smtp_user = <your smtp username, if necessary>
  19. #smtp_pass = <your smtp password, if necessary>
  20. #smtp_from = <email address for From: field>
  21. #smtp_to = <email address for To: field>
  22. #
  23. # If you leave this section as is, it will automatically
  24. # update boto from subversion upon start up.
  25. # If you don't want that to happen, comment this out
  26. #
  27. [Boto]
  28. boto_location = /usr/local/boto
  29. boto_update = svn:HEAD
  30. #
  31. # This tells the Pyami code in boto what scripts
  32. # to run during startup
  33. #
  34. [Pyami]
  35. scripts = boto.pyami.copybot.CopyBot
  36. #
  37. # Source bucket and Destination Bucket, obviously.
  38. # If the Destination bucket does not exist, it will
  39. # attempt to create it.
  40. # If exit_on_completion is false, the instance
  41. # will keep running after the copy operation is
  42. # complete which might be handy for debugging.
  43. # If copy_acls is false, the ACL's will not be
  44. # copied with the objects to the new bucket.
  45. # If replace_dst is false, copybot will not
  46. # will only store the source file in the dest if
  47. # that file does not already exist. If it's true
  48. # it will replace it even if it does exist.
  49. #
  50. [CopyBot]
  51. src_bucket = <your source bucket name>
  52. dst_bucket = <your destination bucket name>
  53. exit_on_completion = true
  54. copy_acls = true
  55. replace_dst = true