bundle exec backup generate:model --trigger my_backup --archives --storages='dropbox' --compressors='gzip' --notifiers='mail' --databases="postgresql"
https://www.dropbox.com/developers/apps
source 'https://rubygems.org'
gem 'backup'
gem 'whenever'
gem 'capistrano'
group :development do
gem 'capistrano-ext'
end
mkdir config
bundle exec wheneverize .
result:
[add] writing `./config/schedule.rb'
[done] wheneverized!
edit `./config/schedule.rb'
every 1.day, :at => '2:30 am' do
command "backup perform --trigger my_backup"
end