diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-17 22:26:33 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-17 22:26:33 -0500 |
commit | 13f64fccecca4b6aee4d1ac2456cebf9c782c212 (patch) | |
tree | 4fdf61c0910b53ab8cdf99c7941033102559000e /doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | |
parent | d244a0bc8e3576d20a69193b97d874db78a1eb91 (diff) |
response
Diffstat (limited to 'doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn')
-rw-r--r-- | doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn index 1eac9c76d..ccc45ddca 100644 --- a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn +++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn @@ -7,3 +7,23 @@ I copied it the repository to my new system, which is now the "master" host. I installed ikiwiki on the new system. How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]] + +> Well, if you have: +> * A git repository of the wiki +> * A setup file for the wiki +> +> Then you should +> 1. Manually set up a bare git repository, and push +> your backed up repository to it. +> 2. `git clone` from the bare git repository to +> recreate the ikiwiki srcdir +> 3. `git clone` from the bare git repository a second time, +> to create a checkout you can manually edit (optional) +> 4. run `ikiwiki --getctime --setup your.setup` +> The getctime will ensure page creation times are accurate +> by putting the info out of the git history, +> and only needs to be done once. +> +> If you preserved your repository, but not the setup file, +> the easiest way to make one is probably to run +> `ikiwiki -dumpsetup` and edit the setup file. --[[Joey]] |