Drupal · 14 min read · Updated

Acquia Monitoring, Logs, Backups and Disaster Recovery for Drupal Sites

Acquia watches its platform; you watch your application. Monitoring and troubleshooting, then what Acquia backups cover and a restore test that went from 4 hours to 55 minutes.

Acquia monitoring backup disaster recovery

This is Part 7 of 10 in Drupal on Acquia: Enterprise Operations Guide, a free series for the people who run Drupal sites on Acquia Cloud Platform. Acquia watches its platform; you watch your application. Monitoring and troubleshooting, then what Acquia backups cover and a restore test that went from 4 hours to 55 minutes.

Monitoring, logs and troubleshooting

The careers site had been showing an error on its job search page for most of a weekend before anyone noticed. A candidate eventually emailed the HR team on Monday morning. By then, the site had lost two days of applications during a hiring campaign. The cause was a change in the HR system’s API that made the job feed import fail, leaving an empty listing that the search page could not handle.

Nothing in Acquia’s platform was broken, so nothing in Acquia’s platform alerted anyone. Acquia monitors its infrastructure. Monitoring your application is your job.

An eight-step troubleshooting path from defining the problem to writing it down (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
An eight-step troubleshooting path from defining the problem to writing it down.

What to monitor

Good monitoring answers three questions: is the site up, is it working correctly, and is it healthy enough to stay that way?

LayerWhat to watchTools
AvailabilityKey pages return 200 responses within an acceptable time, from several locationsExternal uptime monitoring
FunctionalityForms submit, search returns results, logins work, integrations import dataSynthetic transaction checks; Drupal-level checks
ErrorsPHP errors, Drupal errors, 5xx responses, failed cron runs, failed queue itemsLogs, log forwarding, APM
PerformanceResponse times, cache hit rates, slow requestsEdge analytics, APM, Cloud Platform metrics
CapacityResource usage against subscription limits, storage growthCloud Platform metrics and usage reports
SecurityWAF blocks, unusual traffic, failed logins, new admin accountsEdge security dashboards, Drupal logs
FreshnessCertificates, domains and Drupal versions approaching expiry or end of supportRegister with reminders (the CDN and edge security section, the upgrades section)

The careers site incident would have been caught by a simple synthetic check: request the job search page and confirm it lists at least one job.

Uptime and synthetic checks

Set up external uptime monitoring for every production site, checking key pages every minute from several locations. Alert the on-call person when checks fail from more than one location, to avoid false alarms.

Add synthetic checks for critical functions:

  • The home page contains expected text.
  • Site search returns results for a known term.
  • The lead form loads (and, in a test mode, submits).
  • The job listing shows at least one job.
  • An editor login page loads.

Also check from inside Drupal. A small custom endpoint or a health check module can report whether cron ran recently, whether queues are processing, whether integrations last succeeded, and whether the search backlog is small. External monitoring can call it and alert when something is wrong.

Logs on Acquia

Cloud Platform provides several logs for each environment. The exact set varies by generation, but typically includes:

LogWhat it containsUse it for
Web server access logEvery request: time, path, status code, response time, user agentTraffic patterns, errors by path, bots, slow requests
Web server error logServer-level errorsConfiguration and server errors
PHP error logPHP errors, warnings and fatal errorsCode errors, memory and timeout problems
Drupal log (watchdog or syslog)Messages logged by Drupal and modulesApplication errors, security events, integration failures
Drupal request logRequest timing at the application levelSlow requests
Load balancer or Varnish logsRequests handled at the platform edgeCache behavior, errors before Drupal

You can view and download logs in the Cloud Platform interface and stream them with Acquia CLI (for example, acli log:tail). Logs on the platform are retained for a limited time, so for anything you need to keep or analyze across time, use log forwarding.

Log forwarding

Cloud Platform can forward logs to an external logging service, such as your organization’s SIEM or log analytics platform, depending on your subscription. Forwarding gives you long-term retention, search across all environments and sites, dashboards, and alerting on patterns, such as a surge in PHP fatal errors or failed logins.

Forward production logs at minimum. Agree retention periods with your security and compliance teams.

Drupal logging

Drupal’s database logging module (dblog) writes messages to the database. On busy sites, this adds database load and grows tables. Many Acquia sites use the syslog module instead, so Drupal messages go to the platform’s log files and can be forwarded. If you keep dblog, limit its row count in configuration.

Request IDs

Each request on Acquia carries a request ID, available to your code and in logs. When a user reports an error, a request ID lets you find the exact request across logs. Consider showing the request ID on your error pages, so users and support staff can quote it.

A troubleshooting method

When something goes wrong, work through the same steps every time.

  1. Define the problem. What exactly is failing? For whom? Since when? On which environment and URL?
  2. Check what changed. Recent deployments, configuration changes, module updates, Acquia platform changes, DNS or edge changes, external system changes. Most problems follow a change.
  3. Check the edge. Is the problem at the CDN or WAF? Is a rule blocking requests? Is the edge returning cached errors?
  4. Check Varnish and caching. Does the problem happen for logged-in users, anonymous users, or both? Does bypassing the cache change it?
  5. Check the logs. PHP errors, Drupal logs and access logs for the time of the problem.
  6. Reproduce on Stage or locally, with a recent database copy.
  7. Fix, or roll back if the problem started with a deployment (see the deployment workflow section).
  8. Write it down. Record the cause and the fix, and add a check or alert so it is caught sooner next time.

Common errors and where to look

SymptomCommon causesWhere to look
500 error or “The website encountered an unexpected error”PHP fatal error; missing module after deployment; database update not runPHP error log; Drupal log; deployment task log
White screenPHP fatal error with error display off; memory exhaustedPHP error log
502 or 504 errorsRequests taking too long; PHP processes exhausted; slow external callsAccess log response times; APM; slow external services
503 errorsPlatform or capacity limits; maintenance; origin unreachable from edgeAcquia status page; Cloud Platform metrics; edge logs
403 errorsWAF rule; IP allowlist; Drupal permissionsEdge security events; Drupal access settings
Changes not appearingCaching at edge or Varnish; configuration not importedResponse headers; purge queue; drush config:status
Slow pagesCache misses; slow queries; external callsCache headers; APM; access log timings
Allowed memory size exhaustedHeavy pages, large imports, memory leaks in custom codePHP error log; APM

Alerting without noise

Too many alerts are as bad as none, because people stop paying attention. Design alerts carefully:

  • Alert on symptoms that matter to users: site down, critical form failing, error rate high.
  • Use thresholds and durations: for example, an error rate above a set level for five minutes, not a single error.
  • Send urgent alerts to the on-call person; send everything else to a team channel or daily summary.
  • Review alerts monthly. Remove alerts nobody acts on, and add alerts for incidents that were missed.

Webocreation Group: Never again a silent weekend

Arjun added uptime checks for every production site, synthetic checks for the job listing, search and forms, and a Drupal health endpoint that reported cron, queue and integration status. Production logs were forwarded to the company’s log platform, with alerts for spikes in PHP fatal errors and for failed job feed imports.

Two months later, the HR system changed its API again. The job feed import failed at 2:14 on a Saturday morning. The alert reached the on-call developer at 2:20, and the last successful import was restored within the hour. Candidates never saw an empty page.

Template: Monitoring plan

CheckTargetFrequencyAlert conditionAlert goes to
UptimeHome page of each production siteEvery minuteFails from 2 or more locations for 3 minutesOn-call
Search worksSearch for a known term returns resultsEvery 5 minutesNo results for 10 minutesOn-call
Job listingCareers listing shows at least one jobEvery 15 minutesEmpty for 30 minutesOn-call; HR web owner
Lead formForm page loads with expected fieldsEvery 5 minutesFails for 10 minutesOn-call
PHP fatal errorsForwarded logsContinuousAbove normal rate for 5 minutesTeam channel; on-call if severe
CronDrupal health endpointEvery 15 minutesNo successful run in 1 hourTeam channel
Certificate expiryEvery custom domainDailyLess than 21 days remainingTeam channel

Checklist

  • Set up external uptime monitoring for every production site.
  • Add synthetic checks for search, forms, logins and key integrations.
  • Build a Drupal health check covering cron, queues and integrations.
  • Forward production logs to a central logging platform with agreed retention.
  • Use syslog or limit dblog on busy sites.
  • Adopt a standard troubleshooting method and record causes and fixes.
  • Review alerts monthly to keep them meaningful.

Common traps

  • Relying on Acquia’s platform monitoring. It watches the platform, not your application’s behavior.
  • Only checking that the home page loads. Broken forms and empty listings go unnoticed.
  • Logs that disappear. Platform logs are kept for a limited time. Forward what you need.
  • Alert floods. If every alert is urgent, none of them are.
  • Skipping “what changed?” Most problems follow a change. Check first.

Acquia backups and disaster recovery

When the IT risk committee asked Arjun how long it would take to recover the corporate site if its production database were corrupted, he answered honestly: “I don’t know. Nobody has ever tried.”

Everyone assumed Acquia’s backups were enough. Acquia did back up the databases. But nobody at Webocreation Group knew how many days of backups were kept, how long a restore would take, whether uploaded files were covered in the same way, what would happen to content created since the backup, or who was allowed to make the call to restore. A backup nobody has restored is not a recovery plan. It is a hope.

Partial loss: restore elsewhere and move content back. Full loss: restore production and freeze editing (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
Partial loss: restore elsewhere and move content back. Full loss: restore production and freeze editing.

What Acquia backs up

Cloud Platform provides database backups for your environments. Typically:

  • Automatic daily database backups, retained for a period that depends on your subscription and generation.
  • On-demand database backups, which you can create at any time, for example before a deployment (see the deployment workflow section).
  • Additional backup capabilities on Cloud Next, such as continuous backups, which Acquia introduced as part of the platform’s resilience features. Check what your subscription includes.

You can download database backups and restore them to an environment through the Cloud Platform interface, Acquia CLI or the API.

Files and code are handled differently:

  • Code is in Git, which is itself a backup, as long as your repository is protected and you know which tag was deployed.
  • Uploaded files are stored on the platform with infrastructure-level protection, but the ability to restore individual files or roll back a files directory to a point in time may be limited, depending on your subscription and generation. Read the documentation and ask Acquia exactly what is covered.

Write down the answers for your own subscription. They are the starting point of your recovery plan.

Recovery objectives

Two numbers define what “recovery” means for each site:

  • Recovery point objective (RPO): how much data you can afford to lose, measured in time. An RPO of 24 hours means losing up to a day of content changes is acceptable. An RPO of 15 minutes is much stricter.
  • Recovery time objective (RTO): how long the site can be unavailable or degraded before recovery is complete.

Agree these with business owners for each site, based on its importance. A marketing campaign site may accept an RPO of 24 hours and an RTO of a day. A site handling transactions or regulated information may need much tighter targets, which may require higher subscription tiers, additional backups or multi-region options.

Scenarios to plan for

Plan for specific scenarios, not a vague “disaster.” The most likely ones for a Drupal site on Acquia are:

ScenarioExampleTypical recovery
Bad deploymentRelease breaks the site or damages data through an updateRoll back code; restore pre-deployment database backup (see the deployment workflow section)
Accidental data lossEditor deletes a section; bulk operation goes wrongRestore content from a backup copy into a separate environment, then move the specific content back
Database corruptionA module bug corrupts dataRestore the most recent good backup; reapply content changes where possible
Security compromiseAttacker modifies content or codeIsolate; restore known-good code and database; rotate credentials; investigate (see the security section)
Files deleted or damagedBulk deletion of mediaRestore files according to what your subscription supports; use your own files backup if needed
Platform or regional outageAcquia infrastructure problem in your regionAcquia’s platform recovery; multi-region failover if your subscription includes it; static fallback at the edge
Edge or DNS failureCDN outage; DNS misconfigurationBypass or switch edge provider; correct DNS

Restoring without losing new content

The hardest part of restoring a production database is that it erases everything created since the backup. For accidental data loss, a full production restore is often the wrong tool.

A safer approach for partial loss:

  1. Restore the backup into a non-production environment, such as Stage or an additional environment.
  2. Find the lost content there.
  3. Move it back to production, by recreating it, exporting and importing it, or using a migration script.

Practice this procedure, because it is the one you will use most often.

For a full production restore, decide quickly and communicate clearly. Put the site in maintenance mode or freeze editing during the restore, record which content changes will be lost, and ask editors to recreate essential changes afterwards.

Keeping your own backups

Some organizations keep their own copies of production data, outside Acquia, for compliance, longer retention or independence from a single provider. If you do:

  • Export database backups on a schedule using Acquia CLI or the API, and store them in your own secure storage.
  • Copy files periodically if your recovery objectives require it.
  • Encrypt backups and control access tightly, because they contain personal data.
  • Apply retention rules that match your data protection policies. Keeping personal data longer than needed creates its own risk.
  • Test restoring them, just as you test Acquia’s backups.

Multi-region and high availability

Cloud Platform’s production environments are designed for high availability within a region. For protection against a full regional outage, Acquia offers multi-region options for certain subscriptions. In 2026, Acquia announced multi-region failover for its top subscription tier. Multi-region setups add cost and complexity: database replication, file synchronization, DNS or edge failover, and testing. Consider them for sites whose RTO and RPO cannot be met otherwise.

A cheaper partial measure is a static fallback: a simple, static version of key pages served from the edge if the origin is unavailable. It will not let editors work or forms submit, but it keeps essential information online.

Testing recovery

Test recovery at least twice a year, and after major platform changes such as a move to a new infrastructure generation.

A recovery test should:

  1. Pick a scenario, such as a corrupted production database.
  2. Restore the most recent production backup into a non-production environment.
  3. Time each step, from the decision to restore to a working site.
  4. Check the restored site: content, users, files, search and integrations.
  5. Compare the results with your RTO and RPO.
  6. Record what went wrong and fix the procedure.

The first test almost always finds problems: missing permissions, unclear steps, files that were not included, a search index that needs rebuilding. Finding them in a test is the point.

Webocreation Group: The first restore test

Arjun ran his first recovery test on a Thursday afternoon, restoring the previous night’s production backup of the corporate site to an additional environment. It took four hours instead of the one hour everyone had guessed. The database restore itself was quick. The time went into discovering that Arjun’s role could not restore backups to that environment, that the restored site pointed to the production search index (see the search and integrations section), and that nobody knew which files had changed since the backup.

He fixed each issue, documented the steps, and ran the test again a month later. It took 55 minutes. The risk committee accepted an RTO of four hours and an RPO of 24 hours for the corporate site, which the tested procedure met comfortably, and approved budget for nightly exports to company storage to meet a separate compliance retention requirement.

Template: Recovery plan

ItemCorporate site
Business ownerCorporate communications
RPO24 hours (content created since last backup may be lost)
RTO4 hours
Acquia backupsDaily automatic; on-demand before each deployment; retention per subscription (recorded)
Own backupsNightly database export to company storage, encrypted, 90-day retention
FilesCovered by platform protection as documented; weekly export of files manifest
Who can decide to restorePlatform lead or head of IT operations
Restore procedureLink to tested runbook
Partial recovery procedureRestore to additional environment; move content back
FallbackStatic key pages at the edge
Last testDate, duration, result

Checklist

  • Find out exactly what Acquia backs up for your subscription, how long backups are kept and how restores work.
  • Agree RPO and RTO with the business owner of each site.
  • Write procedures for full restore and partial content recovery.
  • Decide who can authorize a production restore.
  • Decide whether you need your own backups, and secure them if you do.
  • Consider a static fallback for critical sites.
  • Test recovery twice a year and after major platform changes.

Common traps

  • Assuming backups mean recovery. Until you have restored one, you do not know.
  • Full restores for partial losses. Restore elsewhere and move back only what was lost.
  • Forgetting files. Database backups do not cover uploaded files in the same way.
  • Restored sites writing to production systems. Check search and integration settings on restored copies.
  • No decision-maker. In an incident, someone must have authority to say “restore now.”
Drupal on Acquia: Enterprise Operations Guide (full PDF)Every article from this series in one printable PDF.PDF · 560.0 KB
Free download: unlock it in one step

Share this page

or

Mailchimp opens in a new tab to confirm. Unsubscribe any time.

Filed underDrupal
Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *