Loading...
 
Architecture / Installation

Architecture / Installation


Duplicate current installation into another folder: any tutorial?

posts: 31 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: 758 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: 758 United States
By the way, if any of my instructions above are not clear, please let me know, and I'll indulge more.
posts: 31 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: 758 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!


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting