Commit e8f6bf1c
Changed files (1)
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"
+ sh "ln -s db/backups/`ls -rt db/backups/ | tail -n1` latest"
# 3. restore backup on staging
- sh "cap staging restore_db"
+ #sh "cap staging restore_db"
end