Files or databases cannot be copied to a production environment where the Protection mode is enabled.
Enable the Protection mode to prevent the copy of files and databases to a production environment. This restricts misconfiguring a live site with unwanted data.
To enable the Protection mode for a production environment:
Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases.
Click Enable.
The system displays a confirmation message and updates the Protection mode option on the Overview page to Enabled. If the Protection mode is not enabled, the system displays an alert message.
To allow files and databases to be copied to a production environment, you can disable the Protection mode. Acquia recommends that you exercise caution before you disable this mode for your production environment.
To disable the Protection mode for a production environment:
Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases.
Click Disable.
The system displays a confirmation message and updates the Protection mode option on the Overview page to Disabled. However, if the system is unable to disable the Protection mode, the system displays an alert message.
To know if the Protection mode is enabled or disabled for your production environment:
Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases.
You can override the environment-level setting for the Protection mode at site level. This ensures that your sites can have a mode different from the one set at the environment level.
To override the Protection mode at site level:
Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases.
In Sites, go to the Associated section, locate a specific site, and click Actions > Override Protection mode.
This displays the Override Protection Mode pop-up window.
Click Save.
The system displays a confirmation message and updates the value for the PROTECTION MODE column. However, if the system is unable to override the environment-level setting, the system displays an alert message.
To know if the Protection mode is enabled or disabled at the site level:
Go to Codebases.
The system displays all available codebases along with the number of sites and environments associated with the codebases.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.