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

Fix oc command mentioned in PV opt-in/opt-out section

XMLWordPrintable

    • 3
    • False
    • Hide

      None

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

      Description of problem:

       

      oc command mentioned in pv opt-in/opt-out sections has an additional "\" mentioned which is not accurate.  Also in where section it should be <your_volume_name_n> instead of <your_volume_name_x>

      Current command:- 

      oc -n <your_pod_namespace> annotate pod/<your_pod_name> backup.velero.io/backup-volumes=<your_volume_name_1>, \ <your_volume_name_2>>,...,<your_volume_name_n> 

      Expected:- 

      oc -n <your_pod_namespace> annotate pod/<your_pod_name> backup.velero.io/backup-volumes=<your_volume_name_1>,<your_volume_name_2>...,<your_volume_name_n>

       

       

      Note section can be updated as per the Dpa spec instead of suggesting to use velero install command.

      Replace it with you can enable this behavior for all velero backups by setting below flag to true in Dpa resource.

      dpa.spec.configuration.velero.defaultVolumesToFSBackup

       

       

       

      Version-Release number of selected component (if applicable):
      OCP 4.16

       

      How reproducible:
      Always

       

      Steps to Reproduce:

      Doc link:- https://docs.openshift.com/container-platform/4.16/backup_and_restore/application_backup_and_restore/oadp-advanced-topics.html#oadp-pod-volume-backup_oadp-advanced-topics

       

      Actual results:

       

      Expected results:

       

       

      oc -n <your_pod_namespace> annotate pod/<your_pod_name> backup.velero.io/backup-volumes=<your_volume_name_1>,<your_volume_name_2>,...,<your_volume_name_n>  
      
      where:<your_volume_name_n>
      specifies the name of the xth volume in the pod specification.

       

      Additional info:

          There are no Sub-Tasks for this issue.

              rhn-support-anarnold A Arnold
              rhn-support-prajoshi Prasad Joshi
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: