Skip to content

Commit

Permalink
docs: small improvment in backup
Browse files Browse the repository at this point in the history
Just a small addition to help user during backup configuration.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed Nov 17, 2022
1 parent 2fa1ad3 commit 873e4bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Then apply changes to Kubernetes cluster
kubectl apply -f rancher-resource-set.yaml
```

Create backup with creating Backup object
Create `elemental-backup.yaml` file which allows backup with creating Backup object

```yaml showLineNumbers
apiVersion: resources.cattle.io/v1
Expand All @@ -177,6 +177,12 @@ spec:
retentionCount: 10
```

Then apply changes to Kubernetes cluster

```shell showLineNumbers
kubectl apply -f elemental-backup.yaml
```

Check logs from rancher-backup operator

```shell showLineNumbers
Expand Down

0 comments on commit 873e4bf

Please sign in to comment.