2:
Re: Help with restore backup
By: Ernie Ghiglione
|
In response to 1 | 01/18/14 01:14 PM | ||
Hi Mario,
It's actually not too hard. What you've got to do is to copy the database and all the repository and uploaded files from the old server to the new one. Here's the breakdown: In the old server and assuming that you installed it also in there via apt-get, create a database dump of the LAMS db: Then copy this dump file and the entire content of the following folders to the new server:
Uploaded content
and Repository files On the new server, make sure that LAMS is stopped.
Then start by dropping the existing db and creating a new one.
Then in the mysql prompt drop the lams database:
Now, create the DB again:
Now exit mysql and import the db dump from the old server:
Copy the folders that you moved from the old server to the exact same paths in the new server. Restart LAMS and that should do it. Let me know if you have any questions Posted by Ernie Ghiglione |
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum