Skip to content

Instantly share code, notes, and snippets.

View chaitanyakuber's full-sized avatar

Chaitanya Kuber chaitanyakuber

View GitHub Profile
require 'bigcommerce'
require 'httparty'
require 'dropbox-api'
namespace :backups do
desc "Run a backup of all images"
task :run => :environment do
# let us setup a user with bcstore and dropbox creds
# this assumes that the user has allowed access to the dropbox application registered and in return,