- make a dump of the database
 
ex:mysqldump --port=2081 --socket=mysql.sock --user=root 
--password=yourpasswd --databases wikidb --single-transaction
--flush-logs | bzip2 -c > backup.bz2 
- make a archive of the web folder of wiki
 
ex: tar jcvf web.backup.tbz wiki/  
- On the new server install mysql, php , php-mysql, httpd
 - create a database and user in mysql.
 - change LocalSettings.php to point to new database
 - start/restart httpd
 
No comments:
Post a Comment