Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini memberikan detail tentang cara membalikkan dan melanjutkan replikasi.
Tentang operasi pengembalian dan melanjutkan
Saat Anda membalikkan dan melanjutkan replikasi, peran sumber dan tujuan volume Anda akan ditukar; volume tujuan akan menjadi volume sumber baru dan volume sumber akan menjadi volume tujuan baru. Operasi ini
segera diikuti oleh operasi lanjutkan, yang akan menggantikan konten
volume tujuan baru dengan konten volume sumber baru. Jika Anda
membalikkan dan melanjutkan replikasi dua kali, arah replikasi asli
akan ditetapkan kembali.
Kasus penggunaan operasi pembalikan dan pelanjutan
Setelah menghentikan replikasi dan melakukan perubahan pada volume tujuan, Anda dapat
mereplikasi perubahan tersebut kembali ke volume sumber. Proses ini umum dalam skenario pemulihan bencana saat Anda mengoperasikan volume tujuan selama jangka waktu tertentu dan ingin mengganti peran volume.
Pertimbangan
Pertimbangkan hal berikut sebelum Anda menggunakan operasi pembalikan dan melanjutkan:
Jika Anda menggunakan operasi pembalikan dan melanjutkan secara tidak benar, Anda mungkin mengalami kehilangan data yang tidak diinginkan. Pastikan Anda mengetahui peran volume sumber dan tujuan saat ini dan mendatang karena perubahan pada volume tujuan baru akan ditimpa dengan volume sumber baru.
Meskipun Anda dapat menggunakan volume tujuan untuk membuat cadangan manual, layanan
tidak mendukung cadangan terjadwal dari volume tujuan. Sebelum membalikkan replikasi volume, pastikan untuk menghapus kebijakan pencadangan apa pun dari volume yang menjadi volume tujuan baru.
Jika Anda berencana untuk terus beroperasi dengan arah replikasi terbalik, sebaiknya siapkan cadangan untuk volume sumber baru. Jika Anda ingin
mengembalikan replikasi ke sumber asli dan mengalihkan arah lagi,
pastikan untuk mengaktifkan pencadangan terjadwal pada volume sumber setelah selesai.
Mengembalikan dan melanjutkan replikasi
Gunakan petunjuk berikut untuk membalikkan dan melanjutkan replikasi menggunakan
konsol Google Cloud atau Google Cloud CLI:
Konsol
Buka halaman NetApp Volumes di konsol Google Cloud .
Klik nama volume. Halaman Detail untuk volume akan muncul.
Pilih tab Replikasi.
Pastikan status replikasi disetel ke Stopped.
Klik Balikkan dan lanjutkan replikasi.
Di dialog pembalikan replikasi volume dan melanjutkan, masukkan
volume tujuan baru yang ingin Anda timpa untuk mengonfirmasi
tindakan pembalikan dan melanjutkan.
Klik Balikkan dan lanjutkan untuk memulai operasi.
Dalam ringkasan volume, perhatikan bahwa peran, baik sumber maupun
tujuan, berubah dan nama volume sumber dan tujuan juga berubah. Operasi transfer inkremental untuk memperbarui volume tujuan baru akan dipicu segera setelah Anda memulai operasi pembalikan dan melanjutkan.
gcloud
Jalankan perintah berikut untuk membalikkan dan melanjutkan replikasi volume:
[[["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."],[],[],null,["# Reverse and resume a replication\n\nThis page provides details about how to reverse and resume a replication.\n\nAbout the reverse and resume operation\n--------------------------------------\n\nWhen you reverse and resume a replication, it switches the source and destination\nroles of your volumes; the destination volume becomes the new source volume and\nthe source volume becomes the new destination volume. This operation is\nimmediately followed by a resume operation, which overwrites the contents of the\nnew destination volume with the contents of the new source volume. If you\nreverse and resume a replication twice, the original replication direction\nre-establishes.\n\nReverse and resume operation use case\n-------------------------------------\n\nAfter you stop replication and make changes to the destination volume, you can\nreplicate those changes back to the source volume. This process is common in a\ndisaster recovery scenario in which you operate on the destination volume for a\nperiod of time and want to switch roles of the volumes.\n\nConsiderations\n--------------\n\nConsider the following before you use reverse and resume operation:\n\n- If you use reverse and resume operations incorrectly, you might experience\n unintended data loss. Make sure that you know the current and future roles of\n your source and destination volumes because changes on the new destination\n volume are overwritten with the new source volume.\n\n- While you can use a destination volume to take manual backups, the service\n doesn't support the scheduled backups from a destination volume. Before you\n reverse a volume replication, make sure to remove any backup policy from the\n volume that becomes new destination volume.\n\n- If you plan to continuously operate with reversed replication direction, it's\n recommended to set up a backup for the new source volume. If you intend to\n revert replication back to the original source and switch directions again,\n make sure to enable scheduled backups on the source volume after completion.\n\nReverse and resume a replication\n--------------------------------\n\nUse the following instructions to reverse and resume a replication using\nthe Google Cloud console or Google Cloud CLI: \n\n### Console\n\n1. Go to **NetApp Volumes page** in the Google Cloud console.\n\n [Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)\n2. Click **Volumes**.\n\n3. Click the name of the volume. The **Details page** for the volume\n appears.\n\n4. Select the **Replication tab**.\n\n5. Ensure that the replication status is set to **Stopped**.\n\n6. Click **Reverse and resume replication**.\n\n7. In the **Reverse volume replication and resume dialog** , enter the\n **new destination volume** that you want to overwrite to confirm\n the reverse and resume action.\n\n8. Click **Reverse and resume** to initiate the operation.\n\n In the overview of the volume, note that the role, either source or\n destination, changes and names of source and destination volume change as\n well. An incremental transfer operation to update the new destination\n volume triggers immediately after you initiate the reverse and resume\n operation.\n\n### gcloud\n\nRun the following command to reverse and resume a volume replication: \n\n```bash\n gcloud netapp volumes replications reverse \\\n --project=PROJECT_ID \\\n --location=LOCATION \\\n --volume=VOLUME \\\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project your volume\n is in.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the source or\n destination volume.\n\n- \u003cvar translate=\"no\"\u003eVOLUME\u003c/var\u003e: the name of the source or destination\n volume.\n\nFor more options, see [Google Cloud SDK documentation on volume replication](/sdk/gcloud/reference/netapp/volumes/replications).\n\nWhat's next\n-----------\n\n[Integrate Active Directory](/netapp/volumes/docs/configure-and-use/active-directory/about-ad)."]]