0

I need to completely restore my magento 2 folder using a local backup I have. Will I face any issues if I completely remove the magento 2 folder on the server and reupload the backup folder to replace it?

What is the best way to go about doing this?

1
  • If you want totally website like local then you need to replace the database also. Otherwise settings will be from live one and files from local one. Take back up before all you task do.
    – Mayur
    Sep 27, 2019 at 13:12

1 Answer 1

0

There is no issue. But you need to change in app/etc/env.php from local to live database.

If you want whole the site from local to live than you need to migrate database also from local to live then it will work like you want.

Because if the setting of both is different in admin then it will not work as you want.

And do not forget to back up first to do all this things.

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.