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.

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.

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?
| Layer | What to watch | Tools |
|---|---|---|
| Availability | Key pages return 200 responses within an acceptable time, from several locations | External uptime monitoring |
| Functionality | Forms submit, search returns results, logins work, integrations import data | Synthetic transaction checks; Drupal-level checks |
| Errors | PHP errors, Drupal errors, 5xx responses, failed cron runs, failed queue items | Logs, log forwarding, APM |
| Performance | Response times, cache hit rates, slow requests | Edge analytics, APM, Cloud Platform metrics |
| Capacity | Resource usage against subscription limits, storage growth | Cloud Platform metrics and usage reports |
| Security | WAF blocks, unusual traffic, failed logins, new admin accounts | Edge security dashboards, Drupal logs |
| Freshness | Certificates, domains and Drupal versions approaching expiry or end of support | Register 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:
| Log | What it contains | Use it for |
|---|---|---|
| Web server access log | Every request: time, path, status code, response time, user agent | Traffic patterns, errors by path, bots, slow requests |
| Web server error log | Server-level errors | Configuration and server errors |
| PHP error log | PHP errors, warnings and fatal errors | Code errors, memory and timeout problems |
| Drupal log (watchdog or syslog) | Messages logged by Drupal and modules | Application errors, security events, integration failures |
| Drupal request log | Request timing at the application level | Slow requests |
| Load balancer or Varnish logs | Requests handled at the platform edge | Cache 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.
- Define the problem. What exactly is failing? For whom? Since when? On which environment and URL?
- Check what changed. Recent deployments, configuration changes, module updates, Acquia platform changes, DNS or edge changes, external system changes. Most problems follow a change.
- Check the edge. Is the problem at the CDN or WAF? Is a rule blocking requests? Is the edge returning cached errors?
- Check Varnish and caching. Does the problem happen for logged-in users, anonymous users, or both? Does bypassing the cache change it?
- Check the logs. PHP errors, Drupal logs and access logs for the time of the problem.
- Reproduce on Stage or locally, with a recent database copy.
- Fix, or roll back if the problem started with a deployment (see the deployment workflow section).
- 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
| Symptom | Common causes | Where to look |
|---|---|---|
| 500 error or “The website encountered an unexpected error” | PHP fatal error; missing module after deployment; database update not run | PHP error log; Drupal log; deployment task log |
| White screen | PHP fatal error with error display off; memory exhausted | PHP error log |
| 502 or 504 errors | Requests taking too long; PHP processes exhausted; slow external calls | Access log response times; APM; slow external services |
| 503 errors | Platform or capacity limits; maintenance; origin unreachable from edge | Acquia status page; Cloud Platform metrics; edge logs |
| 403 errors | WAF rule; IP allowlist; Drupal permissions | Edge security events; Drupal access settings |
| Changes not appearing | Caching at edge or Varnish; configuration not imported | Response headers; purge queue; drush config:status |
| Slow pages | Cache misses; slow queries; external calls | Cache headers; APM; access log timings |
| Allowed memory size exhausted | Heavy pages, large imports, memory leaks in custom code | PHP 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
| Check | Target | Frequency | Alert condition | Alert goes to |
|---|---|---|---|---|
| Uptime | Home page of each production site | Every minute | Fails from 2 or more locations for 3 minutes | On-call |
| Search works | Search for a known term returns results | Every 5 minutes | No results for 10 minutes | On-call |
| Job listing | Careers listing shows at least one job | Every 15 minutes | Empty for 30 minutes | On-call; HR web owner |
| Lead form | Form page loads with expected fields | Every 5 minutes | Fails for 10 minutes | On-call |
| PHP fatal errors | Forwarded logs | Continuous | Above normal rate for 5 minutes | Team channel; on-call if severe |
| Cron | Drupal health endpoint | Every 15 minutes | No successful run in 1 hour | Team channel |
| Certificate expiry | Every custom domain | Daily | Less than 21 days remaining | Team 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.

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:
| Scenario | Example | Typical recovery |
|---|---|---|
| Bad deployment | Release breaks the site or damages data through an update | Roll back code; restore pre-deployment database backup (see the deployment workflow section) |
| Accidental data loss | Editor deletes a section; bulk operation goes wrong | Restore content from a backup copy into a separate environment, then move the specific content back |
| Database corruption | A module bug corrupts data | Restore the most recent good backup; reapply content changes where possible |
| Security compromise | Attacker modifies content or code | Isolate; restore known-good code and database; rotate credentials; investigate (see the security section) |
| Files deleted or damaged | Bulk deletion of media | Restore files according to what your subscription supports; use your own files backup if needed |
| Platform or regional outage | Acquia infrastructure problem in your region | Acquia’s platform recovery; multi-region failover if your subscription includes it; static fallback at the edge |
| Edge or DNS failure | CDN outage; DNS misconfiguration | Bypass 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:
- Restore the backup into a non-production environment, such as Stage or an additional environment.
- Find the lost content there.
- 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:
- Pick a scenario, such as a corrupted production database.
- Restore the most recent production backup into a non-production environment.
- Time each step, from the decision to restore to a working site.
- Check the restored site: content, users, files, search and integrations.
- Compare the results with your RTO and RPO.
- 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
| Item | Corporate site |
|---|---|
| Business owner | Corporate communications |
| RPO | 24 hours (content created since last backup may be lost) |
| RTO | 4 hours |
| Acquia backups | Daily automatic; on-demand before each deployment; retention per subscription (recorded) |
| Own backups | Nightly database export to company storage, encrypted, 90-day retention |
| Files | Covered by platform protection as documented; weekly export of files manifest |
| Who can decide to restore | Platform lead or head of IT operations |
| Restore procedure | Link to tested runbook |
| Partial recovery procedure | Restore to additional environment; move content back |
| Fallback | Static key pages at the edge |
| Last test | Date, 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.”
Related reading
- Free Automated Testing and monitoring of Opencart functionalities and sites
- Search Everywhere: Server Log Analysis for Search and AI Crawlers
- Incident Lifecycle for Ecommerce: From Alert to Postmortem
- Automated Offsite Backups for OpenCart: Database and Files to S3 or Backblaze B2 With restic, Cron and a Restore Drill
- Acquia Search, Integrations and Drupal Performance Tuning on Cloud Next
- Drupal Security on Acquia and Working with Acquia Support







