# 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:** 7

<div class="post-metadata">

**Author:** ![darwin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darwin/32/104144_2.png) [@darwin](https://meta.discourse.org/u/darwin)\
**Post date:** [Março 19, 2014, 2:02am UTC](https://meta.discourse.org/t/hot-off-the-presses-automated-backup-support/13805/7 "2014-03-19T02:02:18Z")

</div>

I hit another minor issue. I wanted to name my bucket discuss-backup, but because S3 buckets have global namespace this name was already taken. So I decided to append my domain name to it and created bucket named `discuss-backup-discuss.binaryage.com`.

And this is a mistake! after\_create\_hook fails with some SSL error when do you use a bucket name with dots in it.

```
[2014-03-18 22:00:25] Executing the after_create_hook for the backup
[2014-03-18 22:00:25] EXCEPTION: hostname "discuss-backup-discuss.binaryage.com.s3.amazonaws.com" does not match the server certificate (OpenSSL::SSL::SSLError)
[2014-03-18 22:00:25] /usr/local/lib/ruby/2.0.0/openssl/ssl.rb:139:in `post_connection_check'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/ssl_socket.rb:85:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/connection.rb:373:in `new'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/connection.rb:373:in `socket'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/excon-0.28.0/lib/excon/connection.rb:122:in `request_call'
...

```

---

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