{"id":15992,"date":"2024-07-03T08:00:41","date_gmt":"2024-07-03T15:00:41","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=15992"},"modified":"2026-03-11T14:26:47","modified_gmt":"2026-03-11T21:26:47","slug":"disaster-recovery-sync-gateway-xdcr","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/disaster-recovery-sync-gateway-xdcr\/","title":{"rendered":"Recupera\u00e7\u00e3o de desastres com o Couchbase Mobile - Sync Gateway e Cross Data Center Replication"},"content":{"rendered":"<p><span style=\"font-weight: 400\">O planejamento da recupera\u00e7\u00e3o de desastres (DR) e da continuidade dos neg\u00f3cios (BC) \u00e9 vital para qualquer aplicativo moderno, e isso se aplica igualmente a qualquer aplicativo com um componente de computa\u00e7\u00e3o m\u00f3vel ou de borda.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">As interrup\u00e7\u00f5es de servi\u00e7o ou o tempo de inatividade podem causar s\u00e9rios impactos em uma empresa e, sem as estrat\u00e9gias corretas, a recupera\u00e7\u00e3o de um evento como esse pode ser um desafio.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Esta postagem abordar\u00e1 uma das maneiras de planejar o BC e a DR para seu aplicativo m\u00f3vel no Couchbase usando o XDCR (Cross Data Center Replication).<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Pilha m\u00f3vel do Couchbase<\/span><\/h2>\n<p><span style=\"font-weight: 400\">O Couchbase Mobile \u00e9 uma plataforma de ponta a ponta na nuvem que permite a implanta\u00e7\u00e3o de aplicativos m\u00f3veis e incorporados off-line, fornecendo sincroniza\u00e7\u00e3o r\u00e1pida e eficiente de dados.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Ele \u00e9 composto por tr\u00eas componentes principais:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><strong>Servidor Couchbase<\/strong> - o banco de dados NoSQL altamente escal\u00e1vel, altamente dispon\u00edvel e de alto desempenho. Ele est\u00e1 dispon\u00edvel como um banco de dados como servi\u00e7o totalmente gerenciado e hospedado com <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/capella\/\">Couchbase Capella<\/a><\/span><span style=\"font-weight: 400\">ou pode ser implantado e hospedado por conta pr\u00f3pria como <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/server\/\">Servidor Couchbase<\/a>.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Sync Gateway - um mecanismo de sincroniza\u00e7\u00e3o seguro e voltado para a Internet, projetado para fornecer sincroniza\u00e7\u00e3o de dados para aplicativos interativos em larga escala da Web, m\u00f3veis e de IoT. Dispon\u00edvel totalmente hospedado e gerenciado com <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/capella\/app-services\/\">Servi\u00e7os de aplicativos Capella<\/a><\/span><span style=\"font-weight: 400\">ou pode ser instalado e gerenciado por voc\u00ea mesmo com o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/sync-gateway\/\">Gateway de sincroniza\u00e7\u00e3o do Couchbase<\/a>.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/lite\/\">Couchbase Lite<\/a> <\/span><span style=\"font-weight: 400\">- um banco de dados incorporado com todos os recursos para seus aplicativos m\u00f3veis, de desktop e de IoT. Ele fornece CRUD, pesquisa de texto completo, consulta e recursos de pesquisa vetorial que s\u00e3o executados localmente no dispositivo.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15995\" style=\"border: solid 1px black\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image3-1024x454.png\" alt=\"\" width=\"900\" height=\"399\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3-1024x454.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3-300x133.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3-768x340.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3-1536x681.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3-1320x585.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image3.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<h2><span style=\"font-weight: 400\">O que \u00e9 XDCR?<\/span><\/h2>\n<p><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/xdcr\/\">XDCR<\/a> <\/span><span style=\"font-weight: 400\">\u00e9 uma tecnologia de replica\u00e7\u00e3o de alto desempenho que permite a replica\u00e7\u00e3o de dados entre dois ou mais clusters do Couchbase. Ela desempenha uma fun\u00e7\u00e3o muito importante no suporte a estrat\u00e9gias de DR e migra\u00e7\u00e3o de dados, inclusive para aplicativos m\u00f3veis.<\/span><\/p>\n<p><span style=\"font-weight: 400\">O XDCR pode ser estabelecido unidirecionalmente (o que significa que os dados fluem apenas do cluster de origem A para o cluster de destino B) ou bidirecionalmente (o que significa que os dados fluem do cluster de origem A para o cluster de destino B e do cluster de origem B para o cluster de destino A), permitindo uma variedade de topologias diferentes para dar suporte a diferentes casos de uso.<\/span><\/p>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15993\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image1-1024x526.png\" alt=\"\" width=\"402\" height=\"206\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1-1024x526.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1-300x154.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1-768x394.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1-1536x789.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1-1320x678.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image1.png 1714w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15996\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image4-1024x526.png\" alt=\"\" width=\"402\" height=\"206\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4-1024x526.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4-300x154.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4-768x394.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4-1536x789.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4-1320x678.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image4.png 1714w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">Alguns casos de uso comuns do XDCR incluem hot standby para DR, geolocaliza\u00e7\u00e3o de data centers para aplicativos usados globalmente, migra\u00e7\u00e3o e muito mais.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Como podemos usar o XDCR para garantir BC\/DR em uma implanta\u00e7\u00e3o m\u00f3vel?<\/span><\/h2>\n<p><span style=\"font-weight: 400\">\u00c9 muito importante considerar a melhor abordagem para a estrat\u00e9gia de DR de um aplicativo m\u00f3vel. H\u00e1 v\u00e1rias maneiras de conseguir isso, a saber <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-replication-and-sync\/\">Replica\u00e7\u00e3o de gateway entre sincroniza\u00e7\u00f5es (ISGR) e XDCR<\/a><\/span><span style=\"font-weight: 400\">. O ISGR permite a replica\u00e7\u00e3o entre v\u00e1rias inst\u00e2ncias do Sync Gateway ou do Capella App Services; voc\u00ea pode saber mais sobre ele em <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/data-sync-capella-app-services-and-mobile\/\">outra postagem no blog<\/a><\/span><span style=\"font-weight: 400\">. Veremos agora como voc\u00ea pode usar o XDCR como parte de uma estrat\u00e9gia de DR para um aplicativo m\u00f3vel com o Couchbase.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Neste exemplo, temos dois clusters do Couchbase, ambos com um cluster Sync Gateway associado. Um desses clusters \u00e9 o principal para um aplicativo de produ\u00e7\u00e3o, o outro \u00e9 o cluster DR, que \u00e9 mantido em sincronia com o cluster principal por meio do uso do XDCR.<\/span><\/p>\n<p><span style=\"font-weight: 400\">A pr\u00e1tica recomendada \u00e9 usar XDCR unidirecional (em vez de bidirecional), pois isso garante que as altera\u00e7\u00f5es fluam da origem para o destino e que o site de destino n\u00e3o envie atualiza\u00e7\u00f5es de opera\u00e7\u00e3o de grava\u00e7\u00e3o de volta para a origem. Al\u00e9m disso, o Sync Gateway deve estar em standby (o que significa que n\u00e3o est\u00e1 recebendo dados ativamente) quando for o destino da replica\u00e7\u00e3o XDCR.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Em um cen\u00e1rio normal, essa \u00e9 a apar\u00eancia dessa configura\u00e7\u00e3o:<\/span><\/p>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15997\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image5-880x1024.png\" alt=\"\" width=\"600\" height=\"698\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image5-880x1024.png 880w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image5-258x300.png 258w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image5-768x894.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image5-300x349.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image5.png 1304w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">Em um cen\u00e1rio de DR, algumas medidas devem ser tomadas para garantir que voc\u00ea possa alternar para o cluster secund\u00e1rio:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Remova a replica\u00e7\u00e3o XDCR unidirecional do cluster prim\u00e1rio antigo para o novo cluster prim\u00e1rio (anteriormente o cluster DR)<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Definir o Sync Gateway como standby no antigo cluster prim\u00e1rio do Couchbase<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ative a replica\u00e7\u00e3o entre o novo cluster prim\u00e1rio do Couchbase e o cluster do Sync Gateway (anteriormente o cluster DR)<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Configure a replica\u00e7\u00e3o XDCR unidirecional entre o novo cluster prim\u00e1rio e o novo cluster DR<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Conecte o aplicativo ao novo cluster prim\u00e1rio em vez do cluster prim\u00e1rio antigo<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">A nova configura\u00e7\u00e3o seria semelhante a esta:<\/span><\/p>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15994\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2024\/07\/image2-867x1024.png\" alt=\"\" width=\"600\" height=\"709\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2-867x1024.png 867w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2-254x300.png 254w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2-768x907.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2-1301x1536.png 1301w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2-300x354.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/image2.png 1304w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">\u00c9 fundamental manter as condi\u00e7\u00f5es de ter o Sync Gateway em espera e o XDCR unidirecional, especialmente ao inverter o cluster. Caso contr\u00e1rio, voc\u00ea pode acabar com o Sync Gateway e o XDCR direcionando o mesmo bucket no modo de grava\u00e7\u00e3o, o que leva a problemas de sincroniza\u00e7\u00e3o.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Com essa abordagem, voc\u00ea pode garantir que seu aplicativo m\u00f3vel seja robusto e esteja preparado para um cen\u00e1rio de DR.<\/span><\/p>\n<h2>Refer\u00eancias<\/h2>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/capella\/\">Couchbase Capella<\/a> e <\/span><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/server\/\">Servidor Couchbase<\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/sync-gateway\/\">Gateway de sincroniza\u00e7\u00e3o do Couchbase<\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/capella\/app-services\/\">Servi\u00e7os de aplicativos Capella<\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/lite\/\">Couchbase Lite<\/a><\/span><\/li>\n<li><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/xdcr\/\">Replica\u00e7\u00e3o entre data centers (XDCR)<\/a><\/span><\/li>\n<li><span style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-replication-and-sync\/\">Replica\u00e7\u00e3o de gateway entre sincroniza\u00e7\u00f5es (ISGR) e XDCR<\/a><\/span><\/li>\n<li><span style=\"font-weight: 400\">Blog: <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/data-sync-capella-app-services-and-mobile\/\">Sincroniza\u00e7\u00e3o de dados entre o Capella App Services e as implanta\u00e7\u00f5es m\u00f3veis autogerenciadas do Couchbase<\/a><br \/>\n<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Planning for Disaster Recovery (DR) and Business Continuity (BC) is vital for any modern application, and that applies equally to any application with a mobile or edge computing component.\u00a0 Service outages or downtime can cause serious impacts to a business [&hellip;]<\/p>","protected":false},"author":85374,"featured_media":16988,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1821,7667,1810,9415,7666,9417,1813,2366],"tags":[2127],"ppma_author":[9988],"class_list":["post-15992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-architecture","category-couchbase-lite","category-couchbase-mobile","category-xdcr","category-edge-computing","category-performance","category-security","category-sync-gateway","tag-disaster-recovery"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"Couchbase Mobile is a cloud-to-edge platform for deploying offline first mobile and embedded applications, with fast and efficient data synchronization.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/disaster-recovery-sync-gateway-xdcr\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication\" \/>\n<meta property=\"og:description\" content=\"Couchbase Mobile is a cloud-to-edge platform for deploying offline first mobile and embedded applications, with fast and efficient data synchronization.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/disaster-recovery-sync-gateway-xdcr\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-03T15:00:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T21:26:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8-1024x536.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"536\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Georgina Martin, Solutions Engineer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Georgina Martin, Solutions Engineer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/\"},\"author\":{\"name\":\"Georgina Martin, Solutions Engineer\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/b863ce92539b1af9f66f0460386b70fe\"},\"headline\":\"Disaster Recovery with Couchbase Mobile &#8211; Sync Gateway and Cross Data Center Replication\",\"datePublished\":\"2024-07-03T15:00:41+00:00\",\"dateModified\":\"2026-03-11T21:26:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/\"},\"wordCount\":758,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png\",\"keywords\":[\"Disaster Recovery\"],\"articleSection\":[\"Couchbase Architecture\",\"Couchbase Lite\",\"Couchbase Mobile\",\"Cross Data Center Replication (XDCR)\",\"Edge computing\",\"High Performance\",\"Security\",\"Sync Gateway\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/\",\"name\":\"Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png\",\"datePublished\":\"2024-07-03T15:00:41+00:00\",\"dateModified\":\"2026-03-11T21:26:47+00:00\",\"description\":\"Couchbase Mobile is a cloud-to-edge platform for deploying offline first mobile and embedded applications, with fast and efficient data synchronization.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png\",\"width\":2400,\"height\":1256,\"caption\":\"columnar data store overview\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disaster Recovery with Couchbase Mobile &#8211; Sync Gateway and Cross Data Center Replication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/b863ce92539b1af9f66f0460386b70fe\",\"name\":\"Georgina Martin, Solutions Engineer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/f0a67bfd2fc55e960dbb1111f884ae33\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg\",\"caption\":\"Georgina Martin, Solutions Engineer\"},\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/georginamartin\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication - The Couchbase Blog","description":"O Couchbase Mobile \u00e9 uma plataforma de nuvem para implantar os primeiros aplicativos m\u00f3veis e incorporados off-line, com sincroniza\u00e7\u00e3o de dados r\u00e1pida e eficiente.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/disaster-recovery-sync-gateway-xdcr\/","og_locale":"pt_BR","og_type":"article","og_title":"Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication","og_description":"Couchbase Mobile is a cloud-to-edge platform for deploying offline first mobile and embedded applications, with fast and efficient data synchronization.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/disaster-recovery-sync-gateway-xdcr\/","og_site_name":"The Couchbase Blog","article_published_time":"2024-07-03T15:00:41+00:00","article_modified_time":"2026-03-11T21:26:47+00:00","og_image":[{"width":1024,"height":536,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8-1024x536.png","type":"image\/png"}],"author":"Georgina Martin, Solutions Engineer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Georgina Martin, Solutions Engineer","Est. reading time":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/"},"author":{"name":"Georgina Martin, Solutions Engineer","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/b863ce92539b1af9f66f0460386b70fe"},"headline":"Disaster Recovery with Couchbase Mobile &#8211; Sync Gateway and Cross Data Center Replication","datePublished":"2024-07-03T15:00:41+00:00","dateModified":"2026-03-11T21:26:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/"},"wordCount":758,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png","keywords":["Disaster Recovery"],"articleSection":["Couchbase Architecture","Couchbase Lite","Couchbase Mobile","Cross Data Center Replication (XDCR)","Edge computing","High Performance","Security","Sync Gateway"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/","url":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/","name":"Disaster Recovery with Couchbase Mobile - Sync Gateway and Cross Data Center Replication - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png","datePublished":"2024-07-03T15:00:41+00:00","dateModified":"2026-03-11T21:26:47+00:00","description":"O Couchbase Mobile \u00e9 uma plataforma de nuvem para implantar os primeiros aplicativos m\u00f3veis e incorporados off-line, com sincroniza\u00e7\u00e3o de dados r\u00e1pida e eficiente.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2025\/03\/blog_header_images_2025-8.png","width":2400,"height":1256,"caption":"columnar data store overview"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/disaster-recovery-sync-gateway-xdcr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Disaster Recovery with Couchbase Mobile &#8211; Sync Gateway and Cross Data Center Replication"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/b863ce92539b1af9f66f0460386b70fe","name":"Georgina Martin, engenheira de solu\u00e7\u00f5es","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/f0a67bfd2fc55e960dbb1111f884ae33","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg","caption":"Georgina Martin, Solutions Engineer"},"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/georginamartin\/"}]}},"authors":[{"term_id":9988,"user_id":85374,"is_guest":0,"slug":"georginamartin","display_name":"Georgina Martin, Solutions Engineer","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2024\/07\/T024FJS4M-U016L2LH63V-c189adc04274-512.jpeg"},"0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/15992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/85374"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=15992"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/15992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/16988"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=15992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=15992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=15992"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=15992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}