Migration to another host


Since in version 4.0.0 PHP 7 is needed i need to migrate the InvoiceNinja to another host.
I have it now in invoiceninja.domain1.com and i want to move it to invoiceninja.domain2.com.

Is there a guide on how to do this ?

thank you

You just need to use mysqldump to transfer your database and make sure to copy over the .env file.

You mean i copy the files, import the database…
And do what with the .env file ? (Btw where is this .env file? What is this .env file?)

That’s correct, copy over the new files and your existing database.

The .env file is in the root folder.

Make sure to also add back the cronjobs…

It worked great.

Thank you all so much.