Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Operations tasks

Index of step-by-step operations tasks for a public-sector Exponential site - maintenance windows, backups and restores, caches, cronjobs, logs, the audit trail, upgrade checks, deploys, certificates, databases…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/operations/README.md

On this page

Operations tasks

This folder holds short, numbered procedures for the administrators who run a public website. Each task names what you need before you start, gives the exact commands and admin screens, says how to check the result, and notes what to put in a change record. The explanations behind them are in Running Exponential in the public sector; the hosting companies' versions are in Hosting operations.

Contents

  1. Maintenance, backup and restore
  2. Caches and deploys
  3. Cronjobs
  4. Logs and the audit trail
  5. Checks and evidence
  6. Certificates, databases and configuration
  7. Suggested order
  8. Related pages

Maintenance, backup and restore

TaskAnswer in one line
Take the site into maintenance for an upgradeSetup > Maintenance or maintenance.php on with a message, a duration and allowed addresses.
Bring the site back onlineSwitch off, clear the caches in front, check 200, resume cron.
Take a backup before a changeDatabase dump and file archive inside the window.
Back up a SQLite site safelysqlite3 ... ".backup ...", never a file copy.
Restore last night's backup to a test serverRestore with the file mail transport; record the time taken.
Pause cronjobs during maintenancePause on Setup > Cronjobs, with a note; resume after.

Caches and deploys

TaskAnswer in one line
Clear caches after a settings change--clear-tag=ini, reload or deploy, page caches last.
Clear caches after a template changeTemplate caches, override cache for new templates, then page caches.
Clear the Velocity response cacheexp:velocity cache clear, after the new code runs.
Warm the caches after a deploypreload.php, warm.php or Preload Sites.
Deploy a PHP changeexp:velocity deploy --dry-run, then for real.
Enable the static cacheGenerate, check, StaticCache=enabled.

Cronjobs

TaskAnswer in one line
Check that cronjobs runcrontab:list, Setup > Cronjobs, the workflow status bar.
Run a cronjob part by handRun part, or runcronjobs.php --script=workflow.php.

Logs and the audit trail

TaskAnswer in one line
Read the error digestThe daily five minutes on Error digest.
Check log healthDisk budget, growth, permissions, rotation in effect.
Rotate and prune logsexp:logs --rotate-all, --prune, always --dry-run first.
Review the security log weeklyRules, high-confidence 200s, floods, a short record.
Find an error by its referenceexp:logs --reference=ERR-... or the viewer's search.
Verify the audit trailexp:audit verify; exit 1 means broken.
Check who gets audit alertsexp:audit alerts recipients; a team mailbox.
Export audit records for an auditorAudit > Export or exp:audit export --format=bundle.

Checks and evidence

TaskAnswer in one line
Check upgrade consistencyCheck file consistency or checkmanifest.php --all.
Check the database schemaCheck database consistency; apply SQL only after a backup.
Read system information for a support requestDownload report (.txt), secrets left out.
Check security headersFive headers, 404 for dot files, cookie flags.
Check file and directory permissionsOnly var/ writable, one owner, hardened modes.
Check PHP extensions before an upgradeexp:velocity ext check and the deprecations log.
Monthly operations reviewOne hour, fifteen items, one record.

Certificates, databases and configuration

TaskAnswer in one line
Renew an HTTPS certificate in Velocityexp:velocity ssl show and ssl renew; no restart.
Switch Velocity to Let's Encryptmode: letsencrypt, staging directory first.
Add a read replicaUseSlaveServer on MySQL or MariaDB.
Fail over to a standby databaseNo automatic failover: change Server, clear INI, deploy.
Sign out all sessions of a userDisable, change the password, or remove sessions.
Set up environment-specific settingsEXP_ENV and variant files.
Lock configuration with ManagedByDeploymentOne switch; changes only through deployment.

Suggested order

Before go-live: environment settings, permissions, security headers, audit alert recipients, cronjobs, a backup and a restore test, ManagedByDeployment. Then the routine: the error digest daily, the security log weekly, the monthly review. Keep the maintenance, deploy and restore tasks at hand for change windows.

Up: Tasks and Running Exponential in the public sector. The section landing page is Governments: start here.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x