How to migrate?
How to migrate?
Hello,
I know that there are a few posts about this, but I don't know if they really fit my case, and I'm a confused newbie to things like this.
I have to migrate an entire site under this conditions:
1. from a phpwcms v1.2.6-DEV 14.12.2005 installation to a v.1.2.8 with patchG (if better/safer I can use also an older version at the destination)
2. destination server/host completely different
3. domain/url will change completely
4. on the source server I have cpanel with MySQLDatabases and phpmyAdmin (please consider I'm completely novice for them)
5. on the destination server (on Servage.net) I don't have cPanel, but the custom control panel allow the import of a MySQL dump and after creating a new database phpMyAdmin should be available.
Can you tell me steps how to migrate?
Thank you for your help!
Andras
What shall I exactly do
I know that there are a few posts about this, but I don't know if they really fit my case, and I'm a confused newbie to things like this.
I have to migrate an entire site under this conditions:
1. from a phpwcms v1.2.6-DEV 14.12.2005 installation to a v.1.2.8 with patchG (if better/safer I can use also an older version at the destination)
2. destination server/host completely different
3. domain/url will change completely
4. on the source server I have cpanel with MySQLDatabases and phpmyAdmin (please consider I'm completely novice for them)
5. on the destination server (on Servage.net) I don't have cPanel, but the custom control panel allow the import of a MySQL dump and after creating a new database phpMyAdmin should be available.
Can you tell me steps how to migrate?
Thank you for your help!
Andras
What shall I exactly do
Hello andras,
First of all do a complete backup to your home computer (mysql and ftp)
do not laborate with this, make a work copy of all the stuff.
copy the stuff to the new server (mysql at least 3.2 something... look at doku site) do not forget to set the CHMOD Permissions...
copy old stuff to new server
copy new version ABOVE old stuff
take THE NEW conf.inc.php and fill in: new domain name, new mysql connection data and push it back /phpwcms/config @ your new server
run upgrade version from the new setup dir on the new server
..
so if somwthing went wrong, you'll have no problem, cause you have the original copy of your site...
Jürgen
First of all do a complete backup to your home computer (mysql and ftp)
do not laborate with this, make a work copy of all the stuff.
copy the stuff to the new server (mysql at least 3.2 something... look at doku site) do not forget to set the CHMOD Permissions...
copy old stuff to new server
copy new version ABOVE old stuff
take THE NEW conf.inc.php and fill in: new domain name, new mysql connection data and push it back /phpwcms/config @ your new server
run upgrade version from the new setup dir on the new server
..
so if somwthing went wrong, you'll have no problem, cause you have the original copy of your site...
Jürgen
In addition to Jürgen´s instructions have a look: http://www.phpwcms.de/forum/viewtopic.php?p=72728#72728
Regards Knut
Regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Something strange happened... My old installation is at http://www.ungheria.it, my new (temporary) host is at http://www.ungheria.andras.info
I've copied by ftp all the site mantaining the structure and without upgrading to the newer phpwcms version.
I've set the chmod settings accordinf to doku site installation guide.
I've created a new database and then I've imported a phpMyAdmin backup of old database.
I've modified values in conf.inc.php like this:
<?php
// database values
$phpwcms["db_host"] = "mysql1026.servage.net";
$phpwcms["db_user"] = "andras";
$phpwcms["db_pass"] = "xyz";
$phpwcms["db_table"] = "andras";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.ungheria.andras.info/";
$phpwcms["admin_email"] = "info@ungheria.it";
while old values were like this:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "ungheria_biro";
$phpwcms["db_pass"] = "xyz";
$phpwcms["db_table"] = "ungheria_andras";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.ungheria.it/";
$phpwcms["admin_email"] = "info@ungheria.it";
and my new webhost (Servage) database connection info is this:
Server: mysql1026.servage.net
Database: andras
Username: andras
Password: humiaz68
Now,
if I browse to http://www.ungheria.andras.info -> server is not found
if I browse to ungheria.andras.info -> I'm reported to the site on the old server, probably because I have a redirect in the index page
if I login ungheria.andras.login.php -> login page loaded, but login with old user and password is resulting -> server not found
if I login http://www.ungheria.andras.info/login.php -> server is not found
What shall I do to make things right?
Thank you for your attention.
Andras
I've copied by ftp all the site mantaining the structure and without upgrading to the newer phpwcms version.
I've set the chmod settings accordinf to doku site installation guide.
I've created a new database and then I've imported a phpMyAdmin backup of old database.
I've modified values in conf.inc.php like this:
<?php
// database values
$phpwcms["db_host"] = "mysql1026.servage.net";
$phpwcms["db_user"] = "andras";
$phpwcms["db_pass"] = "xyz";
$phpwcms["db_table"] = "andras";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.ungheria.andras.info/";
$phpwcms["admin_email"] = "info@ungheria.it";
while old values were like this:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "ungheria_biro";
$phpwcms["db_pass"] = "xyz";
$phpwcms["db_table"] = "ungheria_andras";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.ungheria.it/";
$phpwcms["admin_email"] = "info@ungheria.it";
and my new webhost (Servage) database connection info is this:
Server: mysql1026.servage.net
Database: andras
Username: andras
Password: humiaz68
Now,
if I browse to http://www.ungheria.andras.info -> server is not found
if I browse to ungheria.andras.info -> I'm reported to the site on the old server, probably because I have a redirect in the index page
if I login ungheria.andras.login.php -> login page loaded, but login with old user and password is resulting -> server not found
if I login http://www.ungheria.andras.info/login.php -> server is not found
What shall I do to make things right?
Thank you for your attention.
Andras
Since these work:
http://ungheria.andras.info/GPL.html
http://ungheria.andras.info/login.php
Maybe this?
http://ungheria.andras.info/GPL.html
http://ungheria.andras.info/login.php
Maybe this?
Code: Select all
// site values
$phpwcms["site"] = "http://ungheria.andras.info/";Hello DeXXus,
Thank you for reply.
Any idea how to fix this strange behavior for "www"?
Thank you for your attention!
Andras
Thank you for reply.
with $phpwcms["site"] = http://ungheria.andras.info/ things improve significantly because now the entire site and login both work perfectly, but browsing http://www.ungheria.andras.info or http://www.ungheria.andras/login.php I get "Server not found" error from the browser.DeXXus wrote:Since these work:
http://ungheria.andras.info/GPL.html
http://ungheria.andras.info/login.php
Maybe this?Code: Select all
// site values $phpwcms["site"] = "http://ungheria.andras.info/";
Any idea how to fix this strange behavior for "www"?
Thank you for your attention!
Andras