it is used to embed gist to an asynchronously-loaded web pages.
<iframe
width="100%"
height="350"
src="data:text/html;charset=utf-8,
Get the Heroku db as detailed here: | |
http://devcenter.heroku.com/articles/pgbackups#exporting_via_a_backup | |
$ heroku pg:backups:capture # outputs backup_num in the last line | |
$ heroku pg:backups:url <backup_num> #=> backup_url | |
$ curl -o /tmp/latest.dump <backup_url> | |
Then locally do: | |
$ pg_restore --verbose --clean --no-acl --no-owner -h localhost -U myuser -d mydb /tmp/latest.dump |