Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
1) Is there an established procedure?
2) If so, where is it described?
Thanks in advance.
Cheers,
On Wed, 31 Oct 2007 14:57:05 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
Is there an established procedure?
If so, where is it described?
Thanks in advance.
Cheers,
-- Boris Epstein
I just did that. I backed up (Linux, using tar) my MediaWiki directory. I backed up the database. Then I ftp'd the directory structure to the new server and untarred it. Then I imported the database into the database on the new server.
If you have images, execute the maintenance/importImages.php script from the command line.
It worked like a dream!
Thanks Raquel!
I'll try that.
What if the versions of MediaWiki are different?
On Oct 31, 2007 3:06 PM, Raquel raquel@thericehouse.net wrote:
On Wed, 31 Oct 2007 14:57:05 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
Is there an established procedure?
If so, where is it described?
Thanks in advance.
Cheers,
-- Boris Epstein
I just did that. I backed up (Linux, using tar) my MediaWiki directory. I backed up the database. Then I ftp'd the directory structure to the new server and untarred it. Then I imported the database into the database on the new server.
If you have images, execute the maintenance/importImages.php script from the command line.
It worked like a dream!
-- Raquel ============================================================ If we have no peace, it is because we have forgotten that we belong to each other. --Mother Teresa
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This might help: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
-Jim
-----Original Message----- From: Boris Epstein [mailto:borepstein@gmail.com] Sent: Wednesday, October 31, 2007 3:23 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] migrating a MediaWiki installation
Thanks Raquel!
I'll try that.
What if the versions of MediaWiki are different?
On Oct 31, 2007 3:06 PM, Raquel raquel@thericehouse.net wrote:
On Wed, 31 Oct 2007 14:57:05 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
Is there an established procedure?
If so, where is it described?
Thanks in advance.
Cheers,
-- Boris Epstein
I just did that. I backed up (Linux, using tar) my MediaWiki directory. I backed up the database. Then I ftp'd the directory structure to the new server and untarred it. Then I imported the database into the database on the new server.
If you have images, execute the maintenance/importImages.php script from the command line.
It worked like a dream!
-- Raquel ============================================================ If we have no peace, it is because we have forgotten that we belong to
each other. --Mother Teresa
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Boris Epstein http://www.dogandponny.org/ http://dikayasobaka.livejournal.com/ (Russian) _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks, Jim, looks very helpful.
On Oct 31, 2007 3:31 PM, Sullivan, James (NIH/CIT) [C] < sullivan@mail.nih.gov> wrote:
This might help: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
-Jim
-----Original Message----- From: Boris Epstein [mailto:borepstein@gmail.com] Sent: Wednesday, October 31, 2007 3:23 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] migrating a MediaWiki installation
Thanks Raquel!
I'll try that.
What if the versions of MediaWiki are different?
On Oct 31, 2007 3:06 PM, Raquel raquel@thericehouse.net wrote:
On Wed, 31 Oct 2007 14:57:05 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
Is there an established procedure?
If so, where is it described?
Thanks in advance.
Cheers,
-- Boris Epstein
I just did that. I backed up (Linux, using tar) my MediaWiki directory. I backed up the database. Then I ftp'd the directory structure to the new server and untarred it. Then I imported the database into the database on the new server.
If you have images, execute the maintenance/importImages.php script from the command line.
It worked like a dream!
-- Raquel ============================================================ If we have no peace, it is because we have forgotten that we belong to
each other. --Mother Teresa
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Boris Epstein http://www.dogandponny.org/ http://dikayasobaka.livejournal.com/ (Russian) _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Wed, 31 Oct 2007 15:22:39 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Thanks Raquel!
I'll try that.
What if the versions of MediaWiki are different?
I upgraded MediaWiki AFTER the move. I think that if the versions are different, then move the files/database, do the upgrade and then start it up. Be sure to save your old uploaded files and LocalSettings.php as per the upgrade instructions.
Hello again,
I did try to migrate a Wiki as detailed below and it seems to have worked to some extent - except that in the MySQL DB on the origin server many entries contain hard-coded references to the origin server's FQDN - which obviously doesn't work once moved to the destination server. That does not look right. Does anybody know why that would be, and how to get rid of those hard-coded references?
Thanks.
Boris.
On Oct 31, 2007 2:06 PM, Raquel raquel@thericehouse.net wrote:
On Wed, 31 Oct 2007 14:57:05 -0400 "Boris Epstein" borepstein@gmail.com wrote:
Hello everyone!
If I need to migrate a MediaWiki installation from one machien to another, how do I go about that task?
In other words:
Is there an established procedure?
If so, where is it described?
Thanks in advance.
Cheers,
-- Boris Epstein
I just did that. I backed up (Linux, using tar) my MediaWiki directory. I backed up the database. Then I ftp'd the directory structure to the new server and untarred it. Then I imported the database into the database on the new server.
If you have images, execute the maintenance/importImages.php script from the command line.
It worked like a dream!
-- Raquel ============================================================ If we have no peace, it is because we have forgotten that we belong to each other. --Mother Teresa
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org