How to make backup site?

Good morning to everybody.

I am very new working with NEOS.

I have a question to see if you can help me.

Currently I’ll do the following:

  • Copy DB
  • Copy directory Data Persistent
  • ./flow flow:cache:flush
  • ./flow doctrine:migrate # just in case a slightly different version is there
  • ./flow resource:publish

This way it should work on my new site, or should I do something else.

That’s basically it. Depending on your use case, I would recommend https://github.com/sitegeist/Sitegeist.MagicWand to do that manual steps for you.

Can I copy the direct directory and paste it to the other site or do I need any command?

I am copying it directly and it is giving me an error