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

Review how the BackupBackend should work


    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: None
    • Labels:


      With OPENDJ-6055, the backup structure has changed:

      • backup of several backends are now in the same backup directory (while they were under a sub-directory, whose name was the backend id, before)
      • the backup descriptors have also changed and don't provide the same data

      For the first point, querying the root of the BackupBackend gives hint about the different backends that have been backed up since they were all backed up into a different sub-directory).
      Thus querying the cn=backups gave prior to 7.0.0:

      dn: cn=backups
      objectclass: top
      objectclass: untypedObject
      cn: backups
      dn: ds-backup-directory-path=/tmp/bak4286947019393876439/adminRoot,cn=backups
      objectclass: top
      objectclass: ds-backup-directory
      ds-backup-backend-dn: ds-cfg-backend-id=adminRoot,cn=Backends,cn=config
      ds-backup-directory-path: /tmp/bak4286947019393876439/adminRoot
      dn: ds-backup-directory-path=/tmp/bak4286947019393876439/appData,cn=backups
      objectclass: top
      objectclass: ds-backup-directory
      ds-backup-backend-dn: ds-cfg-backend-id=appData,cn=Backends,cn=config
      ds-backup-directory-path: /tmp/bak4286947019393876439/appData

      While now, it gaves:

      dn: cn=backups
      objectclass: top
      objectclass: untypedObject
      cn: backups
      dn: ds-backup-directory-path=/tmp/bak6457349099828458520,cn=backups
      objectclass: top
      objectclass: ds-backup-directory
      ds-backup-directory-path: /tmp/bak6457349099828458520

      In a way, we've lost which backends have been backed up (which was implicit before: we relied on the fact each backend was backed up in a sub-folder with its id as folder name).
      As suggestion, we may add the list of backends that are backed up in a given directory but may be, we can also review the information we want to expose through this backend and how.


          Issue Links



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


                • Created: