Skip to content

Instantly share code, notes, and snippets.

View alfo's full-sized avatar

Alex Forey alfo

View GitHub Profile
# By Oto Brglez - @otobrglez
# Rake task. Put in your (lib/tasks) folder of your Rails application
# Execute with "rake dropbox:backup"
# Configuration must be inside config/dropbox.yml file
namespace :dropbox do
desc "Backup production database to dropbox"
task :backup do