Skip to content

Commit dc33559

Browse files
committed
opensearch btar
1 parent 290af35 commit dc33559

File tree

1 file changed

+63
-4
lines changed

1 file changed

+63
-4
lines changed

docs/platform/concepts/backup-to-another-region.md

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar_label: Backup to another region
55
---
66

77
import RelatedPages from "@site/src/components/RelatedPages";
8+
import Tabs from '@theme/Tabs';
9+
import TabItem from '@theme/TabItem';
810

911
In addition to the primary service backup, you can have a secondary backup in an alternative location.
1012

@@ -27,6 +29,9 @@ BTAR is supported for the following services:
2729

2830
## How BTAR works
2931

32+
<Tabs groupId="group1">
33+
<TabItem value="sql-relational" label="PostgreSQL & MySQL" default>
34+
3035
When you enable the backup to another region (BTAR) feature, an additional service backup
3136
is created in the cloud region of your choice that is alternative to the primary backup
3237
location.
@@ -66,12 +71,66 @@ flowchart LR
6671
SBn
6772
end
6873
end
69-
Service_X -- Default \n backups --> Primary_backups
70-
Primary_backups -- Cross-region backups \n if BTAR enabled --> Secondary_backups
71-
Secondary_backups -- Secondary backups \n to restore service X --> Forked_service_X
72-
Service_X -- Forking service X \n if primary region down --> Forked_service_X
74+
Service_X -- Default backups --> Primary_backups
75+
Primary_backups -- Cross-region backups<br/>if BTAR enabled --> Secondary_backups
76+
Secondary_backups -- Secondary backups<br/>to restore service X --> Forked_service_X
77+
Service_X -- Forking service X<br/>if primary region down --> Forked_service_X
78+
```
79+
80+
</TabItem>
81+
<TabItem value="non-sql-search-analytics" label="OpenSearch">
82+
83+
When you enable the backup to another region (BTAR) feature:
84+
85+
- An additional service backup is created in the cloud region of your choice that is
86+
alternative to the primary backup location.
87+
- A custom repository is created for the additional region, where snapshots are managed in
88+
sync with changes to snapshots in the primary region.
89+
90+
Secondary backups are generated from primary backups, not from the service itself. For
91+
this reason, your secondary backup becomes available only after the primary backup is
92+
taken. There might be a data replication lag between the primary region and the secondary
93+
region.
94+
95+
Restoring from a secondary backup, for example in case of an outage of the primary region,
96+
can be done by creating a fork of the service in the region where the secondary backup is
97+
located.
98+
99+
```mermaid
100+
flowchart LR
101+
subgraph Primary_region
102+
direction TB
103+
subgraph Service_X
104+
end
105+
subgraph Primary_backups
106+
direction LR
107+
PB1
108+
PB2
109+
PB3
110+
PBn
111+
end
112+
end
113+
subgraph Secondary_region
114+
direction TB
115+
subgraph Forked_service_X
116+
end
117+
subgraph Secondary_backups
118+
direction LR
119+
SB1
120+
SB2
121+
SB3
122+
SBn
123+
end
124+
end
125+
Service_X -- Default backups --> Primary_backups
126+
Primary_backups -- Cross-region backups<br/>if BTAR enabled --> Secondary_backups
127+
Secondary_backups -- Secondary backups<br/>to restore service X --> Forked_service_X
128+
Service_X -- Forking service X<br/>if primary region down --> Forked_service_X
73129
```
74130

131+
</TabItem>
132+
</Tabs>
133+
75134
## Limitations
76135

77136
- BTAR is supported for Aiven for MySQL®, Aiven for PostgreSQL®, and Aiven for OpenSearch®.

0 commit comments

Comments
 (0)