• Docs
  • Talk to an expert
Blog
Blog
BlogProductCase studiesNewsInsights
Blog

Drupal patching, from two hours to three minutes

DrupalautomationCLI
02 December 2026
Share
This post is also available in German and in French.

TL;DR

  • To automate Drupal updates safely, the University of Missouri first moved its sites onto one standard setup, with two content management systems in place of 13.
  • Before that, patching one Drupal site by hand took the web team about two hours, or roughly 600 hours for one round of updates across 300 sites.
  • Once the sites shared a setup, the team scripted its updates with the Upsun Cloud CLI and API, and each site took two to three minutes to patch, unattended, plus some QA.

Two hours. That's how long it took a developer at the University of Missouri (Mizzou) to patch one Drupal site by hand.

The next site took another two hours, and so did the one after that. With about 300 Drupal sites to look after, one round of updates came to roughly 600 hours of developer time, according to John Boyer, then a principal programmer and analyst on the university's Digital Service team.

By 2020, when the university first shared its story, the same update took two to three minutes per site, and nobody had to watch it run. Getting there started with a problem that had nothing to do with patching.

Thirteen ways to build a website

Before anything could be automated, the university had to stop building every site differently.

For years, any school, division or department at Mizzou with funding could hire its own developer, set up its own server or buy its own hosting. By the time the web team stepped in, the university had about 1,600 sites across 13 content management systems with no shared standards.

Just working out how one site was built could take days or weeks. You can't script an update when every site needs a different one, so someone opened each site and did the work by hand.

Two systems, one way of working

Once every site shared the same shape, the team could write the update once and run it everywhere.

The university chose two systems, Drupal and WordPress, and set them up to share about 90% of the same processes. After a formal RFP, it moved roughly 400 sites to Upsun Cloud, each with the same workflow, build process and setup. Then the team used the Upsun Cloud CLI and API to script routine work across the whole fleet, updates included.

Patching took two to three minutes per site instead of two hours. Boyer estimated the team saved about 1.5 hours per site every month, and the team reported spending 75% less time on maintenance and updates overall. A new site could be set up and synced in about two minutes.

It wasn't hands-free. "There's some QA," Boyer said. The script took over the repetitive steps, and a person still checked the results. The university still uses Upsun Cloud for its Drupal and WordPress sites today. The full story is in our University of Missouri case study.

If you look after a Drupal fleet

The script is the easy part. The shared setup underneath it is what makes the script safe to run.

Agree on the setup before you write the script

Mizzou's speedup came from standardizing first. Pick one Drupal setup and move your sites onto it. Sites that can't follow the standard yet stay out of the automation until they can.

Our guide to patching a Drupal fleet without manual deployments shows what that shared setup can look like.

Run the update somewhere other than production

The case study doesn't show Mizzou's own scripts, but you can build the same loop on Upsun Cloud today.

Describe the update as a source operation in your .upsun/config.yaml file, and run it on an environment set aside for testing, as the docs recommend. That environment starts with a copy of production's data by default.

Once it works on one site, the Upsun Cloud CLI can run the same update across every project in your fleet, so one script replaces hundreds of manual updates.

Keep a person at the end of the loop

Mizzou kept a person checking the results, and that's the right habit to copy. Merge into production only after someone has reviewed the update, and keep in mind that production gets an automated backup every day by default.

 

When a script won't save you

Automation multiplies whatever process you already have, good or bad.

If your sites don't share a setup, a script has nothing consistent to work with, so standardize them first. And if there are no tests and no review step, a loop that updates 300 sites will update all 300, whether or not the release broke something.

If you look after a Drupal fleet, start a 15-day free trial or talk to an expert.


Frequently asked questions 

How long does it take to patch a Drupal site?

By hand, it depends on how the site is built. At the University of Missouri it took about two hours per site. With a standard setup and an automated, tested process, the team brought that down to two or three minutes, plus review.

Can you fully automate Drupal security updates?

You can automate most of the steps: updating dependencies, running database updates and deploying to a test environment. It's worth keeping a person in the loop before production. Mizzou kept a QA step.

Stay updated

Subscribe to our monthly newsletter for the latest updates and news.

Deploy possibility.
Try Upsun for free.

Build with DispatchDeploy on Cloud