Forums / Install & configuration / Help with college project - migrating site

"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".

Help with college project - migrating site

Author Message

Simon Casey

Tuesday 27 September 2005 11:10:32 am

Hi,
I have installed Exponential on my windows PC at home, designed a site, and now I would like to migrate it all onto a laptop for a college presentation.

I have installed eZ in on the laptop.
I was told to copy the VAR folder.

I get the setup page, when I want the existing site.
(http://localhost/shop_admin)

A basic guide for a noob would be great.
Thanks in advance.

George Michaelides

Tuesday 27 September 2005 12:02:46 pm

I am fairly new to Exponential but here is how i'd do it...

In theory if your database and apache setup is identical, you could copy the entire Exponential directory into the new system and do a database dump from the old to the new.

In non ideal situations, copy the var folder but delete everything under cache as the new system will create its own.

Take a sql dump of new old database and import it into the new one (SQLYog is a good tool)

Copy the contents of the /design and /settings folders to the equivalent places in the new environment.

Note that you must edit the settings of the /settings/siteaccess/<YOUR SITE>/site.ini.append.php file to represent the new environment. The usual suspects are DatabaseSettings, SiteSettings, MailSettings.

www.jegodesigns.com
www.jegodesigns.eu

Jack Rackham

Wednesday 28 September 2005 5:57:51 am

DO this

Old server
-Database:
Mysqldump --opt -u root -p yourdatabase > yourdatabasename.dump

-Files
Go to Exponential dir
tar -cpzf Exponential.tar.gz *

New server (laptop)
I presume you have apache and mysql installed

-Database
Mysql -u root -p
create database Exponential;
grant all on Exponential.* to youruser@localhost identified by 'yourpassword';
exit

mysql -u youruser -p Exponential < yourdatabasename.dump

-Files
Create dir ezpublishsometing
Enter dir
Tar zxvf Exponential.tar.gz

If you have permission problems try this
Chmod -R 777 var/ design/ setting/

For more info http://ez.no/doc/ez_publish/technical_manual/3_6/installation