Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Migrating Only Required & Necessary Data To New Install
Avatar
changelogg #1
Member since Aug 2018 · 28 posts
Group memberships: Members
Show profile · Link to this post
Subject: Migrating Only Required & Necessary Data To New Install
So I decided to do a fresh install, installed necessary plugins, and migrated data from the previous install (https://www.dokuwiki.org/faq:backup).

In the conf folder, I only copied
conf/acl.auth.php - contains Current ACL Rules
conf/users.auth.php - contains current User List

I understand I'll have to manually configure everything on the Configuration Settings page if I don't copy the entire conf folder.

Do I have to copy the entire conf folder? (https://www.dokuwiki.org/faq:backup)
Are there other files withing the conf folder I may need that is irreplaceable like conf/users.auth.php ??
Avatar
cziehr #2
Member since Jan 2011 · 579 posts · Location: 10119 Berlin
Group memberships: Members
Show profile · Link to this post
Quote by changelogg:
I understand I'll have to manually configure everything on the Configuration Settings page if I don't copy the entire conf folder.

Your configuration is stored in conf/local.php, so you should copy this file if you don't want to do the configuration a second time.

So you should copy acl.auth.php, conf/users.auth.php and local.php, all other files in the ordner conf are not necessary to copy in my opinion.

But you should do a full backup of your wiki before you do a reinstall. If everything works fine, you can delete your backup after a few weeks.
Avatar
schplurtz (Moderator) #3
Member since Nov 2009 · 439 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
In reply to post #1
local.php is important as cziehr wrote. As you intend to recreate the settings with the configuration manager, there is no real need to copy it. Keeping it as a reference may be a goog idea though.

There are other files that you may be interested in keeping/copying/examining : All the local files that require manual edit.
  • inc/preload.php if it exists. May contain important settings.
    See https://www.dokuwiki.org/devel:preload
  • conf/plugins.protected.php if it exits. May contain important settings.
     See https://www.dokuwiki.org/config#enabling_disabling_plugins
  • conf/local.protected.php if it exists. May contain important settings.
     See https://www.dokuwiki.org/config#configuration_options

Other non essential files include :
  • all translation override, if any.
     See https://www.dokuwiki.org/localization#changing_some_locali…
  • conf/userstyle.css conf/userall.css conf/userscript.js
  • other conf .local files (except plugins.local.php which is handled by the plugin manager),
     such as conf/entities.local.conf conf/mime.local.conf conf/interwiki.local.conf
Avatar
changelogg #4
Member since Aug 2018 · 28 posts
Group memberships: Members
Show profile · Link to this post
Thank You for all the advice!!

I have checked all the files you've mentioned.
My installation is as basic as I can keep it, utilizing only the most useful/popular plugins.

For future reference, this is what I have done.
  • Install fresh Dokuwiki
    • data/attic - all the old versions of your pages
    • data/media - contains your current media (images, PDFs, …)
    • data/media_attic - all the old versions of your media
    • data/media_meta - meta data for the media
    • data/meta - contains meta information about your pages (like who created it originally, who subscribed to it, …)
    • data/pages - contains your current pages
    • conf/acl.auth.php - contains Current ACL Rules
    • conf/users.auth.php - contains current User List
      • Did not copy the entire conf folder, only copied the two files above
    • Only modified files
      • /inc/lang/en - .txt file changes
  • Install necessary plugins from scratch
  • Setup Configuration page
    • Compare conf/local.php files in notepad++



Thank You!!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-06-25, 22:13:40 (UTC +02:00)