Skip to content

Commit 70eeb7a

Browse files
committed
Add command to follow restore logs to versioned docs #3098
1 parent ea0b5e6 commit 70eeb7a

File tree

1 file changed

+3
-4
lines changed
  • content/rancher/v2.5/en/backups/restoring-rancher

1 file changed

+3
-4
lines changed

content/rancher/v2.5/en/backups/restoring-rancher/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@ A restore is performed by creating a Restore custom resource.
5050

5151
### Logs
5252

53-
To check how the restore is progressing, you can check the logs of the operator. Follow these steps to get the logs:
53+
To check how the restore is progressing, you can check the logs of the operator. Run this command to follow the logs:
5454

55-
```yaml
56-
kubectl get pods -n cattle-resources-system
57-
kubectl logs <pod name from above command> -n cattle-resources-system -f
5855
```
56+
kubectl logs -n cattle-resources-system -l app.kubernetes.io/name=rancher-backup -f
57+
5958
6059
### Cleanup
6160

0 commit comments

Comments
 (0)