Skip to content

Commit

Permalink
Update zh/backup-to-azblob-using-br.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aolin <[email protected]>
  • Loading branch information
RidRisR and Oreoxmt authored Dec 26, 2024
1 parent 1296659 commit 760b637
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions zh/backup-to-azblob-using-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,29 +251,29 @@ kubectl edit backup demo1-log-backup-azblob -n backup-test
kubectl apply -f log-backup-azblob.yaml
```

`log-backup-azblob.yaml` 文件内容如下:

```yaml
---
apiVersion: pingcap.com/v1alpha1
kind: Backup
metadata:
name: demo1-log-backup-azblob
namespace: backup-test
spec:
backupMode: log
logSubcommand: log-pause
br:
cluster: demo1
clusterNamespace: test1
sendCredToTikv: true
s3:
provider: aws
secretName: s3-secret
region: us-west-1
bucket: my-bucket
prefix: my-log-backup-folder
```
修改后 `log-backup-azblob.yaml` 文件内容如下:

```yaml
---
apiVersion: pingcap.com/v1alpha1
kind: Backup
metadata:
name: demo1-log-backup-azblob
namespace: backup-test
spec:
backupMode: log
logSubcommand: log-pause
br:
cluster: demo1
clusterNamespace: test1
sendCredToTikv: true
s3:
provider: aws
secretName: s3-secret
region: us-west-1
bucket: my-bucket
prefix: my-log-backup-folder
```
可以看到名为 `demo1-log-backup-azblob` 的 `Backup` CR 的 `STATUS` 从 `Running` 变成了 `Pause`:

Expand Down

0 comments on commit 760b637

Please sign in to comment.