Da AlloyDB Omni mit PostgreSQL kompatibel ist, sind auch verschiedene von der PostgreSQL-Community entwickelte und unterstützte Sicherungslösungen für AlloyDB Omni-Datenbanken verfügbar. Jede Lösung, mit der Sie Daten aus einem PostgreSQL-Cluster sichern und in einem PostgreSQL-Cluster wiederherstellen können, der in einem Docker- oder Podman-Container ausgeführt wird, funktioniert auch mit AlloyDB Omni.
Sicherungslösungen für einzelne Server
Wenn Sie AlloyDB Omni in einem Container auf einzelnen Servern ausführen, empfehlen wir die Verwendung von pgBackRest. pgBackRest führt physische Back-ups von Datenbankclustern durch.
pgBackRest hat die folgenden besonderen Funktionen:
Vollständige, inkrementelle oder differenzielle Sicherungen durchführen
Auf lokale Festplatte, Remote-Festplatte oder Cloud-Speicherziele schreiben
Sicherungen parallelisieren und verschlüsseln
Optionen für Komprimierung und Prüfsummen (In-Stream)
Automatische Verwaltung und Ablauf von Sicherungen
Der AlloyDB Omni-Container enthält das pgBackRest-Dienstprogramm, mit dem Sie die folgenden Aufgaben ausführen können:
Führen Sie physische Sicherungen und Wiederherstellungen Ihrer Datenbankcluster durch.
Erstellen Sie Klon-Cluster entweder für einen aktuellen oder für einen bestimmten Zeitpunkt.
Sie können bestimmte Datenbanken in Ihrem Datenbankcluster selektiv wiederherstellen.
Wenn Sie AlloyDB Omni in einem Kubernetes-Cluster bereitgestellt haben, bietet der AlloyDB Omni-Operator Sicherungs- und Wiederherstellungsmethoden, ohne dass eine weitere Konfiguration erforderlich ist.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (UTC)."],[],[],null,["# Back up and restore AlloyDB Omni\n\nSelect a documentation version: 16.8.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. 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/16.8.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/16.8.0/docs/backup-kubernetes).\n\nWhat's next\n-----------\n\n- [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/16.8.0/docs/set-up-pgbackrest)\n\n- [Back up and restore in Kubernetes](/alloydb/omni/16.8.0/docs/backup-kubernetes)"]]