Magento

Import - Export using SSH

To Import Database : 

mysql -u ..... -p
connect dbname

source /var/www/html/oss2/DATABASES/prod_us.sql
 
To Export Database : 

mysqldump -u username -p db_name > /home/iovista/public_html/magento/dbname_dump.sql

OR

mysqldump -u username -p db_name | gzip > /home/subside/public_html/dbname.sql.gz

No comments:

Post a Comment

Home
Subscribe to: Posts (Atom)
  • All Posts
  • How Magento ORM works?
  • Get Product Custom (Gallery) Image Attribute with Label
  • Increase Admin session timeout in magento
  • Magento - Indexing through command prompt
  • Magento database model without an auto_increment primary key
  • Get Magento Connect Extension Keys Without Logging...
  • Read image from third party FTP url and assign to ...
  • Magento admin panel auto login
  • Add Google Analytics tracking code on order succes...
  • Magento - catalog search by product name should re...
  • Magento - Assign Related Products programmatically...
  • Add links like rel=prev and rel=next to Magento’s ...
  • Import-Export Database (For Windows)
  • Import - Export using SSH
  • Get a list of all class rewrites
  • Working with large Magento collections

About Me

Hiren
Ahmedabad, Gujarat, India
View my complete profile
Picture Window theme. Powered by Blogger.