Como o AlloyDB Omni é compatível com o PostgreSQL, várias soluções de backup desenvolvidas e com suporte da comunidade PostgreSQL também estão disponíveis para bancos de dados do AlloyDB Omni. Qualquer solução que permita fazer backup
e restaurar um cluster PostgreSQL em execução em um contêiner do Docker ou do Podman
também funciona com o AlloyDB Omni.
Soluções de backup de servidor único
Se você executar o AlloyDB Omni em um contêiner em servidores individuais, recomendamos usar o pgBackRest, que realiza backups físicos do cluster de banco de dados.
O pgBackRest tem os seguintes recursos distintos:
Fazer backups completos, incrementais ou diferenciais
Gravar em disco local, disco remoto ou destinos de armazenamento em nuvem
Paralelizar e criptografar backups
Opções de compactação e checksums (feitos in-stream)
Gerenciamento e expiração automáticos de backups
O contêiner do AlloyDB Omni inclui o utilitário pgBackRest, que permite realizar as seguintes tarefas:
Faça backups e restaurações físicas dos clusters de banco de dados.
Crie clusters de clones, seja para um ponto atual ou específico no tempo.
Faça restaurações seletivas de bancos de dados específicos no cluster de banco de dados.
Se você implantou o AlloyDB Omni em um cluster do Kubernetes, o operador do AlloyDB Omni oferece métodos de backup e restauração sem a necessidade de mais configurações.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eAlloyDB Omni, being PostgreSQL compatible, supports a variety of backup solutions developed by the PostgreSQL community.\u003c/p\u003e\n"],["\u003cp\u003eFor single-server container deployments, pgBackRest is recommended, offering features like full, incremental, and differential backups, with options for remote storage, encryption, and compression.\u003c/p\u003e\n"],["\u003cp\u003eThe pgBackRest utility included with AlloyDB Omni allows for physical backups, restorations, creating clones, and selective database restores.\u003c/p\u003e\n"],["\u003cp\u003eWhen deployed on Kubernetes, AlloyDB Omni's operator provides built-in backup and restore methods, eliminating the need for further setup.\u003c/p\u003e\n"],["\u003cp\u003eSeparate documentation is available for setup of pgBackrest and backup and restore within Kubernetes.\u003c/p\u003e\n"]]],[],null,["# Back up and restore AlloyDB Omni\n\nSelect a documentation version: Current (16.8.0)keyboard_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. Any solution that lets you back up\nfrom and restore to a PostgreSQL cluster running in a Docker or Podman container\nalso works with AlloyDB Omni.\n\nSingle-server backup solutions\n------------------------------\n\nIf you run AlloyDB Omni in a container on individual servers, we\nrecommend you use [pgBackRest](https://pgbackrest.org/). pgBackRest performs\nphysical database cluster backups.\n\npgBackRest has the following distinct features:\n\n- Perform full, incremental, or differential backups\n- Write to local disk, remote disk, or cloud storage destinations\n- Parallelize and encrypt backups\n- Compression and checksums (done in-stream) options\n- Automatic management and expiration of backups\n\nThe AlloyDB Omni container includes the pgBackRest utility, which\nlets you perform the following tasks:\n\n- Perform physical backups and restorations of your database clusters.\n- Build clone clusters, either to a current or to a specific point in time.\n- Perform selective restores of specific databases from within your database cluster.\n\nFor more information, see\n[Set up pgBackRest for AlloyDB Omni](/alloydb/omni/current/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/current/docs/backup-kubernetes).\n\nWhat's next\n-----------\n\n- [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/current/docs/set-up-pgbackrest)\n\n- [Back up and restore in Kubernetes](/alloydb/omni/current/docs/backup-kubernetes)"]]