RestoreInstructions

From PLplotWiki

Jump to: navigation, search

Restore file backup

Unzip the file backup into a directory.

Restore database

  • On the server, create a new mySQL database.
  • Create also a user, and grant that user permissions on the database. SELECT, INSERT, UPDATE and DELETE permissions should suffice.
  • Import the database backup into the new database.

Check the configuration file

The final, real task is to tweak the LocalSettings.php file. Certain entries in this will almost undoubtedly require changing, and you may need to change the database connection information as well.

Check the following configuration options:

$IPNeeds to be correct for the paths on the new server
$wgScriptPathNeeds to be correct for the path on the new server
$wgDBserverCheck the database server name is correct
$wgDBnameThis might have changed in a shared hosting environment
$wgDBuserThis might have changed in a shared hosting environment
$wgDBpasswordCheck this is correct for the new user

These instructions are taken from http://meta.wikimedia.org/wiki/How_to_move_a_MediaWiki_Database

Personal tools