Share » Forums » Developer » How to upload a database to the...

How to upload a database to the structure of my site

How to upload a database to the structure of my site

Wednesday 21 November 2007 12:18:21 pm - 1 reply

Author Message

Lazaro Ferreira

Thursday 22 November 2007 3:44:12 am

Hi Jorge,

If you format your Excel file to be accepted by

ezcsvimport.php

( Ezpublish CSV import script ), you can import your database from command line

Regarding the language you can tell the the script in which siteaccess you want to create the objects

For instance

php bin/php/ezcsvimport.php --siteaccess eng --class=your_class your_parent_node your_csv_file 

Hint: Run a ezcsvexport.php for the class that you want to import, just to see how it formats the CSV file, then format your Excel file accordingly, and run the ezcsvimport.php script

Regards!

Lazaro
http://www.mzbusiness.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu