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\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)"]]