Skip to content

Commit 6f70f5c

Browse files
Moved to include
Moved the warning to include rather than explicitly repeating every time
1 parent 342d92e commit 6f70f5c

40 files changed

+42
-117
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{site.data.alerts.callout_danger}}
2+
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
3+
{{site.data.alerts.end}}

src/current/v23.1/alter-backup-schedule.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ Full backups are implicitly of `backup_type` `0`, and so does not display in the
154154

155155
### Apply different options to scheduled backups
156156

157-
{{site.data.alerts.callout_danger}}
158-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
159-
{{site.data.alerts.end}}
157+
{% include common/sql/incremental-location-warning.md %}
160158

161159
You can modify the behavior of your backup schedule and the backup jobs with `SET SCHEDULE OPTION` and `SET WITH`. See the [Schedule options](#schedule-options) table and the [Backup options](#backup-options) table for a list of the available options.
162160

src/current/v23.1/backup.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,7 @@ See [Name Resolution]({% link {{ page.version.version }}/sql-name-resolution.md
308308

309309
### Create incremental backups
310310

311-
{{site.data.alerts.callout_danger}}
312-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
313-
{{site.data.alerts.end}}
311+
{% include common/sql/incremental-location-warning.md %}
314312

315313
When a `BACKUP` statement specifies an existing subdirectory in the collection, explicitly or via the `LATEST` keyword, an incremental backup will be added to the default `/incrementals` directory at the root of the [collection]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#backup-collections) storage location.
316314

src/current/v23.1/restore.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,7 @@ After it's restored into a new database, you can write the restored `users` tabl
572572

573573
#### Restore from incremental backups in a different location
574574

575-
{{site.data.alerts.callout_danger}}
576-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
577-
{{site.data.alerts.end}}
575+
{% include common/sql/incremental-location-warning.md %}
578576

579577
To restore an incremental backup that was taken using the [`incremental_location` option]({% link {{ page.version.version }}/backup.md %}#incr-location), you must run the `RESTORE` statement with both:
580578

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ There is different syntax for taking an incremental backup depending on where yo
164164

165165
For more detail on using the `incremental_location` option, see [Incremental backups with explicitly specified destinations]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#incremental-backups-with-explicitly-specified-destinations).
166166

167-
{{site.data.alerts.callout_danger}}
168-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
169-
{{site.data.alerts.end}}
167+
{% include common/sql/incremental-location-warning.md %}
170168

171169
## Restore from an incremental locality-aware backup
172170

src/current/v23.1/take-full-and-incremental-backups.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,7 @@ RESTORE FROM '2023/03/23-213101.37' IN 's3://bucket/path?AUTH=implicit';
220220

221221
### Incremental backups with explicitly specified destinations
222222

223-
{{site.data.alerts.callout_danger}}
224-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
225-
{{site.data.alerts.end}}
223+
{% include common/sql/incremental-location-warning.md %}
226224

227225
To explicitly control where your incremental backups go, use the [`incremental_location`]({% link {{ page.version.version }}/backup.md %}#options) option. By default, incremental backups are stored in the `/incrementals` subdirectory at the root of the collection. However, there are some advanced cases where you may want to store incremental backups in a different storage location.
228226

src/current/v23.2/alter-backup-schedule.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ Full backups are implicitly of `backup_type` `0`, and so does not display in the
154154

155155
### Apply different options to scheduled backups
156156

157-
{{site.data.alerts.callout_danger}}
158-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
159-
{{site.data.alerts.end}}
157+
{% include common/sql/incremental-location-warning.md %}
160158

161159
You can modify the behavior of your backup schedule and the backup jobs with `SET SCHEDULE OPTION` and `SET WITH`. See the [Schedule options](#schedule-options) table and the [Backup options](#backup-options) table for a list of the available options.
162160

src/current/v23.2/backup.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,7 @@ See [Name Resolution]({% link {{ page.version.version }}/sql-name-resolution.md
306306

307307
### Create incremental backups
308308

309-
{{site.data.alerts.callout_danger}}
310-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
311-
{{site.data.alerts.end}}
309+
{% include common/sql/incremental-location-warning.md %}
312310

313311
When a `BACKUP` statement specifies an existing subdirectory in the collection, explicitly or via the `LATEST` keyword, an incremental backup will be added to the default `/incrementals` directory at the root of the [collection]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#backup-collections) storage location.
314312

src/current/v23.2/restore.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,7 @@ After it's restored into a new database, you can write the restored `users` tabl
570570

571571
#### Restore from incremental backups in a different location
572572

573-
{{site.data.alerts.callout_danger}}
574-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
575-
{{site.data.alerts.end}}
573+
{% include common/sql/incremental-location-warning.md %}
576574

577575
To restore an incremental backup that was taken using the [`incremental_location` option]({% link {{ page.version.version }}/backup.md %}#incr-location), you must run the `RESTORE` statement with both:
578576

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ There is different syntax for taking an incremental backup depending on where yo
164164

165165
For more detail on using the `incremental_location` option, see [Incremental backups with explicitly specified destinations]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#incremental-backups-with-explicitly-specified-destinations).
166166

167-
{{site.data.alerts.callout_danger}}
168-
The `incremental_location` parameter is deprecated in versions 25.4 and later. If needed, you can continue to work with already existing backups that use a custom `incremental_location` , but this ability will be removed in version 26.2.
169-
{{site.data.alerts.end}}
167+
{% include common/sql/incremental-location-warning.md %}
170168

171169
## Restore from an incremental locality-aware backup
172170

0 commit comments

Comments
 (0)