Scenario 2: Restore a snapshot
Read: Restore a snapshot on Adobe Commerce on cloud infrastructure in our developer documentation.
Creating a snapshot must be our very first step after accessing the Adobe Commerce on cloud infrastructure account and before applying major changes. It is a best practice and highly recommended.
Read: Create a snapshot in our developer documentation.
Scenario 3: No snapshot, build stable (SSH connection available)
This section shows how to reset an environment when you have not created a snapshot but can access the environment via SSH.
The steps are:
- Disable Configuration Management.
- Uninstall the Adobe Commerce software.
- Reset the git branch.
After performing these steps:
- Your Adobe Commerce installation returns to its Vanilla state (database restored; deployment configuration removed; directories under
var
cleared). - Your git branch is reset to the desired state in the past.
Read the detailed steps below.
Step 0 (Prerequisite): Remove config.php to disable Configuration Management
We need to disable Configuration Management so that it does not automatically apply the previous configuration settings during deployment.
To disable Configuration Management, make sure that your /app/etc/
directory does not contain the config.php
file.
To remove the configuration file, follow these steps:
- SSH to your environment.
- Remove the configuration file:
rm app/etc/config.php
Read more about Configuration Management:
- Reduce deployment downtime on Adobe Commerce on cloud infrastructure in our support knowledge base.
- Configuration management for store settings in our developer documentation.