Hi,
[responding back on-list]
On Tue, 20 Jan 2004 11:46:54 +0100 "Oliver Betz" <ob...@de...> wrote:
> Bob Apthorpe wrote:
>
> > I'm moving my wiki from one machine to another and two problems arise
> > when restoring straight from a wikidb.dump. First, I don't want to
> > overwrite parts of the new (empty) wiki, especially the admin pages,
>
> you could merge them locally. When using Windows, have a look at
> "Beyond Compare".
I just dumped the fresh (new) wiki's pages, unzipped the old wiki's
archive, listed the two directories and fed those lists through comm
(yet another unix tool that does one-and-only-one job well. Took me
years to find it though...) to eliminate duplicates, then destructively
imported only the new files (see below.) I had to manually edit two
pages; otherwise everything moved over just fine.
> > documentation, etc. Second, restoring from the wiki dump only pulls in
> > the first version of each page, leaving the most recent revisions to
>
> If you have a complete ZIP dump
> (/PhpWikiAdministration?action=zip&include=all), all history
> information is included.
Yes, and the problem was that only the first page would be imported;
everything else conflicted with an existing entry and needed manual
intervention.
> Carsten Klapp posted December 2003 how to patch PhpWiki to accept the
> complete page data.
>
> Without patching anything, you can try to add add an "overwrite=1"
> query argument when uploading the ZIP file. It should still work.
Another nice person refreshed my memory of Carsten's post off-list. I
patched WikiForm, added a revised version of the plugin to the admin
page and everything imported beautifully. My new task is to sort out why
the MacOSX theme is somewhat unhappy under Opera. This is based on a
user report; I haven't used Opera in a while and CSS is mostly foreign
to me, so it may take a while to sort out.
Thanks again to everyone who responded,
-- Bob
|