Read more

Script to create and copy a production dump to your project root

Dominik Schöler
May 27, 2011Software engineer at makandra GmbH

Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This is how we do it:

dump-for staging [-s]
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

It will copy the dump to your project's tmp directory and name it according to the capistrano stage you're calling for, here: staging.dump. When you pass the optional -s option, the dump will automatically been sourced into your local development database.


This script is part of our geordi gem on github Show archive.org snapshot .

Posted by Dominik Schöler to makandra dev (2011-05-27 19:02)