Forums / General / Importing packages from the command line

Importing packages from the command line

Author Message

Felix Laate

Wednesday 30 August 2006 2:34:32 am

Hi all!

I need to import a package that is 191MB. Doing this via the admin interface appears the be very troublesome.

So I wonder if it is possible to do it via CLI?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Kristof Coomans

Wednesday 30 August 2006 2:49:01 am

Hi Felix

It is possible with ezpm.php (in the root of your eZ installation), but there are some unresolved bugs related to ezpm:
- call to undefined function export: http://ez.no/bugs/view/8718
- Error: (eZFileHandler::copy) Unable to open source file in read mode: http://ez.no/bugs/view/8821

But I think importing will work fine.

For more info on how to use ezpm, read: http://ez.no/products/ez_publish/documentation/ez_publish_3_4/content_object_export_with_ezpm

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Laate

Wednesday 30 August 2006 3:24:21 am

Hi Kristof!

Thanks! I'll give it a try!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Wednesday 30 August 2006 11:47:55 pm

Hi again!

I gave it a try, but it failed:

 Failed importing package /home/hero/hero_old.ezpkg

Could it be related to the fact that the package I created, was created on a 3.6.10 system, whereas the import was tried on a system running 3.8.3?

The package contains content, media, design and users.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com