Here's a perl script I just wrote. It's dumps an entire phpwiki to a tar file.
(The structure of the tar file mirrors that of the pgsrc directory in the
phpwiki distribution.)
It's still a little rough: currently it only works for MySQL based wikis.
I am however using it to make daily backups of the state of my wiki.
Note that this require perl5. You also need to have the Archive::Tar module
and Bundle::DBD::mysql bundle installed.
Comments appreciated.
I suppose it would be really slick to convert this to a PHP that generated
the tar files on the fly. I did it in perl because Archive::Tar already
exists.
Jeff
|