Open markfinger opened 7 years ago
@markfinger In brief:
PGHOST={host}.rds.amazonaws.com PGPASSWORD={password} PGUSER={username} pg_dump -O -v -x -f "/opt/{project}/initial_data.sql" {database}
OR
SRC_PG*
environment variables in your .env.local
file to pipe directly from the remote database when creating a new local database (e.g. when switching branches)
Re: https://github.com/ic-labs/django-icekit/issues/142#issuecomment-260499969