Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup from CentOS and restore onto Fedore Core 5

Status
Not open for further replies.

dreamaz

Technical User
Dec 18, 2002
184
CA
Hi,

I have a CentOS system with Apache/MySQL/Php which we've been using as our web server. Everything runs fine on it. I wanted to backup the website and mysql data and restore it onto a fresh install of Fedora Core 5.

Simply copying the /var/ folder and using phpMyAdmin's export all databases to SQL file then importing these back onto FC5's mysql.

The site no longer loads my web pages nor processes the site login's. I had shutdown the old box and moved that IP over to the new FC5 box as well. Is there something I forgot to backup/restore? Is there a better way to accomplish this?

Any help is appreciated.

Thanks

Joe
 
If it's not loading the web pages, start there. Check permissions, and the settings for Apache. Also check the web logs for error messages.
 
My first guess would also be the Apache and/or MySQL configs. I'd be checking the /etc/ directory for the applicable config files.


pansophic
 
Can i copy the my.cnf, php.ini and httpd.conf files over from my CentOS to the new FC5?
 
Don't know for sure, but if the application versions didn't change, there shouldn't be a problem.

The easy thing is to rename the current files/directories with a .old or .orig extension and then copy the new ones in. If things don't blow up, you should be OK. If they do, you can always copy the originals back in.


pansophic
 
Also check the versions. I don't know if FC5 ships with different versions of PHP and MySQL, but that might be an issue. Again, first make sure that you can serve HTML pages, then get PHP and MySQL working independently, then integrating them all should be fairly easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top