Question
i have a backup of twiki folder which i have to install in a different installation of twiki.
can someone suggest how to do it?
Environment
--
SomaliBatra - 17 Oct 2003
Answer
Well, assuming a few things:
- the backup folder you have contains the .txt and .txt,v files for the pages (and the attachment files)
- and you have "administrative" access to the new TWiki server,
Then, you "just" have to (for pages, not attachments):
- (if it doesn't exist) create a new web (i.e., directory / folder) on the new server
- copy the backup files into that directory (look for the directories for the existing webs somewhere under a twiki directory, something like .../twiki/data/ and make a new directory at the same level)
- adjust the permissions to match those of the existing webs and topics (not sure how to approach this on Windows XP)
For the attachments, you need a new directory for each page that has an attachment, somewhere in something like a /twiki/pub/<Webname>/<Topic(Page)Name>/ hierarchy — put the attachments there.
I'm not 100% sure that will work, I'm assuming the old pages have the necessary references to the attachments and they will be found in the similar location on the new server — if not, you may need to re-upload the attachments (unless somebody has a better suggestion).
Note, I'm not near a TWiki server ATM, I may have mixed up the "pub" and "data" directories.
If this doesn't help, add a note here telling what part you have trouble with, hopefully (I or) someone else can clarify, expound, or expand these notes.
--
RandyKramer - 17 Oct 2003
See
MoveInstallationToOtherMachine,
HowToMoveTwikiData and
RelocatingTwikiSite.
--
PeterThoeny - 18 Oct 2003