diff options
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/database.rake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tasks/database.rake b/lib/tasks/database.rake index 12aefe68..5194d268 100644 --- a/lib/tasks/database.rake +++ b/lib/tasks/database.rake @@ -8,10 +8,6 @@ namespace :db do end task :backup do - sh "bundle exec cap #{ENV['RAILS_ENV']} postgresql:backup" - end - - task :restore_to_staging => :backup do - sh "bundle exec cap staging postgresql:restore" + sh "bundle exec cap #{ENV['RAILS_ENV']} db:backup" end end |
