Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ImExPorter | Brookins Consulting | stable |
Version | Compatible with |
---|---|
N/A | N/A |
ImExPorter - Handle your eZ Publish database easier! (for mysql and innodb)
Handling content on different environments for eZ Publish is a pain. Right, you have the package-manager, but do you really want
to manually mark and unmark changed objects before you can start exporting? Is it really the answer for the problem you are facing?
True, there is also a way in doing a mysql-dump, but this also is a manual process...
What the ImExPorter extension does, is reading the whole database-structure and fetching each tables content to finally create
snapshots for each table. These snapshots can be imported into your database again by just running one command on cli.
You dont need to type in your database login all the time. ImExPorter reads your database-settings directly from your eZ Publish instance.
The snapshots are a lot smaller than a mysl-dump would be and they are split, so transfering them via scp/rsync/ftp isnt a big deal.
In first place you will need a structure inside of your database, so ImExPorter can apply the data on tables. Fortunately ImExPorter is also
capable of executing sql-dumps on your database, so you can create a working environment (database wise) by just running two cli commands.
With importing it is the other way around. Running the import.php a snapshot from your "SnapshotDir" will be read and imported to your db. The tables will
be truncated before.
The first two wont be your problem, if you configured the database in these places. If you outsourced your database-settings to
an extension (for staging/environment separation for instance) then normally Ez Publish doesn't know these in cli-environment. With
ImExPorter there is a way to get it work. Copy the configuration lines to your site-access or better settings-override
and configure your extension plus settings-file in the so called "ExtensionSettingsMap". You can define as many extensions as you want,
but ImExPorter just cares for active extensions (more precise one). If there is a match with your configuration und currently active
extensions, ImExPorter will try to read the database-settings from there and use them.