Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/details/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,17 @@ storage:
```
For the description of configuration options, see [Configuration file options](../reference/configuration-options.md).
## Upload retries
You can set up the number of attempts for Percona Backup for MongoDB to upload data to Microsoft Azure storage as well as the min and max time to wait for the next retry. Set the options `storage.azure.retryer.numMaxRetries`, `storage.azure.retryer.minRetryDelay` and `storage.azure.retryer.maxRetryDelay` in Percona Backup for MongoDB configuration.

```yaml
retryer:
numMaxRetries: 3
minRetryDelay: 800ms
maxRetryDelay: 60s
```

This upload retry increases the chances of data upload completion in cases of unstable connection.
28 changes: 28 additions & 0 deletions docs/reference/configuration-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@
credentials:
key: <your-access-key>
maxObjSizeGB: 194560
retryer:
numMaxRetries: 3
minRetryDelay: 800ms
maxRetryDelay: 60s
```

### storage.azure.account
Expand Down Expand Up @@ -597,6 +601,30 @@

The maximum file size to be stored on the backup storage. If the file to upload exceeds this limit, PBM splits it in pieces, each of which falls within the defined limit. Read more about [Managing large backup files](../features/split-merge-backup.md).

### storage.azure.retryer.numMaxRetries

*Type*: int <br>
*Required*: NO <br>

Check warning on line 607 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L607

[Google.Colons] ': N' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': N' should be in lowercase.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 607, "column": 11}}}, "severity": "WARNING"}
*Default*: 3

The maximum number of retries to upload data to Microsoft Azure storage. A zero value means no retries will be performed.

Check warning on line 610 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L610

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 610, "column": 104}}}, "severity": "WARNING"}

### storage.azure.retryer.minRetryDelay

*Type*: time.Duration <br>

Check failure on line 614 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L614

[Google.Spacing] 'e.D' should have one space.
Raw output
{"message": "[Google.Spacing] 'e.D' should have one space.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 614, "column": 12}}}, "severity": "ERROR"}
*Required*: NO <br>

Check warning on line 615 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L615

[Google.Colons] ': N' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': N' should be in lowercase.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 615, "column": 11}}}, "severity": "WARNING"}
*Default*: 800ms

Check failure on line 616 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L616

[Google.Units] Put a nonbreaking space between the number and the unit in '800ms'.
Raw output
{"message": "[Google.Units] Put a nonbreaking space between the number and the unit in '800ms'.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 616, "column": 12}}}, "severity": "ERROR"}

The minimum time to wait before the next retry, specified as a `time.Duration`. Units like ms, s, etc., are supported. Defaults to nanoseconds if no unit is provided.


### storage.azure.retryer.maxRetryDelay

*Type*: time.Duration <br>

Check failure on line 623 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L623

[Google.Spacing] 'e.D' should have one space.
Raw output
{"message": "[Google.Spacing] 'e.D' should have one space.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 623, "column": 12}}}, "severity": "ERROR"}
*Required*: NO <br>

Check warning on line 624 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L624

[Google.Colons] ': N' should be in lowercase.
Raw output
{"message": "[Google.Colons] ': N' should be in lowercase.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 624, "column": 11}}}, "severity": "WARNING"}
*Default*: 60s

Check failure on line 625 in docs/reference/configuration-options.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/reference/configuration-options.md#L625

[Google.Units] Put a nonbreaking space between the number and the unit in '60s'.
Raw output
{"message": "[Google.Units] Put a nonbreaking space between the number and the unit in '60s'.", "location": {"path": "docs/reference/configuration-options.md", "range": {"start": {"line": 625, "column": 12}}}, "severity": "ERROR"}

The maximum time to wait before the next retry, specified as a `time.Duration`. Units like ms, s, etc., are supported. Defaults to nanoseconds if no unit is provided.

## Alibaba Cloud OSS storage options

Expand Down