Because AlloyDB Omni is PostgreSQL compatible, various backup
solutions developed and supported by the PostgreSQL community are also available
to AlloyDB Omni databases. In general, any solution that allows
you to back up from and restore to a PostgreSQL cluster running in a Docker
container will also work with AlloyDB Omni.
The way that you set up and operate backup and restore features depends on
whether you operate AlloyDB Omni on individual servers using the
alloydb command-line tool, or whether you run AlloyDB Omni
using the AlloyDB Omni Operator. The following sections explore these
options in further detail.
Single-server backup solutions
If you run AlloyDB Omni in a container on individual servers, then
Google recommends using either Barman or
pgBackRest, depending on your needs and preferences.
Both of these open source solutions provide the following:
Essential data backup and restore features, including point-in-time recovery
Compatibility with the containerized
PostgreSQL-compatible databases that AlloyDB Omni uses
Barman has the following distinct features:
Backups stored in a separate backup server that you manage
The option for cascading backup servers
Near-zero-data-loss backups using streamed data changes
The option for zero-data-loss backups using synchronous streaming
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eAlloyDB Omni, being PostgreSQL compatible, supports various backup solutions developed by the PostgreSQL community.\u003c/p\u003e\n"],["\u003cp\u003eFor single-server deployments of AlloyDB Omni, Barman and pgBackRest are recommended open-source options, providing essential backup and restore features.\u003c/p\u003e\n"],["\u003cp\u003eBarman offers features such as backups on a separate server, cascading backup servers, and options for near-zero or zero-data-loss backups.\u003c/p\u003e\n"],["\u003cp\u003epgBackRest provides parallelized backup jobs, full, incremental, or differential backups, encrypted backups, and the option to restore specific databases.\u003c/p\u003e\n"],["\u003cp\u003eWhen AlloyDB Omni is deployed on Kubernetes, the AlloyDB Omni Operator offers built-in backup and restore methods without requiring additional setup.\u003c/p\u003e\n"]]],[],null,["# Back up and restore AlloyDB Omni\n\nSelect a documentation version: 15.5.5keyboard_arrow_down\n\n- [Current (16.8.0)](/alloydb/omni/current/docs/backup-overview)\n- [16.8.0](/alloydb/omni/16.8.0/docs/backup-overview)\n- [16.3.0](/alloydb/omni/16.3.0/docs/backup-overview)\n- [15.12.0](/alloydb/omni/15.12.0/docs/backup-overview)\n- [15.7.1](/alloydb/omni/15.7.1/docs/backup-overview)\n- [15.7.0](/alloydb/omni/15.7.0/docs/backup-overview)\n- [15.5.5](/alloydb/omni/15.5.5/docs/backup-overview)\n- [15.5.4](/alloydb/omni/15.5.4/docs/backup-overview)\n- [15.5.2](/alloydb/omni/15.5.2/docs/backup-overview)\n\n\u003cbr /\u003e\n\nThis page provides an overview of data backup and restore solutions available to AlloyDB Omni database clusters.\n\n\u003cbr /\u003e\n\nBecause AlloyDB Omni is PostgreSQL compatible, various backup\nsolutions developed and supported by the PostgreSQL community are also available\nto AlloyDB Omni databases. In general, any solution that allows\nyou to back up from and restore to a PostgreSQL cluster running in a Docker\ncontainer will also work with AlloyDB Omni.\n\nThe way that you set up and operate backup and restore features depends on\nwhether you operate AlloyDB Omni on individual servers using the\n`alloydb` command-line tool, or whether you run AlloyDB Omni\nusing the AlloyDB Omni Operator. The following sections explore these\noptions in further detail.\n\nSingle-server backup solutions\n------------------------------\n\nIf you run AlloyDB Omni in a container on individual servers, then\nGoogle recommends using either [Barman](https://pgbarman.org) or\n[pgBackRest](https://pgbackrest.org/), depending on your needs and preferences.\n\nBoth of these open source solutions provide the following:\n\n- Essential data backup and restore features, including point-in-time recovery\n- Compatibility with the containerized PostgreSQL-compatible databases that AlloyDB Omni uses\n\nBarman has the following distinct features:\n\n- Backups stored in a separate backup server that you manage\n- The option for cascading backup servers\n- Near-zero-data-loss backups using streamed data changes\n- The option for zero-data-loss backups using synchronous streaming\n\nFor more information, see [Set up Barman for AlloyDB Omni](/alloydb/omni/15.5.5/docs/install-configure-barman).\n\npgBackRest has the following distinct features:\n\n- Parallelized backup jobs\n- Full, incremental, or differential backups\n- Encrypted backups\n- Backup compression and checksums\n- The option to restore only specific databases\n\nFor more information, see [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/15.5.5/docs/set-up-pgbackrest).\n\nKubernetes backup solutions\n---------------------------\n\nIf you have deployed AlloyDB Omni onto a Kubernetes cluster, then\nthe AlloyDB Omni Operator provides backup and restore methods without the\nneed for any further configuration.\n\nFor more information, see [Back up and restore in\nKubernetes](/alloydb/omni/15.5.5/docs/backup-kubernetes).\n\nWhat's next\n-----------\n\n- [Set up Barman for AlloyDB Omni](/alloydb/omni/15.5.5/docs/install-configure-barman)\n\n- [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/15.5.5/docs/set-up-pgbackrest)\n\n- [Back up and restore in Kubernetes](/alloydb/omni/15.5.5/docs/backup-kubernetes)"]]