From 297a7e379b85bd2cd5e804f29ebbea48e15441eb Mon Sep 17 00:00:00 2001 From: David Noland Date: Mon, 8 Mar 2021 11:57:35 -0800 Subject: [PATCH] Single command to follow the restore logs --- .../v2.x/en/backups/v2.5/restoring-rancher/_index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/rancher/v2.x/en/backups/v2.5/restoring-rancher/_index.md b/content/rancher/v2.x/en/backups/v2.5/restoring-rancher/_index.md index 65721283c33..935b27fec38 100644 --- a/content/rancher/v2.x/en/backups/v2.5/restoring-rancher/_index.md +++ b/content/rancher/v2.x/en/backups/v2.5/restoring-rancher/_index.md @@ -50,11 +50,10 @@ A restore is performed by creating a Restore custom resource. ### 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 -f +``` +kubectl logs -n cattle-resources-system -l app.kubernetes.io/name=rancher-backup -f ``` ### Cleanup