1

I have a really silly question. I have a live website that is hosted on a third party host and need to make a copy of it on my private server to be used as a staging environment. So far I have got the latest Magento 2 going on my Centos7 server after almost 2 weeks of mucking around. I am aware that I have to copy the files from the magento directory on the live server which I have and the sql database which I have done also. But here is the thing, the live webiste is using Magento 2.1.5 I think, and my version I have installed is 2.3.0. Is this going to be a problem?

Thanks in advance

  • yes it will cause problem because as per the version changes the code changes & also the usage of the data present into the database & the code changes. it would be better that if you will have the same version on the new server. Or better if you simply copy the code files & database to your new server from the old server! – ABHISHEK TRIPATHI Mar 8 at 14:27
  • Hi Abhishek, That is what I am thinking to do, copy the code and db from the live (older version of magento) server to the staging server (latest version of magento). Is that what you mean? – Bozz Mar 9 at 9:51
  • or for me to update the live website to the latest (same) version which I am hesitant to do. – Bozz Mar 9 at 10:01
  • yes! you should copy the live sites content to the staging site – ABHISHEK TRIPATHI Mar 11 at 3:30
  • OK doing it now. Moved the db and imported it, assigned full priv to the db user just like on the server. now mowing all the files to the root folder of magento. – Bozz Mar 12 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.