Open s2t2 opened 8 years ago
attempting a pg_dump
on production heroku machine...
Running `bundle exec rake backup:db:archive` attached to terminal... up, run.6784
Error: You must install at least one postgresql-client-<version> package.
hmm...
attempting a COPY on production heroku machine...
PG::InsufficientPrivilege: ERROR: must be superuser to COPY to or from a file
hmm...
a STDIN-based copy approach works around the COPY bug
To avoid unnecessary production database hosting costs, usage data (e.g.
requests
) should be archived (moved to storage on Amazon s3), and rotated (deleted from the production database).