Maybe you were one of the lucky customers to receive Mint.com's 6am "oops" emails from staging servers in October 2010, or perhaps you work with data regulated by HIPAA - either way, you know it's not cool to have copies of production data anywhere that's not production. We'll cover strategies to protect and appropriately slice your data for use in testing and development environments.
Some topics covered include:
- Establishing database environment requirements
- Using pg_dump and pg_restore utilities for subsets of data
- Horizontally slicing application data to preserve relations
- Sanitizing data for non-production environments
- Resetting your database internals once you've imported a variety of data