Search code examples
ruby-on-railsruby-on-rails-4herokuheroku-postgres

Unable to upgrade heroku database


I've just upgraded my heroku database. I'm now trying to copy the data from my old database to my new database, however I keep getting this error. Could it be that I'm unable to copy it because write access is revoked?

enter image description here


Solution

  • Why not just import and export a backup using PG Backups, your issue here is that your databases are in different apps(environments), so from the console using --app earthedhub will just let you use the DATABASE_URL.

    use a PG Backups take a look to this post