Hello,
We run two Cyclos environments: production and test . Over time the test environment has drifted, and its configuration (products, record types, custom fields, scripts, etc.) no longer matches production. We would like to bring the test environment back in line with production by copying the production database into it.
We have a few questions about this:
Is it supported/recommended to restore a dump of the production database into the test environment? Are there any steps we need to take after the restore (e.g. clearing caches, changing the root URL, re-indexing)?
We would prefer not to have all production users in the test environment. Is there a recommended way to reduce the number of users (e.g. removing or anonymizing most of them and keeping only a small set for testing), either before or after the restore? Is it safe to do this directly in the database, or should it be done through Cyclos (scripts, bulk actions, etc.) to keep the data consistent (accounts, transactions, records)?
Regarding the license key: after restoring the production database into the test environment, will the test instance keep its own (test) license key, or will it take the production license from the copied data? If it takes the production one, what is the correct way to restore the test license so both environments don't conflict?
Is there anything else we should disable in the copy to avoid side effects on real users, such as outgoing e-mails/SMS, scheduled tasks, or external integrations?
Thank you in advance for your help.
Nenhum ficheiro selecionado
Copying the production database to the test environment (reducing users + license key)
Moderators: alexandre, hugo, rmvanarkel
Copying the production database to the test environment (reducing users + license key)
Thanks for your kind attention.
Best regards,
JAR
Best regards,
JAR
-
rmvanarkel
- Posts: 270
- Joined: Tue Oct 05, 2010 1:14 pm
Re: Copying the production database to the test environment (reducing users + license key)
Most of the information you need can be found here: https://documentation.cyclos.org/curren ... nvironment
On a commercial license key, you are allowed to have a test/development/live environment.
On a commercial license key, you are allowed to have a test/development/live environment.