Hot off the presses, automated backup support!

Wow! That’s a great feature.

Currently testing this, but somehow the upload is going wrong:

[2014-03-18 20:49:04] Executing the after_create_hook for the backup
[2014-03-18 20:49:14] EXCEPTION: Connection reset by peer (Errno::ECONNRESET)
[2014-03-18 20:49:14] /home/discourse/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/buffering.rb:375:in `syswrite_nonblock'
/home/discourse/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/buffering.rb:375:in `write_nonblock'
/home/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/socket.rb:91:in `write'
/home/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/ssl_socket.rb:98:in `write'
[... stack trace ...]
/home/discourse/discourse/app/models/backup.rb:41:in `upload_to_s3'
/home/discourse/discourse/app/models/backup.rb:32:in `after_create_hook'
/home/discourse/discourse/lib/export/exporter.rb:244:in `after_create_hook'
[... more trace ...]
[2014-03-18 20:49:14] Cleaning stuff up...
[2014-03-18 20:49:14] Removing tmp '/home/discourse/discourse/tmp/backups/default/2014-03-18-204859' directory...
[2014-03-18 20:49:14] Unpausing sidekiq...
[2014-03-18 20:49:14] Disabling readonly mode...
[2014-03-18 20:49:14] Marking backup as finished...
[2014-03-18 20:49:14] Finished!

Before this, I got 403 Forbidden, but that was due to wrong permissions in my bucket…

any Ideas?