Question
Hallo, does anybody have a procedure, even sketchy, for merging one or more twikis? I would assume that this goes via tarring existing webs on one and untarring it on another one (I am on a Linux system), but what to do about users and passwords? Are there other issues which should be considered?
Environment
--
MicheleZamparelli - 12 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Wiki consolidation, it happens when TWikis get more popular!
Simply copy
data/Web1,
data/Web2, and
pub/Web1,
pub/Web2, etc to the new server. Make sure the file permissions are right (need to be owned by the Apache's cgi-bin user.) If the old content runs on
TWikiRelease01Sep2004 and you move to a
TWikiRelease04x00 release, make sure to unlock the
RCS files.
TWikiUpgradeGuide has more.
Users on old site need to be (bulk-) registered on new site.
See also related
HowToRestoreFromBackup,
RelocatingTwikiSite,
MoveInstallationToOtherMachine.
--
PeterThoeny - 12 Dec 2006
thanks Peter, when you say bulk copying the user info I guess you mean merely doing a filesystem copy of the corresponding topics. I did that for users and groups and it seems to work fine other that the fact that neither users nor groups appear in the listing. Any secret script to be called to achieve that?
--
MicheleZamparelli - 13 Dec 2006
TWiki has a
BulkRegistration feature to register a number of people at once.
You can also copy over the user homepages and group topics. Same care on permissions and lock needs to take place. If you authenticate locally you need to merge the
.htpasswd files too.
--
PeterThoeny - 14 Dec 2006