You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cloud/manage/backups/export-backups-to-own-cloud-account.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,13 +58,13 @@ You will need the following details to export/restore backups to your own CSP st
58
58
59
59
<hr/>
60
60
61
-
# Backup / Restore
61
+
# Backup / restore
62
62
63
-
## Backup / Restore to AWS S3 Bucket {#backup--restore-to-aws-s3-bucket}
63
+
## Backup / restore to AWS S3 Bucket {#backup--restore-to-aws-s3-bucket}
64
64
65
-
### Take a DB Backup {#take-a-db-backup}
65
+
### Take a DB backup {#take-a-db-backup}
66
66
67
-
**Full Backup**
67
+
**Full backup**
68
68
69
69
```sql
70
70
BACKUP DATABASE test_backups
@@ -78,7 +78,7 @@ You will need to use a different UUID for each new backup in this subdirectory,
78
78
For example, if you are taking daily backups, you will need to use a new UUID each day.
79
79
:::
80
80
81
-
**Incremental Backup**
81
+
**Incremental backup**
82
82
83
83
```sql
84
84
BACKUP DATABASE test_backups
@@ -96,11 +96,11 @@ FROM S3('https://testchbackups.s3.amazonaws.com/backups/<uuid>', '<key id>', '<k
96
96
97
97
See: [Configuring BACKUP/RESTORE to use an S3 Endpoint](/operations/backup#configuring-backuprestore-to-use-an-s3-endpoint) for more details.
98
98
99
-
## Backup / Restore to Azure Blob Storage {#backup--restore-to-azure-blob-storage}
99
+
## Backup / restore to Azure Blob Storage {#backup--restore-to-azure-blob-storage}
100
100
101
-
### Take a DB Backup {#take-a-db-backup-1}
101
+
### Take a DB backup {#take-a-db-backup-1}
102
102
103
-
**Full Backup**
103
+
**Full backup**
104
104
105
105
```sql
106
106
BACKUP DATABASE test_backups
@@ -109,7 +109,7 @@ TO AzureBlobStorage('<AzureBlobStorage endpoint connection string>', '<container
109
109
110
110
Where `uuid` is a unique identifier, used to differentiate a set of backups.
111
111
112
-
**Incremental Backup**
112
+
**Incremental backup**
113
113
114
114
```sql
115
115
BACKUP DATABASE test_backups
@@ -127,19 +127,19 @@ FROM AzureBlobStorage('<AzureBlobStorage endpoint connection string>', '<contain
127
127
128
128
See: [Configuring BACKUP/RESTORE to use an S3 Endpoint](/operations/backup#configuring-backuprestore-to-use-an-azureblobstorage-endpoint) for more details.
129
129
130
-
## Backup / Restore to Google Cloud Storage (GCS) {#backup--restore-to-google-cloud-storage-gcs}
130
+
## Backup / restore to Google Cloud Storage (GCS) {#backup--restore-to-google-cloud-storage-gcs}
131
131
132
-
### Take a DB Backup {#take-a-db-backup-2}
132
+
### Take a DB backup {#take-a-db-backup-2}
133
133
134
-
**Full Backup**
134
+
**Full backup**
135
135
136
136
```sql
137
137
BACKUP DATABASE test_backups
138
138
TO S3('https://storage.googleapis.com/<bucket>/<uuid>', <hmac-key>', <hmac-secret>)
139
139
```
140
140
Where `uuid` is a unique identifier, used to differentiate a set of backups.
141
141
142
-
**Incremental Backup**
142
+
**Incremental backup**
143
143
144
144
```sql
145
145
BACKUP DATABASE test_backups
@@ -155,37 +155,42 @@ AS test_backups_restored_gcs
155
155
FROM S3('https://storage.googleapis.com/test_gcs_backups/<uuid>', 'key', 'secret')
156
156
```
157
157
158
-
# Granular Backups
158
+
# Granular backups {#granular-backups}
159
159
160
160
The `BACKUP` command also works with granular backups of specific tables. Example AWS commands for backing up a specific table are listed below. GCP and Azure commands are similar to the ones explained above, except that they need to be customized to backup specific tables.
161
161
162
-
### Take a Granular Backup
162
+
### Take a granular backup {#take-a-granular-backup}
163
+
163
164
**Full Backup**
164
165
```sql
165
166
BACKUP TABLE data TO S3('https://testchbackups.s3.amazonaws.com/backups/<uuid>', '<key id>', '<key
166
167
secret>')
167
168
```
168
169
169
-
**Incremental Backup**
170
+
**Incremental backup**
171
+
170
172
```sql
171
173
BACKUP TABLE data TO S3('https://testchbackups.s3.amazonaws.com/backups/my_incremental/', '<key id>', '<key
0 commit comments