Skip to content

Commit 6808d19

Browse files
authored
Merge pull request #404 from timescale/fix/azure-xregion-backup
Cross-region backup and restore for Azure
2 parents 9c17ee4 + ea71119 commit 6808d19

12 files changed

Lines changed: 97 additions & 113 deletions

File tree

271 KB
Loading
-15.4 KB
Loading
-9.05 KB
Loading
342 KB
Loading

src/content/docs/deploy/tiger-cloud/tiger-cloud-AWS/high-availability/backup-restore.mdx

Lines changed: 4 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -4,85 +4,8 @@ description: Protect your data with automatic backups and cross-region protectio
44
products: [cloud]
55
---
66

7-
import * as C from "@constants";
8-
import { Callout } from "@stainless-api/docs/components";
9-
import { NumberedList, NumberedItem } from "@components/NumberedList";
10-
11-
import { Image } from "astro:assets";
12-
import imgDatabaseBackupRecovery from "../../../../../../assets/images/deploy/tiger-cloud/database-backup-recovery.png";
13-
import imgCreateCrossRegionBackupInTigerConsole from "../../../../../../assets/images/deploy/tiger-cloud/create-cross-region-backup-in-tiger-console.png";
14-
import imgCrossRegionBackupListInTigerConsole from "../../../../../../assets/images/deploy/tiger-cloud/cross-region-backup-list-in-tiger-console.png";
15-
16-
{C.CLOUD_LONG} provides comprehensive backup and recovery solutions to protect your data, including automatic daily backups,
17-
cross-region protection, and point-in-time recovery.
18-
19-
## Automatic backups
20-
21-
{C.CLOUD_LONG} automatically handles backup for your {C.SERVICE_LONG}s using the `pgBackRest` tool. You don't need to perform
22-
backups manually. What's more, with [cross-region backup](#enable-cross-region-backup), you are protected when an entire AWS region goes down.
23-
24-
{C.CLOUD_LONG} automatically creates one full backup every week, and incremental backups every day in the same region as
25-
your {C.SERVICE_SHORT}. Additionally, all [Write-Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html) files are retained back to the oldest full backup.
26-
This means that you always have a full backup available for the current and previous week:
27-
28-
<Image src={imgDatabaseBackupRecovery} alt="Database backup and recovery architecture in Tiger Cloud" />
29-
30-
On [{C.SCALE} and {C.ENTERPRISE}](/deploy/tiger-cloud/tiger-cloud-aws/pricing-and-account-management) {C.PRICING_PLAN}s, you can check the list of backups for the previous 14 days in {C.CONSOLE_LONG}. To do so, select your {C.SERVICE_SHORT}, then click `Operations` > `Backup and restore` > `Backup history`.
31-
32-
In the event of a storage failure, a {C.SERVICE_SHORT} automatically recovers from a backup
33-
to the point of failure. If the whole availability zone goes down, your {C.SERVICE_LONG}s are recovered in a different zone. In the event of a user error, you can [create a point-in-time recovery fork](../service-management/fork-services).
34-
35-
## Enable cross-region backup
36-
37-
<Callout variant="note">
38-
Cross-region backup is available on [{C.ENTERPRISE}](/deploy/tiger-cloud/tiger-cloud-aws/pricing-and-account-management) pricing plan.
39-
</Callout>
40-
41-
For added reliability, you can enable cross-region backup. This protects your data when an entire AWS region goes down. In this case, you have two identical backups of your {C.SERVICE_SHORT} at any time, but one of them is in a different AWS region. Cross-region backups are updated daily and weekly in the same way as a regular backup. You can have one cross-region backup for a {C.SERVICE_SHORT}.
42-
43-
You enable cross-region backup when you create a {C.SERVICE_SHORT}, or configure it for an existing {C.SERVICE_SHORT} in {C.CONSOLE_LONG}:
44-
45-
<NumberedList>
46-
47-
<NumberedItem title={`Select your ${C.SERVICE_SHORT} and open backup settings`}>
48-
49-
In [{C.CONSOLE_SHORT}](https://console.cloud.tigerdata.com/dashboard/services), select your {C.SERVICE_SHORT} and click `Operations` > `Backup & restore`.
50-
51-
</NumberedItem>
52-
53-
<NumberedItem title="Enable cross-region backup">
54-
55-
In `Cross-region backup`, select the region in the dropdown and click `Enable backup`.
56-
57-
<Image src={imgCreateCrossRegionBackupInTigerConsole} alt="Creating a cross-region backup in Tiger Console" />
58-
59-
You can now see the backup, its region, and creation date in a list.
60-
61-
</NumberedItem>
62-
63-
</NumberedList>
64-
65-
You can have one cross-region backup per {C.SERVICE_SHORT}. To change the region of your backup:
66-
67-
<NumberedList>
68-
69-
<NumberedItem title={`Open backup settings for your ${C.SERVICE_SHORT}`}>
70-
71-
In [{C.CONSOLE_SHORT}](https://console.cloud.tigerdata.com/dashboard/services), select your {C.SERVICE_SHORT} and click `Operations` > `Backup & restore`.
72-
73-
</NumberedItem>
74-
75-
<NumberedItem title="Disable the existing backup">
76-
77-
Click the trash icon next to the existing backup to disable it.
78-
79-
<Image src={imgCrossRegionBackupListInTigerConsole} alt="Cross-region backup list in Tiger Console" />
80-
81-
</NumberedItem>
82-
83-
<NumberedItem title="Create a new backup in a different region">
84-
85-
</NumberedItem>
86-
87-
</NumberedList>
7+
import BackupRestore from "../../../../../../partials/_backup-restore.mdx";
8+
import imgCreateCrossRegionBackup from "../../../../../../assets/images/deploy/tiger-cloud/create-cross-region-backup-in-tiger-console.png";
9+
import imgCrossRegionBackupList from "../../../../../../assets/images/deploy/tiger-cloud/cross-region-backup-list-in-tiger-console.png";
8810

11+
<BackupRestore createBackupScreenshot={imgCreateCrossRegionBackup} backupListScreenshot={imgCrossRegionBackupList} />

src/content/docs/deploy/tiger-cloud/tiger-cloud-AWS/service-management/fork-services.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ import ForkServices from "../../../../../../partials/_fork-services.mdx";
88
import imgDevFork from "../../../../../../assets/images/deploy/tiger-cloud/create-fork-tiger-console.png";
99
import imgRecoveryFork from "../../../../../../assets/images/deploy/tiger-cloud/create-recovery-fork-tiger-console.png";
1010

11-
<ForkServices crossRegion={true} devForkScreenshot={imgDevFork} recoveryForkScreenshot={imgRecoveryFork} />
11+
<ForkServices devForkScreenshot={imgDevFork} recoveryForkScreenshot={imgRecoveryFork} />
Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,11 @@
11
---
22
title: Back up and recover services
3-
description: Protect your data with automatic backups
3+
description: Protect your data with automatic backups and cross-region protection
44
products: [cloud]
55
---
66

7-
import * as C from "@constants";
7+
import BackupRestore from "../../../../../../partials/_backup-restore.mdx";
8+
import imgCreateCrossRegionBackup from "../../../../../../assets/images/deploy/tiger-cloud/create-cross-region-backup-in-tiger-console-azure.png";
9+
import imgCrossRegionBackupList from "../../../../../../assets/images/deploy/tiger-cloud/cross-region-backup-list-in-tiger-console-azure.png";
810

9-
import { Image } from "astro:assets";
10-
import imgDatabaseBackupRecovery from "../../../../../../assets/images/deploy/tiger-cloud/database-backup-recovery.png";
11-
12-
{C.CLOUD_LONG} provides comprehensive backup and recovery solutions to protect your data, including automatic daily backups and point-in-time recovery.
13-
14-
## Automatic backups
15-
16-
{C.CLOUD_LONG} automatically handles backup for your {C.SERVICE_LONG}s using the `pgBackRest` tool. You don't need to perform
17-
backups manually.
18-
19-
{C.CLOUD_LONG} automatically creates one full backup every week, and incremental backups every day in the same region as
20-
your {C.SERVICE_SHORT}. Additionally, all [Write-Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html) files are retained back to the oldest full backup.
21-
This means that you always have a full backup available for the current and previous week:
22-
23-
<Image src={imgDatabaseBackupRecovery} alt="Database backup and recovery architecture in Tiger Cloud" />
24-
25-
On [{C.SCALE} and {C.PERFORMANCE}](/deploy/tiger-cloud/tiger-cloud-azure/pricing-and-account-management) {C.PRICING_PLAN}s, you can check the list of backups for the previous 14 days in {C.CONSOLE_LONG}. To do so, select your {C.SERVICE_SHORT}, then click `Operations` > `Backup and restore` > `Backup history`.
26-
27-
In the event of a storage failure, a {C.SERVICE_SHORT} automatically recovers from a backup
28-
to the point of failure. If the whole availability zone goes down, your {C.SERVICE_LONG}s are recovered in a different zone. In the event of a user error, you can [create a point-in-time recovery fork](../service-management/fork-services).
11+
<BackupRestore createBackupScreenshot={imgCreateCrossRegionBackup} backupListScreenshot={imgCrossRegionBackupList} />

src/content/docs/get-started/supported-regions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ import AzureRegions from "../../../partials/_timescale-cloud-regions-azure.mdx";
3333

3434
## Cross-region backups
3535

36-
On AWS, you can store backup copies in a different region than your primary {C.SERVICE_SHORT} for extra resilience to regional outages.
36+
On AWS and Azure, you can store backup copies in a different region than your primary {C.SERVICE_SHORT} for extra resilience to regional outages.

src/partials/_azure-features.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The features included in each [{C.PRICING_PLAN}](https://www.tigerdata.com/prici
3131
| **Availability and monitoring** | | | |
3232
| {C.HA_REPLICA_CAP}s <br/>(Automated multi-AZ failover) ||||
3333
| {C.READ_REPLICA_CAP}s | |||
34+
| Cross-region backup & restore | | ||
3435
| Backup reports | | 14 days | 14 days |
3536
| Point-in-time recovery and forking | 3 days | 14 days | 14 days |
3637
| Performance insights ||||

src/partials/_backup-restore.mdx

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
import * as C from "@constants";
2+
import { Callout } from "@stainless-api/docs/components";
3+
import { NumberedList, NumberedItem } from "@components/NumberedList";
4+
5+
import { Image } from "astro:assets";
6+
import imgDatabaseBackupRecovery from "../assets/images/deploy/tiger-cloud/database-backup-recovery.png";
7+
8+
{C.CLOUD_LONG} provides comprehensive backup and recovery solutions to protect your data, including automatic daily backups,
9+
cross-region protection, and point-in-time recovery.
10+
11+
## Automatic backups
12+
13+
{C.CLOUD_LONG} automatically handles backup for your {C.SERVICE_LONG}s using the `pgBackRest` tool. You don't need to perform
14+
backups manually. What's more, with [cross-region backup](#enable-cross-region-backup), you are protected when an entire region goes down.
15+
16+
{C.CLOUD_LONG} automatically creates one full backup every week, and incremental backups every day in the same region as
17+
your {C.SERVICE_SHORT}. Additionally, all [Write-Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html) files are retained back to the oldest full backup.
18+
This means that you always have a full backup available for the current and previous week:
19+
20+
<Image src={imgDatabaseBackupRecovery} alt="Database backup and recovery architecture in Tiger Cloud" />
21+
22+
On [{C.SCALE} and {C.ENTERPRISE}](../pricing-and-account-management) {C.PRICING_PLAN}s, you can check the list of backups for the previous 14 days in {C.CONSOLE_LONG}. To do so, select your {C.SERVICE_SHORT}, then click `Operations` > `Backup and restore` > `Backup history`.
23+
24+
In the event of a storage failure, a {C.SERVICE_SHORT} automatically recovers from a backup
25+
to the point of failure. If the whole availability zone goes down, your {C.SERVICE_LONG}s are recovered in a different zone. In the event of a user error, you can [create a point-in-time recovery fork](../service-management/fork-services).
26+
27+
## Enable cross-region backup
28+
29+
<Callout variant="note">
30+
Cross-region backup is available on [{C.ENTERPRISE}](../pricing-and-account-management) pricing plan.
31+
</Callout>
32+
33+
For added reliability, you can enable cross-region backup. This protects your data when an entire region goes down. In this case, you have two identical backups of your {C.SERVICE_SHORT} at any time, but one of them is in a different region. Cross-region backups are updated daily and weekly in the same way as a regular backup. You can have one cross-region backup for a {C.SERVICE_SHORT}.
34+
35+
You enable cross-region backup when you create a {C.SERVICE_SHORT}, or configure it for an existing {C.SERVICE_SHORT} in {C.CONSOLE_LONG}:
36+
37+
<NumberedList>
38+
39+
<NumberedItem title={`Select your ${C.SERVICE_SHORT} and open backup settings`}>
40+
41+
In [{C.CONSOLE_SHORT}](https://console.cloud.tigerdata.com/dashboard/services), select your {C.SERVICE_SHORT} and click `Operations` > `Backup & restore`.
42+
43+
</NumberedItem>
44+
45+
<NumberedItem title="Enable cross-region backup">
46+
47+
In `Cross-region backup`, select the region in the dropdown and click `Enable backup`.
48+
49+
<Image src={props.createBackupScreenshot} alt="Creating a cross-region backup in Tiger Console" />
50+
51+
You can now see the backup, its region, and creation date in a list.
52+
53+
</NumberedItem>
54+
55+
</NumberedList>
56+
57+
You can have one cross-region backup per {C.SERVICE_SHORT}. To change the region of your backup:
58+
59+
<NumberedList>
60+
61+
<NumberedItem title={`Open backup settings for your ${C.SERVICE_SHORT}`}>
62+
63+
In [{C.CONSOLE_SHORT}](https://console.cloud.tigerdata.com/dashboard/services), select your {C.SERVICE_SHORT} and click `Operations` > `Backup & restore`.
64+
65+
</NumberedItem>
66+
67+
<NumberedItem title="Disable the existing backup">
68+
69+
Click the trash icon next to the existing backup to disable it.
70+
71+
<Image src={props.backupListScreenshot} alt="Cross-region backup list in Tiger Console" />
72+
73+
</NumberedItem>
74+
75+
<NumberedItem title="Create a new backup in a different region">
76+
77+
</NumberedItem>
78+
79+
</NumberedList>

0 commit comments

Comments
 (0)