I have customized my DokuWiki installation to allow multiple wikis, similar to running multiple WordPress blogs on different domains. My /etc/dokuwiki/local.php looks like this:
This means that I have multiple DokuWiki sites in my /var/lib/dokuwiki/ directory. To copy only one of them:
- Copy the /etc/dokuwiki/hostname directory and symbolic links
- Copy the /var/lib/dokuwiki/hostname directory and symbolic links
- Copy the template(s) from /var/lib/dokuwiki/tpl/templatename or /var/lib/dokuwiki/lib/tpl/templatename