diff options
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
