English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Transfer site to another server
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Transfer site to another server
*
#11745
Transfer site to another server 11 Years, 1 Month ago Karma: 0
Hi,

I am trying to move my site (master+2 slaves) to another server - i packed it and transferred it through ubuntu shell but it seems these symbolic links in the slaves are proper directories now...
Is there a tutorial or a specific way on how to move sites?

Also - in case i would like to remove Multisites, is there a way to convert a Master+2 slave sites to 3 joomla sites?

thanks!!
rossi256
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11756
Re: Transfer site to another server 11 Years, 1 Month ago Karma: 54
To move a set of site from one server to another one, start to make a backup like explain in the FAQ
www.jms2win.com/en/faq/faq-joomla-multi-sites#cat-268
Or with the help of the "weekly backup shell script" that you can modify to perform a backup of all sites in 1 shot.
www.jms2win.com/en/component/docman/doc_...weekly-backup-script

Once you have restored the backup on the other server, for simplicity, it is recommended to keep the same directory structure for symbolic links.
In the case where you restore the website on another directory, when you have restored the wesbites, login in the master and with the JMS "maintenance" menu there is the possibility to remove all the symbolic links and rebuild them.
Do it to reflect the new location of your master.

If you have restored the DB with different name, you will have to drop all the shared tables and rebuild them with JMS once you will have updated the DB name, login and password.

Convert the slave site into independent joomla is also possible.
The simpliest method consists in the install of JMS into each slave site site. (You can use the JMS tool menu)
After that, you have to perform a backup from SSH with command
tar -cvhz tarName.tgz slaveDirectoryToBackup

This command will perform a backup that will convert each symbolic link into a physical file and folders.
When done, you can restore the website.
Rename or remove the "multisites" directory to make it unavailable.
Make a copy of the "configuration.php"
After that, you will be able to uninstall JMS.
This will also restore the configuration.php from the master.
This will remove all the patches present in Joomla.
To remove the patches, you can also unzip an original joomla over the current one.
Restore the slave configuration.php

If you have sharing in DB, you will have to convert all the sharing into a physical copy.
There is no magic method. You will have to replace the views by physical content and also rebuild the table.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11758
Re: Transfer site to another server 11 Years, 1 Month ago Karma: 0
Thanks a lot for the detailed answer!!
rossi256
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12025
Re: Transfer site to another server 10 Years, 8 Months ago Karma: 0
Hi,

tried the above finally and it doesn't work for me.
the slave sites are not working and i can not rebuild the symbolic links - which option in multisites should that be?

Also, when going to maintenance menu, i have about 10 errors saying:
JFolder: :files: Path is not a folder. Path: /....

Now i am desperate to remove Multisites from this joomla site - since i could not get that to work (can not copy the site to another server i am trying to move to), i purchased SPTransfer to copy out all the content over to a new fresh joomla install...which does not work cause the SPTransfer seems to be not compatible...?!

what has to be done to make it compatible?
trying to launch the component in a slave site says that tables are missing - and they are not being copied to the slave site(s)...

thanks!
Michael
rossi256
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12029
Re: Transfer site to another server 10 Years, 8 Months ago Karma: 54
To perform the backup of the files instead of the symbolic link, you have to use the "-h" or "--derefrence" in the tar command.

You can use for example

tar -chzf site.tgz THE_DIRECTORY_TO_BACKUP

This should create (-c) a derefence (-h) zipped (-z) file (-f)


If in the DB you are using sharing of content then you have effectivelly more work to do to replace the sharing of the content by the physical content.

In this case, you will have to collect the SQL files and perform the changes manually before the restore.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla