Poiché AlloyDB Omni è compatibile con PostgreSQL, sono disponibili anche varie soluzioni di backup sviluppate e supportate dalla community PostgreSQL per i database AlloyDB Omni. Qualsiasi soluzione che ti consenta di eseguire il backup
da e il ripristino in un cluster PostgreSQL in esecuzione in un container Docker o Podman
funziona anche con AlloyDB Omni.
Soluzioni di backup per un singolo server
Se esegui AlloyDB Omni in un container su singoli server, ti consigliamo di utilizzare pgBackRest. pgBackRest esegue backup fisici del cluster di database.
pgBackRest ha le seguenti caratteristiche distinte:
Eseguire backup completi, incrementali o differenziali
Scrittura su disco locale, disco remoto o destinazioni di spazio di archiviazione sul cloud
Parallelizzare e criptare i backup
Opzioni di compressione e checksum (eseguite in-stream)
Gestione automatica e scadenza dei backup
Il container AlloyDB Omni include l'utilità pgBackRest, che
consente di eseguire le seguenti attività:
Esegui backup e ripristini fisici dei cluster di database.
Crea cluster clone, in un momento attuale o specifico.
Esegui ripristini selettivi di database specifici all'interno del cluster di database.
Se hai eseguito il deployment di AlloyDB Omni in un cluster Kubernetes, l'operatore AlloyDB Omni fornisce metodi di backup e ripristino senza la necessità di ulteriori configurazioni.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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)"]]