# Hot off the presses, automated backup support!

**URL:** <https://meta.discourse.org/t/hot-off-the-presses-automated-backup-support/13805>\
**Category:** Feature\
**Created:** [Março 17, 2014, 4:35pm UTC](https://meta.discourse.org/t/hot-off-the-presses-automated-backup-support/13805 "2014-03-17T16:35:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)\
**Post date:** [Março 18, 2014, 8:00pm UTC](https://meta.discourse.org/t/hot-off-the-presses-automated-backup-support/13805/4 "2014-03-18T20:00:55Z")

</div>

Wow! That’s a great feature.

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

```erlang
[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?

---

_[View the full topic](https://meta.discourse.org/t/hot-off-the-presses-automated-backup-support/13805)._
