# Rails Girls Summer of Code 2017: Backup Providers

**URL:** <https://meta.discourse.org/t/rails-girls-summer-of-code-2017-backup-providers/65597>\
**Category:** Development\
**Created:** [4. Juli 2017 um 15:52 UTC](https://meta.discourse.org/t/rails-girls-summer-of-code-2017-backup-providers/65597 "2017-07-04T15:52:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [4. Juli 2017 um 15:52 UTC](https://meta.discourse.org/t/rails-girls-summer-of-code-2017-backup-providers/65597/1 "2017-07-04T15:52:01Z")

</div>

We’ve officially kicked off the Rails Girls Summer of Code 2017 with our group, **berlin diamonds**.

They’re going to be working on adding extra backup providers to Discourse. This topic can be used by the teams involved for questions and answers, as well to track progress.

* * *

### Background

Discourse has always provided administrators the ability to back up their community data. It is important to us as an open source project that regardless of where you run your forum, that you be able to take your data with you.

Currently, we support downloading data dumps to your local computer as well as uploading data to Amazon S3. There is also a plugin for uploading to Dropbox available that could be used as an example.

* * *

### First Steps

The team has decided to focus on a backup provider for Google Drive. Here’s how I’d suggest tackling this problem, although the team is free to approach this on their own schedule and pace:

1. Become very familiar with [the dropbox plugin](https://github.com/xfalcox/discourse-backups-to-dropbox) for backups. Try installing it locally and using it to connect to Dropbox. @Falco is also around to answer questions you might have about how it works and how it is designed.

2. Review how Google Drive’s API works. What is required to upload a file there? Are there any rubygems you can use to contact the API easily?

3. Create a new repository for the Google Drive backup provider, and try to build it up from the simplest possible thing that could work. Use Site Settings for any API keys and variables. When it doubt, base it on the Dropbox plugin.

4. Discourse will provide code reviews and offer assistance along the way.

5. The plugin is working! 🎂

Once we’re done the above we can figure out following steps for more providers, and perhaps DRYing up the plugins to avoid repeated code.

---

_[View the full topic](https://meta.discourse.org/t/rails-girls-summer-of-code-2017-backup-providers/65597)._
