Karena kompatibel dengan PostgreSQL, berbagai solusi pencadangan yang dikembangkan dan didukung oleh komunitas PostgreSQL juga tersedia untuk database AlloyDB Omni. Solusi apa pun yang memungkinkan Anda mencadangkan dari dan memulihkan ke cluster PostgreSQL yang berjalan dalam container Docker atau Podman juga berfungsi dengan AlloyDB Omni.
Solusi pencadangan server tunggal
Jika Anda menjalankan AlloyDB Omni dalam penampung di server individual, sebaiknya Anda menggunakan pgBackRest. pgBackRest melakukan pencadangan cluster database fisik.
pgBackRest memiliki fitur berbeda berikut:
Melakukan pencadangan penuh, inkremental, atau diferensial
Menulis ke tujuan disk lokal, disk jarak jauh, atau penyimpanan cloud
Memparalelkan dan mengenkripsi cadangan
Opsi kompresi dan checksum (dilakukan dalam stream)
Pengelolaan dan masa berlaku otomatis untuk cadangan
Container AlloyDB Omni mencakup utilitas pgBackRest, yang memungkinkan Anda melakukan tugas berikut:
Lakukan pencadangan dan pemulihan fisik pada cluster database Anda.
Membangun cluster clone, baik ke titik waktu saat ini maupun ke titik waktu tertentu.
Lakukan pemulihan selektif database tertentu dari dalam cluster database Anda.
Jika Anda telah men-deploy AlloyDB Omni ke cluster Kubernetes, maka
operator AlloyDB Omni menyediakan metode pencadangan dan pemulihan tanpa
perlu konfigurasi lebih lanjut.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eThis page outlines backup and restore solutions for AlloyDB Omni database clusters, highlighting their compatibility with PostgreSQL backup tools.\u003c/p\u003e\n"],["\u003cp\u003eFor single-server container deployments of AlloyDB Omni, pgBackRest is recommended due to its physical backup capabilities, including full, incremental, and differential backups, as well as various storage and management options.\u003c/p\u003e\n"],["\u003cp\u003eThe pgBackRest utility, included with the AlloyDB Omni container, facilitates physical backups, restorations, clone cluster creation, and selective database restores.\u003c/p\u003e\n"],["\u003cp\u003eAlloyDB Omni deployments on Kubernetes clusters benefit from built-in backup and restore methods provided by the AlloyDB Omni operator, requiring no extra configuration.\u003c/p\u003e\n"]]],[],null,["# Back up and restore AlloyDB Omni\n\nSelect a documentation version: 16.3.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.3.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.3.0/docs/backup-kubernetes).\n\nWhat's next\n-----------\n\n- [Set up pgBackRest for AlloyDB Omni](/alloydb/omni/16.3.0/docs/set-up-pgbackrest)\n\n- [Back up and restore in Kubernetes](/alloydb/omni/16.3.0/docs/backup-kubernetes)"]]