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

Online list backups command throws error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Environment:
      Linux
    • Support Ticket IDs:

      Description

      When attempting to list available backups using on a running DS using "restore --listBackups"
      command, an error is thrown:

       

      ./restore --backupDirectory /path/to/opendj/bak/userRoot/ --listBackups 
      ERROR: argument listBackups is incompatible with use of this tool to interact
       with the directory as a client
      

       

       Adding the connection parameters results in the same error.

       

      Expectation:

      Existing backups should be listed

       

      Workaround:

      Adding the --offline argument, the command works as expected

      ./restore --backupDirectory /path/to/opendj/bak/userRoot/ --listBackups --offline
      
      Backup ID: 20170818134719Z
      Backup Date: 18/Aug/2017:14:47:20 +0100
      Is Incremental: false
      Is Compressed: false
      Is Encrypted: false
      Has Unsigned Hash: false
      Has Signed Hash: false
      Dependent Upon: none
      
      Backup ID: 20170818135325Z
      Backup Date: 18/Aug/2017:14:53:26 +0100
      Is Incremental: false
      Is Compressed: false
      Is Encrypted: false
      Has Unsigned Hash: false
      Has Signed Hash: false
      Dependent Upon: none
      

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              john.noble John Noble
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: