|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Oct 2007
55 posts
Gave thanks: 3
Thanked 3 times
|
Best way to move a bunch of web sites?
I am working for a company that has 200+ websites on an old server. They are trying to move the all to a new server running Plesk 8 and Virtuozzo.
Does anyone know a good way to move them all? The have the passwords list to all the sites in Excel, so I was thinking to save the domain - user name - password columns as a CSV, read it into a main PHP file, and have that file run a full-site FTP download script. Is there a better way to do this? or a premade program that does this? I was planning on parsing the site data for the mysql_connect connect lines to get the user name and password, but a lot of the scripts use configuration files, so the mysql connect lines would just have variables in them. Could I replace mysql_connect with a call to a different script, and have that store the database info, then die? |
|
|
|
|
|
#2 (permalink) |
|
CTO, Surpass Hosting
Super #1
Joined in Apr 2003
Lives in Florida
1,811 posts
Gave thanks: 10
Thanked 131 times
|
Honestly there really is no easy way to do this until a custom script is made to do the work as you described above. There is many other ways as well but it just depends on the old environment and new environment. There isn't a general copying account function mainly due to that reason as well. With many variables to be taken into account makes it hard to do.
|
|
|
|
|
|
#3 (permalink) | |
|
Surpass Staff
Seasoned Poster
Joined in Jan 2005
30 posts
Gave thanks: 0
Thanked 4 times
|
Quote:
__________________
####### Regards, Amal L3 Admin |
|
|
|
|