summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 547f9d20..e7e66e3a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -42,10 +42,10 @@ end
task :restore do
# 1. backup prod database
- #sh "cap production backup_db"
+ sh "cap production backup_db"
# 2. copy backup to staging
sh "ln -s db/backups/`ls -rt db/backups/ | tail -n1` /db/backups/latest"
# 3. restore backup on staging
- #sh "cap staging restore_db"
+ sh "cap staging restore_db"
end