Are there any scripts out there to save a copy of all pages? Are these pages already saved as files somewhere or are they in a database somewhere? The server I am working on is getting upgraded tomorrow and I don't want to go through the browser and go into edit on each page and copy / paste.
if you have command-line access use the dumpBackup.php script in the maintenance directory. Which generates an XML file which can be imported later.
You could perhaps also use the mysqldump command which generates the SQL statesments to recreate the database to the exact same state.
On 6/20/06, Frederich, Eric P2173 eric.frederich@siemens.com wrote:
Are there any scripts out there to save a copy of all pages? Are these pages already saved as files somewhere or are they in a database somewhere? The server I am working on is getting upgraded tomorrow and I don't want to go through the browser and go into edit on each page and copy / paste. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
All the information is stored in the database so if you use a separate database server you don't have anything to worry about. If they are on the same server you should do a database dump, use your usual database management software phpMySQL etc...
You should also copy of the localsettings.php file from the root of the wiki directory, and the images directory.
Arthur arthur@assys.net
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Frederich, Eric P2173 Sent: 20 June 2006 18:46 To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Quick help
Are there any scripts out there to save a copy of all pages? Are these pages already saved as files somewhere or are they in a database somewhere? The server I am working on is getting upgraded tomorrow and I don't want to go through the browser and go into edit on each page and copy / paste. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org