Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6408

Querying BackupBackend a backup entry returns an unexpected error

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.5.2, 6.5.1, 6.5.0, 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: None
    • Labels:
      None

      Description

      Querying BackupBackend with a given backup id does not work and return an error.

      Steps to reproduce

      Let server be installed at /home/jdoe/opendj

      ./bin/start-ds
      
      ./bin/backup  --hostname opendj.example.com  --port 4444  --bindDN "uid=admin"  --bindPassword password  --backendId appData  --backupId foo  --backupDirectory ./bak  --start 0  --trustAll
      
      ./bin/ldapsearch -p 1389 -D "uid=admin" -w password -b "ds-backup-id=foo,ds-backup-directory-path=/home/jdoe/opendj/bak,cn=backups" "(&)"
      

      Actual result

      # The LDAP search request failed: 80 (Other)
      # Additional Information:  An unexpected error was encountered while processing a search in one of the Directory Server backends: The attribute description "archive_file" could not be parsed because it contains an invalid character "_" at position 7
      

      Expected result

      The backup entry corresponding to the given backupId

      Notes

      This probably comes from the fact, the BackupBackend converts straight metadata of the backup from the backup.info file and these metadata are not compatible with the expected response format.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                cedric.tran-xuan Cedric Tran-Xuan
                Dev Assignee:
                Jean-Noël Rouvignac
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: