Back to articles
Build5 min read

Before a Database Upgrade: Record Versions, Dependencies and Recovery

A database upgrade plan should begin with the versions and dependencies the application actually uses.

Database connected to its application, driver, extensions and recovery copy

A database upgrade plan should begin with the versions and dependencies the application actually uses. The engine name alone cannot establish the migration path, the required tests or the recovery approach.

An application can appear healthy while its underlying components approach the end of support. On 12 November 2026, PostgreSQL announced the final release of version 14. Such an announcement is a reason to inspect the inventory and make decisions based on the system’s own circumstances.

Record who uses which component

Identify the engine, complete version, environment, service owner and applications using it. Distinguish production, staging and development. A developer’s laptop version is not necessarily the version serving everyday business work. The inventory should identify the environment explicitly instead of leaving that distinction to memory.

Keep the observation method and date. “Latest database” quickly loses meaning, whereas an exact version can be compared with the official support policy. An old document containing a version number does not prove the active state without an appropriate observation by the system owner.

Include easily missed dependencies: connection drivers, extensions, backup tools, reporting processes and integrations that read the database. One main application may have background jobs using different libraries or credentials. Named owners show the team who can answer compatibility questions and prevent an essential integration from being treated as somebody else’s undocumented responsibility.

Component Information to retain
Engine Complete version, environment, support status
Application and driver Versions used and connection method
Extensions Names, versions and required functions
Backup Method, location, owner, recovery evidence
Integrations Readers, writers, schedules and owners

Start with the application being considered and expand the list as its actual dependencies become clear. Complexity should follow the system rather than a desire to fill an elaborate template.

Distinguish change types and support boundaries

PostgreSQL’s versioning policy distinguishes minor updates from major-version changes. Read the corresponding policy for each engine; a small-looking version-number difference does not establish that a change needs no preparation.

Write down the complete current and candidate versions. Explain the target choice using reviewed support or compatibility requirements. “Newest” is a weak sole justification when an application or extension has not been checked against that candidate.

Review release notes and migration requirements for the actual starting point. A system several generations behind may need a different path from one receiving a maintenance update. Bring unresolved questions to its technical owner instead of assuming that every intervening version can simply be skipped. The inventory is useful precisely because it reveals where a general upgrade recommendation stops answering a specific system’s needs.

Test the paths the application actually uses

Inventory map comparing current and target versions with dependency checks
The inventory defines what to test; a target column does not prove the upgrade succeeded.

Build the test list from real work. Beyond logging in and opening a page, select activities that read, write, change status, export information and run background processes. Include the integrations and reports that make the system useful to the business.

Use a suitable test environment with appropriate data protection. Record each scenario, its expected result and the person assessing it. “The page opens” does not establish whether transaction rules, rounding, dates or reporting still behave as required. A business reviewer should be able to understand what success means.

Include less frequent but significant paths, such as cancellation or completion of pending work. Choose examples for their ability to expose an effect, rather than to inflate a check count. Where a dependency cannot be tested, retain that gap in the decision instead of declaring a pass based on an expectation.

Connect backup to returning to work

Read backup availability alongside recoverability. Record the data and configuration covered, the people who can access them and relevant recovery evidence. An existing backup file does not by itself prove that the application can resume the same working processes.

Set decision points before a production change: what conditions allow continuation, require a hold or trigger recovery? Consider transactions that could occur during the change window. Returning to an older copy without understanding newer transactions can introduce a different problem from the original failed upgrade.

Discuss this with the wider maintenance, backup and recovery plan. Explain the implications for data and service rather than merely noting that a snapshot exists. The business owner should know which work pauses and who will communicate when the service is ready for use again.

Finish with a reviewable decision brief

A useful brief contains the inventory, candidate target, reasons, compatibility findings, test scenarios, recovery approach and owners. Separate verified facts from questions still awaiting answers. Include observation dates so that the information is not treated as permanently current.

Give the brief to the application and infrastructure owners to determine the steps appropriate to the real system. A good inventory does not perform an upgrade. It makes the reasons, dependencies and decision boundaries visible before production work is scheduled, giving a technical conversation enough substance to produce a plan that everyone can review.

Official sources

Build

Continue with related guides.

Build

Preparing a Business Website Project

A practical guide to aligning goals, users, content, ownership, scope, and operational readiness before a business website project begins.

Build

Websites, Web Apps, or Mobile Apps

A decision framework for choosing a website, web app, or mobile app based on user tasks, device capabilities, data, distribution, and operating cost.