Operations & Support

Backups, Updates & Monitoring

Protect your shop data with Dual-Unlock AES-256-GCM encrypted snapshots, apply safe updates, and monitor system health from the Admin Dashboard.

Never Run Wipe Scripts in Production

Never execute staging reset or wipe scripts on a live shop database. Always use Dual-Unlock .ewpbak snapshots or standard non-destructive Docker Compose updates.

1. Dual-Unlock Encrypted Backups (.ewpbak)

Under Admin → Settings → Backups (/admin/settings?tab=backups), EventWrapPro generates compressed, AES-256-GCM encrypted .ewpbak archives covering all 39 PostgreSQL models, settings, users, orders, and inventory.

  • Slot A (Recovery Key): Your EWP-REC-XXXX-XXXX-XXXX-XXXX key generated during /setup. Unlocks backups even on a brand-new host.
  • Slot B (Server Env Key): Optional BACKUP_ENCRYPTION_KEY in .env for headless automated operations.
  • Automated Schedule: Controlled by BACKUP_ENABLED, BACKUP_INTERVAL_VALUE, and BACKUP_INTERVAL_UNIT, writing to /app/backups.

2. Safe Software Updates

Check available releases and trigger updates from Admin → Settings → Updates, or update manually via Docker Compose while preserving postgres_data, ./uploads, ./data, and ./backups:

Manual Docker Compose Update
cd /opt/eventwrappro
docker compose pull
docker compose up -d --no-deps app
docker compose ps

3. System Diagnostics & 4-Tab Admin Logs

Inspect live PostgreSQL latency, storage mount permissions, and SMTP/Stripe/License reachability under Settings → Diagnostics. Review security events, order changes, backup runs, and email deliveries in the 4-tab viewer under Settings → Logs ().

4. PostgreSQL CLI Backup & Health Check

Terminal (PostgreSQL CLI Fallback)
# Create a raw SQL dump alongside .ewpbak snapshots
docker exec -t eventwrappro-db pg_dump -U postgres -d eventwrappro > ./backups/backup_$(date +%F_%H%M%S).sql

# Verify HTTP health endpoint
curl -I http://127.0.0.1:3000/api/health