Skip to content

Velero Search, locate resources inside backups, by name/kind/namespace/labels etc. #9851

Description

@adam-jian-zhang

Describe the problem/challenge you have

Today there is no easy method of telling the resources inside backup, it is stored in a tarball in object store.
Operator may need to find the backups associate with the resources he/she interested.

Describe the solution you'd like

Add a SearchRequest API to address the needs, the backups needs to be indexed in a database to support the query efficiently.
The search query should support query by

  • name, exact or glob pattern
  • kind, by kind name
  • namespace
  • labels
  • a combination of above four terms
  • limits to the query results, too many results is not really useful, it needs to be parsed by human, and
    only a subset of backups is really needed, user can refine the search terms to identify the backups he/she interested.

Anything else you would like to add:

Environment:

  • Velero version (use velero version):
  • Kubernetes version (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "The project would be better with this feature added"
  • 👎 for "This feature will not enhance the project in a meaningful way"

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions