From 42d9bebe4703f5066aa63432ec0593d59ce977bc Mon Sep 17 00:00:00 2001 From: "xinjun.jiang" Date: Tue, 22 Sep 2026 16:02:16 +0800 Subject: [PATCH] docs: specify backup source in restore filter examples Signed-off-by: xinjun.jiang --- site/content/docs/main/resource-filtering.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/content/docs/main/resource-filtering.md b/site/content/docs/main/resource-filtering.md index 32e343123..8143201f3 100644 --- a/site/content/docs/main/resource-filtering.md +++ b/site/content/docs/main/resource-filtering.md @@ -32,7 +32,7 @@ Note: `*` alone is reserved for empty fields, which means all namespaces. * Restore two namespaces and their objects. ```bash - velero restore create --include-namespaces , + velero restore create --from-backup --include-namespaces , ``` ### --include-resources @@ -48,7 +48,7 @@ Kubernetes resources to include in the backup, formatted as resource.group, such * Restore all deployments and configmaps in the cluster. ```bash - velero restore create --include-resources deployments,configmaps + velero restore create --from-backup --include-resources deployments,configmaps ``` * Backup the deployments in a namespace. @@ -82,7 +82,7 @@ Includes cluster-scoped resources. Cannot work with `--include-cluster-scoped-re * Restore only namespaced resources in the cluster. ```bash - velero restore create --include-cluster-resources=false + velero restore create --from-backup --include-cluster-resources=false ``` * Backup a namespace and include cluster-scoped resources. @@ -199,7 +199,7 @@ See [Namespace Glob Patterns](namespace-glob-patterns.md) for more details on su * Exclude two namespaces during a restore. ```bash - velero restore create --exclude-namespaces , + velero restore create --from-backup --exclude-namespaces , ``` ### --exclude-resources