alkhataat Posted May 23, 2007 Posted May 23, 2007 Hello every one, Will the website work properly if I copy the entire site (The root directory from the public_html) from one host to another host and make changes to the includes/config and the admin/includes/config ? What about the database mysql ? how to copy that ? Can any one advise about this please. Thanks in advance Ahmed
VectorSix Posted May 23, 2007 Posted May 23, 2007 I have done it and it works fine. I run a backup of the database and then run a restore in the new location.
alkhataat Posted May 23, 2007 Author Posted May 23, 2007 I have done it and it works fine. I run a backup of the database and then run a restore in the new location. Hi Jason, Appreciate your support For the backup file, usually with the backup facility thru the admin, the file is backed up at the store, how do you restore it in the new location ? Thanks Best regards Ahmed
toptiara Posted May 25, 2007 Posted May 25, 2007 Hi Jason, Appreciate your support For the backup file, usually with the backup facility thru the admin, the file is backed up at the store, how do you restore it in the new location ? Thanks Best regards Ahmed I'm going off memory, but this is what comes to mind This is assuming you use cpanel to access everything... Open your database admin console Create a new database (name MUST be the same as the old one - info is in your config.pho files) Create a new user to access it (again name MUST be the same - info in config.php) Open the backup file from your old store. Copy the entire contents of this backup file into your clipboard (CTRL+A then CTRL+C works for me) Go back to your database admin console and click on the icon to open the SQL prompt Paste the information from your backup file in here (CTRL+V) Click on GO or OK to run the SQL. This will add the information from your old database to the new one. There may be other ways of doing this, but this is the method I use Hand made jewellery and tiaras on our website Please bear with me. Im an osC noobie!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.