Docs / Kubernetes & Orchestration / How to Upgrade Marketplace Apps Without Data Loss

How to Upgrade Marketplace Apps Without Data Loss

By Admin · Mar 17, 2026 · Updated Apr 23, 2026 · 362 views · 1 min read

Overview

Marketplace apps receive regular updates for security patches and new features. This guide covers safe upgrade procedures that preserve your data.

Pre-Upgrade Checklist

  1. Create a backup of your data volumes
  2. Note your current version
  3. Check the changelog for breaking changes
  4. Test in a staging environment if possible

Backup First

# Backup Docker volumes\ncd /opt/apps/YOUR_APP\ndocker compose exec db mysqldump -u root -p database > backup.sql\n\n# Or for full volume backup\ndocker run --rm -v YOUR_APP_data:/data -v $(pwd):/backup alpine tar czf /backup/data-backup.tar.gz /data

Performing the Upgrade

# Pull latest images\ndocker compose pull\n\n# Recreate containers with new images\ndocker compose up -d\n\n# Check logs for migration issues\ndocker compose logs -f --tail=50

Rollback If Needed

# Restore from backup\ndocker compose down\ndocker run --rm -v YOUR_APP_data:/data -v $(pwd):/backup alpine tar xzf /backup/data-backup.tar.gz -C /\ndocker compose up -d

Was this article helpful?