[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[[["\u003cp\u003eThis page outlines backup and restore solutions for AlloyDB Omni database clusters, leveraging its PostgreSQL compatibility.\u003c/p\u003e\n"],["\u003cp\u003eFor single-server container deployments, pgBackRest is recommended due to its physical backup capabilities, including full, incremental, and differential backups.\u003c/p\u003e\n"],["\u003cp\u003epgBackRest, included with the AlloyDB Omni container, allows physical backups and restorations, building clone clusters, and selective database restores.\u003c/p\u003e\n"],["\u003cp\u003eIf deployed on Kubernetes, the AlloyDB Omni operator offers built-in backup and restore functionalities without needing extra configurations.\u003c/p\u003e\n"]]],[],null,["# Back up and restore AlloyDB Omni\n\nSelect a documentation version: 15.7.0keyboard_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.7.0/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.7.0/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.7.0/docs/backup-kubernetes).\n\nWhat's next\n-----------\n\n- [Set up Barman for AlloyDB Omni](/alloydb/omni/15.7.0/docs/install-configure-barman)\n\n- [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/15.7.0/docs/set-up-pgbackrest)\n\n- [Back up and restore in Kubernetes](/alloydb/omni/15.7.0/docs/backup-kubernetes)"]]