Step 7: Rollback procedures
- Last Updated: August 12, 2026
- 1 minute read
- OpenEdge MCP Server
- Version 1.1
- Documentation
If validation identifies issues with the upgrade, you can restore your previous working deployment using one of these rollback methods.
Image-only rollback
Follow these steps to restore the previous Docker image while keeping the existing profile
configuration unchanged:
- Stop the running profile:
Set-Location $env:OEMCP_HOME .\mcpgen.ps1 stop $Profile - Reload the previous image:
# Reload previous version image & 'C:\path\to\previous-distribution\load_images.ps1' - Restart the profile:
.\mcpgen.ps1 start $Profile
Complete profile rollback
Follow these steps to restore the profile directory from backup and return the deployment to
its previous working state:
- Stop the running profile:
Set-Location $env:OEMCP_HOME .\mcpgen.ps1 stop $Profile - Move the current generated profile aside for analysis:
# Preserve upgraded profile Move-Item "generated\$Profile" "generated\$Profile.post-upgrade" - Restore and restart the profile:
# Restore from backup Expand-Archive -LiteralPath "..\$Profile-backup-<timestamp>.zip" ` -DestinationPath . -Force .\mcpgen.ps1 start $Profile - Restore the previous mcpgen wheel files:
# Restore wheel files from the previous distribution Copy-Item 'C:\path\to\previous-distribution\wheels\mcpgen-*.whl' ` "$env:OEMCP_HOME\wheels\" -ForceNote: If you removed the previous distribution, you can restore the mcpgen tooling by reinstalling from the archived distribution zip file.
Production bundle rollback
Follow these steps to restore production export artifacts and, when needed, the previous
container image:
- Stop the production container:
Set-Location 'exports\export_<profile>_<timestamp>' .\run.ps1 stop -Port <port> -Name <container-name> - Restore the compose file:
# Restore previous compose file Copy-Item 'docker-compose.mcp.yml.backup' 'docker-compose.mcp.yml' - Reload previous image (if using latest):
# If using :latest, reload previous image & 'C:\path\to\previous-distribution\load_images.ps1' - Restart the production container:
.\run.ps1 start -Port <port> -Name <container-name>