Skip to content

Unable to backup VMs data without labels #2016

@saibug

Description

@saibug

Hi Folks

I'm trying to backup VM (data included), the backup file is like :

apiVersion: velero.io/v1 kind: Backup metadata: name: demo-backup namespace: testproject spec: snapshotMoveData: true includedNamespaces: - testproject storageLocation: dpa-1

Current behavior :

Backup works fine, but data is not uploaded to the object store. I decided to add LabelSelector likes

labelSelector: matchExpressions: - key: vmID operator: In values: - 724dfr45-d4d5-4b8d-83dc-1ab23dfe01ed

Of course, this can backup data because vm's pvc has vmID label

Expected behavior :

  • Backup VM and data
  • Select vm by name

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions