Skip to main content
Geneva, Switzerland Call our support
English

Backups and maintenance

Keeping the site healthy.

What to back up

AssetMethod
DatabaseRegular mysqldump or managed host backups
Uploadspublic/uploads/ — not in git by default
Storagestorage/ — config packages, caches, plugin data
CodeGit for core, themes, and plugins

Backup schedule

  • Daily — Database on production
  • Weekly — Full file backup including uploads
  • Before imports — Snapshot DB before blueprint or config sync apply

Maintenance tools

Admin → Tools → Maintenance includes:

  • Cache clear
  • Revision retention settings
  • Scheduled job hints and health checks
  • Site health warnings (slow plugins, disk space)

From CLI: composer cache:clear when deploying code updates.

Background jobs

Schedule publish, media compression, and sitemap warming rely on cron:

*/15 * * * * php bin/cms.php jobs:dispatch && php bin/cms.php jobs:work --limit=20

Updates

Apply Struxa CMS updates via the in-app updater or documented ZIP merge process. Test on staging first. Plugin and theme updates come from the catalog or manual ZIP install.

Disaster recovery

  1. Restore database dump to empty MySQL.
  2. Deploy matching code version from git.
  3. Restore public/uploads/.
  4. Run composer install and composer migrate.
  5. Verify .env credentials and clear cache.