PDA

View Full Version : How to move from old server to new server?


loupgarou
27th of August 2004 (Fri), 08:38
Old server is 1.5 RC4

new server will be 1.5 RC4 fixes 1 (I think).

I've already zipped up the whole gallery folder and copied it over. but I don't think I should unpack over the 1.5 rc 4 installation?

would this work:

install rc4 sp1.
reload database
manually copy the album, thumbs and microthumbs folder

Pekka
27th of August 2004 (Fri), 12:10
Old server is 1.5 RC4

new server will be 1.5 RC4 fixes 1 (I think).

I've already zipped up the whole gallery folder and copied it over. but I don't think I should unpack over the 1.5 rc 4 installation?

would this work:

install rc4 sp1.
reload database
manually copy the album, thumbs and microthumbs folder

Two basic rules about moving databases:

1. destination database but new same or newer version than source database.
2. database must match with php files.

This means that if you have older EE database and you move it to a new server to latest EE, you have to do the workflow:

IN OLD SERVER
1. go into editor and delete all system/ftp messages. Purge uncookied data. This makes database dump smaller.
2. write down EE's version number (you can see it in editor).
3. make database dump of EE database (all tables) using EE Backup.
4. Download database dump.

IN NEW SERVER:
1. install latest EE and patch it to latest version if needed.
2. Open EE Backup and upload the dump.
3. restore the dump.
4. if dump EE version was older, run rc4_installers/to_rc4.php and update EE.
5. open analyze/repair (let it run)
6. open Optimize editor and run defragment command, then run optimize command.
7. upload images and change editor and ftp paths respectively - easiest is to keep same folder structure so you'd have to change only server name in editors.
8. edit your ftp passes in ftp editor and save. Test ftp.
9. edit Imagemagick path and test.