Loading...
 

Architecture / Installation


Duplicate current installation into another folder: any tutorial?

posts: 11 France

Dear Community,

I need to “move” or at least “duplicate” a working instance to another folder. Can anyone help me with the different steps I should go through?

My take:

  • copy all files to the new folder or install a fresh copy. Question: where’s the config file, where I will update the database settings?
  • export the existing database and import into the new one
  • copy all embedded files if any (none in my case). Question: where are those files supposed to be stored?
  • check the rights. Question: which rights on which folders?
  • launch the new instance


Any missing step here? I’m a newbie in both Tikiwiki and system admin, so please be indulgent! ;-)

Thanks in advance for any help!

posts: 516 United States

Jean,
copy all files to the new folder or install a fresh copy. Question: where’s the config file, where I will update the database settings?

‘’I would just copy your existing installation to a new folder.
The database settings are at public_html/db/local.php’’

export the existing database and import into the new one

Yes that is correct

copy all embedded files if any (none in my case). Question: where are those files supposed to be stored?

I would not even worry about it, just copy the contents of the original install over the to the new folder you’ll be fine, and I never worried about the embeds, I just figured wherever they are, they’d come over too with the rest of it

check the rights. Question: which rights on which folders?

To setup the proper permissions, shell up to your installation directory, and use sh setup.sh and all the folder permissions will be properly applied. If you are just copying over your old instance to the new folder, then you won’t have to worry about permissions, the perms should carry over, if you run a new instance, you can use sh setup.sh

launch the new instance

Yes! At yoururl.com/tiki-install.php

Hope this helps.


posts: 516 United States
By the way, if any of my instructions above are not clear, please let me know, and I’ll indulge more.
posts: 11 France

Thanks a lot John! Followed your advices and got in minutes a new working instances!

This community is a bless... razz

Thanks again for your help!


posts: 516 United States
Glad it worked Jean! Just made my day being able to help out, a great way to start off my day before heading out to work. Cheers!

posts: 11 France
My pleasure... Have a nice day!

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.