Skip to content

Commit 8212990

Browse files
Delete outdated “Manually restore zone configurations from a locality-aware backup” section (#20473)
* Deleted incorrect section Deleted “Manually restore zone configurations from a locality-aware backup” as it is no longer accurate * Removed broken link Removed broken link * Forward and backport Forward and backport
1 parent 80b2a09 commit 8212990

File tree

5 files changed

+5
-212
lines changed

5 files changed

+5
-212
lines changed

src/current/v24.1/take-and-restore-locality-aware-backups.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RESTORE FROM LATEST IN ('s3://us-east-bucket/', 's3://us-west-bucket/');
125125
To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({% link {{ page.version.version }}/restore.md %}#restore-a-specific-full-or-incremental-backup).
126126

127127
{{site.data.alerts.callout_info}}
128-
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you can [manually restore zone configurations from a locality-aware backup](#manually-restore-zone-configurations-from-a-locality-aware-backup).
128+
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node.
129129
{{site.data.alerts.end}}
130130

131131
## Create an incremental locality-aware backup
@@ -191,47 +191,6 @@ To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({%
191191
When [restoring from an incremental locality-aware backup]({% link {{ page.version.version }}/take-and-restore-locality-aware-backups.md %}#restore-from-an-incremental-locality-aware-backup), you need to include **every** locality ever used, even if it was only used once.
192192
{{site.data.alerts.end}}
193193

194-
## Manually restore zone configurations from a locality-aware backup
195-
196-
During a [locality-aware restore](#restore-from-a-locality-aware-backup), some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you need to manually restore [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}) first:
197-
198-
Once the locality-aware restore has started, [pause the restore]({% link {{ page.version.version }}/pause-job.md %}):
199-
200-
{% include_cached copy-clipboard.html %}
201-
~~~ sql
202-
PAUSE JOB 27536791415282;
203-
~~~
204-
205-
The `system.zones` table stores your cluster's [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}), which will prevent the data from rebalancing. To restore them, you must restore the `system.zones` table into a new database because you cannot drop the existing `system.zones` table:
206-
207-
{% include_cached copy-clipboard.html %}
208-
~~~ sql
209-
RESTORE TABLE system.zones FROM '2021/03/23-213101.37' IN
210-
'azure-blob://acme-co-backup?AZURE_ACCOUNT_KEY=hash&AZURE_ACCOUNT_NAME=acme-co'
211-
WITH into_db = 'newdb';
212-
~~~
213-
214-
After it's restored into a new database, you can write the restored `zones` table data to the cluster's existing `system.zones` table:
215-
216-
{% include_cached copy-clipboard.html %}
217-
~~~ sql
218-
INSERT INTO system.zones SELECT * FROM newdb.zones;
219-
~~~
220-
221-
Then drop the temporary table you created:
222-
223-
{% include_cached copy-clipboard.html %}
224-
~~~ sql
225-
DROP TABLE newdb.zones;
226-
~~~
227-
228-
Then, [resume the restore]({% link {{ page.version.version }}/resume-job.md %}):
229-
230-
{% include_cached copy-clipboard.html %}
231-
~~~ sql
232-
RESUME JOB 27536791415282;
233-
~~~
234-
235194
## See also
236195

237196
- [`BACKUP`]({% link {{ page.version.version }}/backup.md %})

src/current/v24.3/take-and-restore-locality-aware-backups.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RESTORE FROM LATEST IN ('s3://us-east-bucket/', 's3://us-west-bucket/');
125125
To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({% link {{ page.version.version }}/restore.md %}#restore-a-specific-full-or-incremental-backup).
126126

127127
{{site.data.alerts.callout_info}}
128-
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you can [manually restore zone configurations from a locality-aware backup](#manually-restore-zone-configurations-from-a-locality-aware-backup).
128+
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node.
129129
{{site.data.alerts.end}}
130130

131131
## Create an incremental locality-aware backup
@@ -191,47 +191,6 @@ To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({%
191191
When [restoring from an incremental locality-aware backup]({% link {{ page.version.version }}/take-and-restore-locality-aware-backups.md %}#restore-from-an-incremental-locality-aware-backup), you need to include **every** locality ever used, even if it was only used once.
192192
{{site.data.alerts.end}}
193193

194-
## Manually restore zone configurations from a locality-aware backup
195-
196-
During a [locality-aware restore](#restore-from-a-locality-aware-backup), some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you need to manually restore [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}) first:
197-
198-
Once the locality-aware restore has started, [pause the restore]({% link {{ page.version.version }}/pause-job.md %}):
199-
200-
{% include_cached copy-clipboard.html %}
201-
~~~ sql
202-
PAUSE JOB 27536791415282;
203-
~~~
204-
205-
The `system.zones` table stores your cluster's [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}), which will prevent the data from rebalancing. To restore them, you must restore the `system.zones` table into a new database because you cannot drop the existing `system.zones` table:
206-
207-
{% include_cached copy-clipboard.html %}
208-
~~~ sql
209-
RESTORE TABLE system.zones FROM '2021/03/23-213101.37' IN
210-
'azure-blob://acme-co-backup?AZURE_ACCOUNT_KEY=hash&AZURE_ACCOUNT_NAME=acme-co'
211-
WITH into_db = 'newdb';
212-
~~~
213-
214-
After it's restored into a new database, you can write the restored `zones` table data to the cluster's existing `system.zones` table:
215-
216-
{% include_cached copy-clipboard.html %}
217-
~~~ sql
218-
INSERT INTO system.zones SELECT * FROM newdb.zones;
219-
~~~
220-
221-
Then drop the temporary table you created:
222-
223-
{% include_cached copy-clipboard.html %}
224-
~~~ sql
225-
DROP TABLE newdb.zones;
226-
~~~
227-
228-
Then, [resume the restore]({% link {{ page.version.version }}/resume-job.md %}):
229-
230-
{% include_cached copy-clipboard.html %}
231-
~~~ sql
232-
RESUME JOB 27536791415282;
233-
~~~
234-
235194
## See also
236195

237196
- [`BACKUP`]({% link {{ page.version.version }}/backup.md %})

src/current/v25.2/take-and-restore-locality-aware-backups.md

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RESTORE FROM LATEST IN ('s3://us-east-bucket/', 's3://us-west-bucket/');
125125
To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({% link {{ page.version.version }}/restore.md %}#restore-a-specific-full-or-incremental-backup).
126126

127127
{{site.data.alerts.callout_info}}
128-
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you can [manually restore zone configurations from a locality-aware backup](#manually-restore-zone-configurations-from-a-locality-aware-backup).
128+
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node.
129129
{{site.data.alerts.end}}
130130

131131
## Create an incremental locality-aware backup
@@ -191,49 +191,6 @@ To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({%
191191
When [restoring from an incremental locality-aware backup]({% link {{ page.version.version }}/take-and-restore-locality-aware-backups.md %}#restore-from-an-incremental-locality-aware-backup), you need to include **every** locality ever used, even if it was only used once.
192192
{{site.data.alerts.end}}
193193

194-
## Manually restore zone configurations from a locality-aware backup
195-
196-
During a [locality-aware restore](#restore-from-a-locality-aware-backup), some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you need to manually restore [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}) first:
197-
198-
Once the locality-aware restore has started, [pause the restore]({% link {{ page.version.version }}/pause-job.md %}):
199-
200-
{% include_cached copy-clipboard.html %}
201-
~~~ sql
202-
PAUSE JOB 27536791415282;
203-
~~~
204-
205-
The `system.zones` table stores your cluster's [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}), which will prevent the data from rebalancing. To restore them, you must restore the `system.zones` table into a new database because you cannot drop the existing `system.zones` table:
206-
207-
{% include_cached copy-clipboard.html %}
208-
~~~ sql
209-
RESTORE TABLE system.zones FROM '2021/03/23-213101.37' IN
210-
'azure-blob://acme-co-backup?AZURE_ACCOUNT_KEY=hash&AZURE_ACCOUNT_NAME=acme-co'
211-
WITH into_db = 'newdb';
212-
~~~
213-
214-
After it's restored into a new database, you can write the restored `zones` table data to the cluster's existing `system.zones` table:
215-
216-
{% include_cached copy-clipboard.html %}
217-
~~~ sql
218-
INSERT INTO system.zones SELECT * FROM newdb.zones;
219-
~~~
220-
221-
Then drop the temporary table you created:
222-
223-
{% include_cached copy-clipboard.html %}
224-
~~~ sql
225-
DROP TABLE newdb.zones;
226-
~~~
227-
228-
Then, [resume the restore]({% link {{ page.version.version }}/resume-job.md %}):
229-
230-
{% include_cached copy-clipboard.html %}
231-
~~~ sql
232-
RESUME JOB 27536791415282;
233-
~~~
234-
235-
## See also
236-
237194
- [`BACKUP`]({% link {{ page.version.version }}/backup.md %})
238195
- [`RESTORE`]({% link {{ page.version.version }}/restore.md %})
239196
- [Take Full and Incremental Backups]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %})

src/current/v25.3/take-and-restore-locality-aware-backups.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RESTORE FROM LATEST IN ('s3://us-east-bucket/', 's3://us-west-bucket/');
125125
To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({% link {{ page.version.version }}/restore.md %}#restore-a-specific-full-or-incremental-backup).
126126

127127
{{site.data.alerts.callout_info}}
128-
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you can [manually restore zone configurations from a locality-aware backup](#manually-restore-zone-configurations-from-a-locality-aware-backup).
128+
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node.
129129
{{site.data.alerts.end}}
130130

131131
## Create an incremental locality-aware backup
@@ -191,47 +191,6 @@ To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({%
191191
When [restoring from an incremental locality-aware backup]({% link {{ page.version.version }}/take-and-restore-locality-aware-backups.md %}#restore-from-an-incremental-locality-aware-backup), you need to include **every** locality ever used, even if it was only used once.
192192
{{site.data.alerts.end}}
193193

194-
## Manually restore zone configurations from a locality-aware backup
195-
196-
During a [locality-aware restore](#restore-from-a-locality-aware-backup), some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you need to manually restore [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}) first:
197-
198-
Once the locality-aware restore has started, [pause the restore]({% link {{ page.version.version }}/pause-job.md %}):
199-
200-
{% include_cached copy-clipboard.html %}
201-
~~~ sql
202-
PAUSE JOB 27536791415282;
203-
~~~
204-
205-
The `system.zones` table stores your cluster's [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}), which will prevent the data from rebalancing. To restore them, you must restore the `system.zones` table into a new database because you cannot drop the existing `system.zones` table:
206-
207-
{% include_cached copy-clipboard.html %}
208-
~~~ sql
209-
RESTORE TABLE system.zones FROM '2021/03/23-213101.37' IN
210-
'azure-blob://acme-co-backup?AZURE_ACCOUNT_KEY=hash&AZURE_ACCOUNT_NAME=acme-co'
211-
WITH into_db = 'newdb';
212-
~~~
213-
214-
After it's restored into a new database, you can write the restored `zones` table data to the cluster's existing `system.zones` table:
215-
216-
{% include_cached copy-clipboard.html %}
217-
~~~ sql
218-
INSERT INTO system.zones SELECT * FROM newdb.zones;
219-
~~~
220-
221-
Then drop the temporary table you created:
222-
223-
{% include_cached copy-clipboard.html %}
224-
~~~ sql
225-
DROP TABLE newdb.zones;
226-
~~~
227-
228-
Then, [resume the restore]({% link {{ page.version.version }}/resume-job.md %}):
229-
230-
{% include_cached copy-clipboard.html %}
231-
~~~ sql
232-
RESUME JOB 27536791415282;
233-
~~~
234-
235194
## See also
236195

237196
- [`BACKUP`]({% link {{ page.version.version }}/backup.md %})

src/current/v25.4/take-and-restore-locality-aware-backups.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RESTORE FROM LATEST IN ('s3://us-east-bucket/', 's3://us-west-bucket/');
125125
To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({% link {{ page.version.version }}/restore.md %}#restore-a-specific-full-or-incremental-backup).
126126

127127
{{site.data.alerts.callout_info}}
128-
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you can [manually restore zone configurations from a locality-aware backup](#manually-restore-zone-configurations-from-a-locality-aware-backup).
128+
[`RESTORE`]({% link {{ page.version.version }}/restore.md %}) is not truly locality-aware; while restoring from backups, a node may read from a store that does not match its locality. This can happen in the cases that either the [`BACKUP`]({% link {{ page.version.version }}/backup.md %}) or [`RESTORE`]({% link {{ page.version.version }}/restore.md %}) was not of a [full cluster]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#full-backups). Note that during a locality-aware restore, some data may be temporarily located on another node before it is eventually relocated to the appropriate node.
129129
{{site.data.alerts.end}}
130130

131131
## Create an incremental locality-aware backup
@@ -191,47 +191,6 @@ To restore from a specific backup, use [`RESTORE FROM {subdirectory} IN ...`]({%
191191
When [restoring from an incremental locality-aware backup]({% link {{ page.version.version }}/take-and-restore-locality-aware-backups.md %}#restore-from-an-incremental-locality-aware-backup), you need to include **every** locality ever used, even if it was only used once.
192192
{{site.data.alerts.end}}
193193

194-
## Manually restore zone configurations from a locality-aware backup
195-
196-
During a [locality-aware restore](#restore-from-a-locality-aware-backup), some data may be temporarily located on another node before it is eventually relocated to the appropriate node. To avoid this, you need to manually restore [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}) first:
197-
198-
Once the locality-aware restore has started, [pause the restore]({% link {{ page.version.version }}/pause-job.md %}):
199-
200-
{% include_cached copy-clipboard.html %}
201-
~~~ sql
202-
PAUSE JOB 27536791415282;
203-
~~~
204-
205-
The `system.zones` table stores your cluster's [zone configurations]({% link {{ page.version.version }}/configure-replication-zones.md %}), which will prevent the data from rebalancing. To restore them, you must restore the `system.zones` table into a new database because you cannot drop the existing `system.zones` table:
206-
207-
{% include_cached copy-clipboard.html %}
208-
~~~ sql
209-
RESTORE TABLE system.zones FROM '2021/03/23-213101.37' IN
210-
'azure-blob://acme-co-backup?AZURE_ACCOUNT_KEY=hash&AZURE_ACCOUNT_NAME=acme-co'
211-
WITH into_db = 'newdb';
212-
~~~
213-
214-
After it's restored into a new database, you can write the restored `zones` table data to the cluster's existing `system.zones` table:
215-
216-
{% include_cached copy-clipboard.html %}
217-
~~~ sql
218-
INSERT INTO system.zones SELECT * FROM newdb.zones;
219-
~~~
220-
221-
Then drop the temporary table you created:
222-
223-
{% include_cached copy-clipboard.html %}
224-
~~~ sql
225-
DROP TABLE newdb.zones;
226-
~~~
227-
228-
Then, [resume the restore]({% link {{ page.version.version }}/resume-job.md %}):
229-
230-
{% include_cached copy-clipboard.html %}
231-
~~~ sql
232-
RESUME JOB 27536791415282;
233-
~~~
234-
235194
## See also
236195

237196
- [`BACKUP`]({% link {{ page.version.version }}/backup.md %})

0 commit comments

Comments
 (0)