Forums / Install & configuration / Backup and restore Exponential

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Backup and restore Exponential

Author Message

Joël LEGER

Thursday 21 February 2008 12:10:19 am

Hi,

It's a common topic but i didn't find a clear explanation, i want to move an eZ install and it's content to another site.
If someone know a process ?

thx

Felix Laate

Thursday 21 February 2008 12:47:16 am

Hi Jo,

this is how I do it:

1) make a dump of your database

mysqldump -u myuser -p mydatabase > mydatabase.sql

2) add the directories settings/override, settings/siteaccess, design/_MY_DESIGN_, var/_MY_SITE_ and any extensions you may have added to an archive

tar cvfz files.tar.gz /_PATH_TO_EZP_/settings/override /_PATH_TO_EZP_/settings/siteaccess /_PATH_TO_EZP_/design/_MY_DESIGN_  /_PATH_TO_EZP_/var/_MY_SITE_

3) on the other host, download and extract the version of ezp you use, e.g.

wget http://ez.no/content/download/218812/1467959/file/Exponential-4.0.0-gpl.tar.gz
tar zxvf  Exponential-4.0.0-gpl.tar.gz

4) change to the new ezp-directory and extract your archive

tar zxvf files.tar.gz

5) create a new database, grant the appropriate privileges and insert the dump

mysql -u myuser -p newdatabase < mydatabase.sql

Note that if the new database has a different name from the old, you need to change the site.ini.append.php-files og your siteacceses.

Make sure the rights are set correctly to filestructure (e.g. by running the infamous bin/modfix.sh script.

Ready.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Joël LEGER

Thursday 21 February 2008 1:10:12 am

looks pretty clear!

thx Felix