I have a wiki that I want to use as a starting point
for a new wiki, but
with a new name, db, etc. I know I can export/import pages, but is
there a way of exporting all of the contents of one wiki into a new
instance easily?
We do this the following way:
1.) archive the whole wiki installation folder including all subfolder
into a tar archive
2.) Dump the database into a .sql-file using mysqldumb
3.) In the beginning of the dumped sql-file change the old database name
to the designated database name of the new installation (usually, a line
like: "-- Host: localhost Database: wikidb" at the top)
4.) Feed the dump into your mysql server (thus create the new database and
fill it with the dumped data)
5.) Untar the archive into the new installation path.
6.) Change $wgScriptPath and $wgDBName in LocalSettings.php in the new
installation path.
Depending on your setup, you may need to grant rights on the new database.
Thanks,
Rick
HTH
Arnd