title: How to easily clone a production postgresql database to staging
body: <p>I have data in a production database but want to test out some new features so I've set up a staging environment on the same server and want to use the data from the production database with my staging app.</p>
  
  <p>How can I replicate the data from my rails_production database to my rails_staging database, they both have the same owner (postgres) and share the same password.</p>