Skip to content

Commit cb4b035

Browse files
committed
hotfix: fix backup restore code formatting
1 parent 91b1288 commit cb4b035

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

content/influxdb3/clustered/admin/backup-restore.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ snapshot. When a snapshot is restored to the Catalog, the Compactor
4949
- [Restore to a recovery point](#restore-to-a-recovery-point)
5050
- [Definitions](#definitions)
5151
- [Resources](#resources)
52-
- [*prep_pg_dump.awk*](#preppgdumpawk)
52+
- [prep_pg_dump.awk](#preppgdumpawk)
5353

5454
### Soft delete
5555

@@ -71,8 +71,8 @@ It indicates how much time can pass between data snapshots before data is consid
7171

7272
The InfluxDB Clustered snapshot strategy RPO allows for the following maximum data loss:
7373

74-
- 1 hour for hourly snapshots *(up to the configured hourly snapshot expiration)*
75-
- 1 day for daily snapshots *(up to the configured daily snapshot expiration)*
74+
- 1 hour for hourly snapshots _(up to the configured hourly snapshot expiration)_
75+
- 1 day for daily snapshots _(up to the configured daily snapshot expiration)_
7676

7777
## Recovery Time Objective (RTO)
7878

@@ -146,6 +146,7 @@ Enable hourly Catalog snapshotting. The default is `false`. Set to `true`:
146146

147147
```yaml
148148
INFLUXDB_IOX_CREATE_CATALOG_BACKUP_DATA_SNAPSHOT_FILES: true
149+
```
149150

150151
#### INFLUXDB_IOX_DELETE_USING_CATALOG_BACKUP_DATA_SNAPSHOT_FILES
151152

@@ -155,6 +156,7 @@ snapshots. The default is `false`. Set to `true`:
155156

156157
```yaml
157158
INFLUXDB_IOX_DELETE_USING_CATALOG_BACKUP_DATA_SNAPSHOT_FILES: true
159+
```
158160

159161
> [!Caution]
160162
> If set to `false` (the default) with snapshots enabled, the Garbage Collector does not check
@@ -164,17 +166,18 @@ INFLUXDB_IOX_DELETE_USING_CATALOG_BACKUP_DATA_SNAPSHOT_FILES: true
164166

165167
#### INFLUXDB_IOX_KEEP_HOURLY_CATALOG_BACKUP_FILE_LISTS
166168

167-
After this duration of time, the Garbage Collector deletes *hourly* snapshots,
169+
After this duration of time, the Garbage Collector deletes _hourly_ snapshots,
168170
allowing the Garbage Collector to [hard-delete](#hard-delete) Parquet files from the object
169171
store and the Catalog. The default is `30d`. The recommended range for snapshots is between
170172
`1d` and `30d`:
171173

172174
```yaml
173175
INFLUXDB_IOX_KEEP_HOURLY_CATALOG_BACKUP_FILE_LISTS: '30d'
176+
```
174177

175178
#### INFLUXDB_IOX_KEEP_DAILY_CATALOG_BACKUP_FILE_LISTS
176179

177-
After this duration of time, the Garbage Collector deletes *daily* snapshots,
180+
After this duration of time, the Garbage Collector deletes _daily_ snapshots,
178181
allowing the Garbage Collector to [hard-delete](#hard-delete) Parquet files from the object
179182
store and the Catalog. The default is `90d`. The recommended range is between
180183
`3d` and `90d`.
@@ -183,8 +186,11 @@ store and the Catalog. The default is `90d`. The recommended range is between
183186
> Daily snapshots must expire after hourly backups
184187
> Make sure to set `INFLUXDB_IOX_KEEP_DAILY_CATALOG_BACKUP_FILE_LISTS` to a value greater than
185188
> `INFLUXDB_IOX_KEEP_HOURLY_CATALOG_BACKUP_FILE_LISTS`.
189+
186190
```yaml
187191
INFLUXDB_IOX_KEEP_DAILY_CATALOG_BACKUP_FILE_LISTS: '90d'
192+
```
193+
188194
#### INFLUXDB_IOX_GC_OBJECTSTORE_CUTOFF
189195

190196
The duration of time after a Parquet file is no longer referenced in the Catalog
@@ -194,6 +200,7 @@ is between `6h` and `14d`:
194200

195201
```yaml
196202
INFLUXDB_IOX_GC_OBJECTSTORE_CUTOFF: '14d'
203+
```
197204

198205
## Verify snapshots
199206

@@ -202,7 +209,7 @@ InfluxDB Clustered stores hourly and daily snapshots in the
202209
use clients provided by
203210
your object storage provider to ensure that snapshots are written to the object store.
204211

205-
Hourly snapshots are taken at *approximately* the beginning of each hour
212+
Hourly snapshots are taken at _approximately_ the beginning of each hour
206213
(≈1:00, ≈2:00, ≈3:00, etc.). After you enable snapshotting, the first snapshot is
207214
written on or around the beginning of the next hour.
208215

@@ -347,7 +354,7 @@ associated with the recovery point and [soft deletes](#soft-delete) them.
347354

348355
## Resources
349356

350-
### *prep\_pg\_dump.awk*
357+
### prep\_pg\_dump.awk
351358

352359
{{% truncate %}}
353360
<!-- pytest.mark.skip -->

0 commit comments

Comments
 (0)