Version Control and Rollbacks | Deployment History Guide
Keep all your deployment versions and instantly rollback if needed.
What is Version Control?
Every time you deploy, a new version is created automatically.
You can:
- View history - See all deployments
- Compare versions - See what changed
- Rollback - Go back to previous version
- Delete versions - Remove old versions
Deployment History
Viewing History
Each deployment is recorded with:
- Version number - Auto-incrementing ID
- Deployment date - When deployed
- Deployed by - Who made the deployment
- Status - Success, in progress, failed
- Notes - Custom deployment notes
Accessing History
- Open Site Details
- Go to Versions or History tab
- See all deployments listed
- Newest version at top
Version Information
Each version shows:
- Build time - How long build took
- Deployment time - When it went live
- Files changed - What was updated
- Status - Success or failed
- Size - Total deployment size
Rollback to Previous Version
Instantly go back to a working version.
Why Rollback?
- Deployment broke something - Go back to stable version
- Content error - Wrong content deployed
- Performance issue - New version is slow
- Security issue - Found vulnerability
- User complaints - Users report problems
Steps to Rollback
- Go to Site Details
- Click Versions tab
- Find the version you want
- Click Rollback or Restore
- Confirm rollback
- Site reverts to that version
During Rollback
- Site becomes unavailable briefly
- Files revert to previous state
- CDN updates worldwide
- Takes 1-5 minutes typically
- You can monitor progress
After Rollback
- Verify site works correctly
- Test key functionality
- Check for any issues
- Site should be stable again
- Note why you rolled back
Comparing Versions
See what changed between versions.
What You Can Compare
- Files added - New files in new version
- Files removed - Deleted from new version
- Files changed - Modified files
- Size difference - How much larger/smaller
- Performance - Load time differences
How to Compare
- Go to Versions tab
- Select two versions to compare
- Click Compare
- See differences highlighted
- Review changes in detail
Managing Versions
Version Storage
All versions are kept:
- Automatic storage
- No action needed
- Accessible anytime
- Can be deleted manually
Deleting Old Versions
Free up space by deleting unused versions:
Steps:
- Go to Versions tab
- Find version to delete
- Click Delete or menu
- Confirm deletion
- Version is removed
Note: Cannot delete current active version
Keeping Important Versions
Mark versions as important:
- Won't be auto-cleaned
- Easier to find later
- Quick restoration
Deployment Strategies
Blue-Green Deployment
Test new version before switching:
- Blue (current) - Live version users see
- Green (new) - New version being tested
- Test - Verify green works
- Switch - Users see green now
- Keep blue - Easy rollback if needed
Canary Deployment
Gradually roll out to users:
- Deploy to small percentage
- Monitor for issues
- Gradually increase percentage
- Rollback if problems found
- Full deployment when stable
Version Naming
Auto-Generated Names
Versions have automatic numbering:
- Version 1, Version 2, etc.
- Chronological order
- Increment automatically
Custom Version Names
You can name versions manually:
- During deployment, add version name
- Examples:
v1.2.3- Semantic versioning2024-01-15- Date-basedproduction-stable- Status-basedfeature-login- Feature-based
Deployment Timeline
Understanding the Timeline
Timeline shows:
- Date deployed - When it happened
- Person who deployed - User name
- Build duration - How long build took
- Deployment status - Success/failed
- File changes - What was in it
Finding Specific Version
- Browse timeline
- Look for specific date
- Check who deployed it
- See what was deployed
Automatic Versioning
How It Works
- Every deployment creates version automatically
- No manual action needed
- Versions numbered sequentially
- Oldest versions can be deleted
- Recent versions always kept
Retention Policy
How long versions are kept:
- Recent (7 days): All kept
- 1 month old: Most kept
- 3+ months old: Can be deleted
- Critical versions: Keep indefinitely
Best Practices
✓ Always test before deploying - Prevent need for rollback
✓ Keep at least 2-3 versions - Easy rollback access
✓ Name versions clearly - Easy identification
✓ Document deployments - Note what changed
✓ Monitor after deploy - Catch issues early
✓ Archive important versions - Keep long-term
✓ Regular cleanup - Delete very old versions
✓ Test rollback process - Know it works
Common Scenarios
Scenario: Bug in New Version
- User reports bug
- Check deployment history
- Find last stable version
- Click Rollback
- Site back to working state
- Fix bug locally
- Redeploy when fixed
Scenario: Content Error
- Wrong content deployed
- Check version history
- Find correct version
- Restore that version
- Correct content shows
- Fix and redeploy
Scenario: Performance Drop
- Users report slow site
- Check recent deployments
- Compare versions
- Find performance difference
- Rollback to faster version
- Investigate issue
- Deploy optimized version
Scenario: Planned Update
- Plan new feature deployment
- Deploy to staging (version X)
- Test thoroughly
- Deploy to production (version Y)
- Monitor performance
- Keep version X available for rollback
Version Storage Limits
Space Considerations
- Each version takes storage space
- Old versions use less space
- Can delete to free space
- Backups automatically stored
Deleting to Save Space
- Go to Versions
- Sort by date (oldest first)
- Delete versions over 3 months old
- Keep recent 5-10 versions
- Archive critical versions
Automation and CI/CD
Continuous Deployment
Automatically deploy on code push:
- Connect Git repository
- Every push creates version
- Build runs automatically
- Deploys if successful
- Rollback if failed
Version Naming in CI/CD
Use commit hash or semantic versioning:
v1.2.3from git tags- Commit hash:
a1b2c3d - Branch name:
main-2024-01-15 - Timestamp:
20240115-143022
Related Topics
Quick Reference
| Task | Steps |
|---|---|
| View versions | Site Details → Versions tab |
| Rollback | Select version → Click Rollback |
| Compare versions | Select two → Click Compare |
| Delete old version | Find version → Click Delete |
| Name a version | During deployment, enter name |
| Check deployment date | Look at version timeline |