# 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:** [July 4, 2017, 3:52pm 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:** 24

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [July 28, 2017, 3:54pm UTC](https://meta.discourse.org/t/rails-girls-summer-of-code-2017-backup-providers/65597/24 "2017-07-28T15:54:17Z")

</div>

Currently the `sync`:

1. get’s the last N local backups

2. check if they aren’t already on Dropbox

3. upload the missing ones

4. Delete backups who aren’t local anymore from Dropbox

That’s a lot of responsability 😓

Your new model, of one instance of the class handling each backup is **way** better.

However now steps 2 and 4 logic must be somewhere else.

Did you handle deletion of old backups on the Google Drive plugin? We should use the same pattern here.

---

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