mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 13:08:11 +00:00
Single command to follow the restore logs
This commit is contained in:
@@ -50,11 +50,10 @@ A restore is performed by creating a Restore custom resource.
|
|||||||
|
|
||||||
### Logs
|
### Logs
|
||||||
|
|
||||||
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
|
To check how the restore is progressing, you can check the logs of the operator. Run this command to follow the logs:
|
||||||
|
|
||||||
```yaml
|
```
|
||||||
kubectl get pods -n cattle-resources-system
|
kubectl logs -n cattle-resources-system -l app.kubernetes.io/name=rancher-backup -f
|
||||||
kubectl logs <pod name from above command> -n cattle-resources-system -f
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user