Posts

Showing posts from April, 2018

dmp file

Dump in Import Postgres:- $ pg_dump -U root blog_development > blog_development.sql Import: $ psql -U root blog_production < blog_development.sql Dump in Import Mysql:- p -U USERNAME DBNAME > db mysqldump -u [username] -p [database name] > [database name].sql exp Dump $ mysqldump -u root -p blog_development > blog_development.sql Import: $ mysql -u root -p blog_production < blog_development.sql Map gem link:- https://www.sitepoint.com/geocoder-display-maps-and-find-places-in-rails/ link :- Getting Started - Instagram API - Documentation - Facebook for Developers Heroku Import db: heroku pg:backups:restore 'https://sisgain.com/project/healthsoul/soul.dump' DATABASE_URL Local server Import db: pg_restore --verbose --clean --no-acl --no-owner -h localhost -U root -d healthworld41_development_local ~/Downloads/pgnew.dump