Steps based on Ashton's answer to upgrade from Dev (10k line limit) to Basic (10M line limit)
check db string chased limit
heroku pg:info
disable the application and workers to ensure no db changes during db update
heroku maintenance:on heroku ps:scale worker=0
if you don't have pgbackups
heroku addons:add pgbackups
backup database and get backup id
heroku pgbackups:capture
add db with web interface
view the heroku configuration, you should see the new db url
heroku config --remote heroku
restore backup to new db
heroku pgbackups:restore NEW_DB_URL BACKUP_ID
change DATABASE_URL
heroku pg:promote NEW_DB_URL
enable application and workers
heroku maintenance:off heroku ps:scale worker=1
tomaszbak Apr 30 '14 at 11:10 2014-04-30 11:10
source share