Back up and restore AlloyDB Omni

This page provides an overview of data backup and restore solutions available to AlloyDB Omni database clusters.

Because AlloyDB Omni is PostgreSQL compatible, various backup solutions developed and supported by the PostgreSQL community are also available to AlloyDB Omni databases. Any solution that lets you back up from and restore to a PostgreSQL cluster running in a Docker or Podman container also works with AlloyDB Omni.

Single-server backup solutions

If you run AlloyDB Omni in a container on individual servers, we recommend you use pgBackRest. pgBackRest performs physical database cluster backups.

pgBackRest has the following distinct features:

  • Perform full, incremental, or differential backups
  • Write to local disk, remote disk, or cloud storage destinations
  • Parallelize and encrypt backups
  • Compression and checksums (done in-stream) options
  • Automatic management and expiration of backups

The AlloyDB Omni container includes the pgBackRest utility, which lets you perform the following tasks:

  • Perform physical backups and restorations of your database clusters.
  • Build clone clusters, either to a current or to a specific point in time.
  • Perform selective restores of specific databases from within your database cluster.

For more information, see Set up pgBackRest for AlloyDB Omni.

Kubernetes backup solutions

If you have deployed AlloyDB Omni onto a Kubernetes cluster, then the AlloyDB Omni operator provides backup and restore methods without the need for any further configuration.

For more information, see Back up and restore in Kubernetes.

What's next