Hey all, just trying to get a backup of my web server to S3 using s3sync, but I'm coming up against the following error:
######.com@cl26:~/scripts/s3sync$ ./s3sync.rb -r --ssl -v -d s3backup/ bck-backup:webserver
s3Prefix webserver
localPrefix /home/12145/users/.home/scripts/s3sync/s3backup/
localTreeRecurse /home/12145/users/.home/scripts/s3sync/s3backup
Test /home/12145/users/.home/scripts/s3sync/s3backup/httpdocs_backup_20070731.tar.gz
Test /home/12145/users/.home/scripts/s3sync/s3backup/#######_db_backup_20070731.tar.gz
local item /home/12145/users/.home/scripts/s3sync/s3backup/httpdocs_backup_20070731.tar.gz
local node object init. Name:httpdocs_backup_20070731.tar.gz Path:/home/12145/users/.home/scripts/s3sync/s3backup/httpdocs_backup_20070731.tar.gz Size:31584513 Tag:80be73ebcf88ac53831615d675d3e63c
s3TreeRecurse bck-backup webserver
Trying command list_bucket bck-backup max-keys 200 prefix webserver delimiter / with 100 retries left
Null stream error:
./s3sync.rb:288:in `s3TreeRecurse': undefined method `http_response' for nil:NilClass (NoMethodError)
from ./s3sync.rb:348: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:269:in `new'
from ./s3sync.rb:269:in `main'
from ./s3sync.rb:708
I have everything set up correctly in s3config.yml, my Ruby version is 1.8.5, and the bucket and prefix are there. Any help?