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