Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6176

Support wildcards for namespace backup

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Moderate
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      Support for wildcards is requested when performing backup operations in namespaces. 
      This RFE is intended to avoid having to update the backup object every time a new namespace is created.
       
      There is an open isssue upstream for this. 

       

      Here is an example of what we need,

      1. velero backup create wp-airflow-helm --include-namespaces "*-helm"

      Expected result:

       Backup created for just that specific namespaces that matched regex

      Actual result:

      time="2019-09-12T19:10:26Z" level=error msg="Error getting namespace" backup=velero/wp-airflow-helm2 error="namespaces \"-helm\" not found" error.file="/go/src/github.com/heptio/velero/pkg/backup/resource_backupper.go:186" error.function="github.com/heptio/velero/pkg/backup.(*defaultResourceBackupper).backupResource" group=v1 logSource="pkg/backup/resource_backupper.go:186" namespace="-helm" resource=namespaces

       

              rh-ee-jvaikath Joseph Antony Vaikath
              rhn-support-mangarci Manrique García
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: