February 02, 2014, 01:32:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / s3cmd put works well, but s3sync is failing for me on: February 09, 2008, 06:42:14 PM
Hi all,
  I'm testing out the s3 tools, and the cmd tool works great.  I'm running on Cent OS 5.1.  I fire up a terminal, and export my environment variables via the following.

export AWS_ACCESS_KEY_ID="foo"

Then I can execute the following command, and everything works great.

./s3cmd.rb put 01rekf0mgfa5v6h5ktg2.backup:README.txt README.txt

However, when I try the s3sync below, I receive the following error.  Any ideas?  My key does have a '+' character in it.

$ ./s3sync.rb -r /usr/local/backup/upload/ rekf0mgfa5v6h5ktg2.backup:/projects
S3 command failed:
list_bucket max-keys 200 prefix /projects delimiter /
With result 404 Not Found
S3 ERROR: #<Net::HTTPNotFound:0xb7d4a730>
./s3sync.rb:289:in `+': can't convert nil into Array (TypeError)
        from ./s3sync.rb:289:in `s3TreeRecurse'
        from ./s3sync.rb:345:in `main'
        from ./thread_generator.rb:79:in `call'
        from ./thread_generator.rb:79:in `initialize'
        from ./thread_generator.rb:76:in `new'
        from ./thread_generator.rb:76:in `initialize'
        from ./s3sync.rb:266:in `new'
        from ./s3sync.rb:266:in `main'
        from ./s3sync.rb:724
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!