Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19311

[Entbackup] Windows - process getting locked on erroneous command - not able to execute the correct command after

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Example - 1:

      1. Create a backup archive and a repo
      2. Execute merge command without taking any backups - proper error is thrown
      3. Execute the command again - different error about a open process is thrown
      4. Problem goes away if lk file in archive is deleted

      Output:
      C:\Program Files\Couchbase\Server\bin>cbbackupmgr merge --archive C:\tmp\entback
      up --repo backup --start 2016-04-21T04_05_11.4218769-07_00 --end 2016-04-21T04_0
      8_33.6580524-07_00
      Error merging data: Backup backup doesn't contain any backups

      C:\Program Files\Couchbase\Server\bin>cbbackupmgr merge --archive C:\tmp\entback
      up --repo backup --start 2016-04-21T04_05_11.4218769-07_00 --end 2016-04-21T04_0
      8_33.6580524-07_00
      Error merging data: OpenProcess: The parameter is incorrect.

      C:\Program Files\Couchbase\Server\bin>

      Example - 2:
      1. Create a backup archive and a repo
      2. Try to take backup with wrong username and password - proper error is thrown as expected
      3. Try to execute the backup command again with the correct username and password - open process error is thrown
      4. Problem goes away if lk file in archive is deleted

      Output:
      C:\Program Files\Couchbase\Server\bin>cbbackupmgr config --archive C:/tmp/entbac
      kup --repo backup
      Backup repository `backup` created successfully in archive `C:/tmp/entbackup`

      C:\Program Files\Couchbase\Server\bin>cbbackupmgr backup --archive C:/tmp/entbac
      kup --repo backup --host http://172.23.106.117:8091 --username Administrator --p
      assword password
      Error backing up cluster: Authentication error executing "GET http://172.23.106.
      117:8091/pools" check username and password

      C:\Program Files\Couchbase\Server\bin>cbbackupmgr backup --archive C:/tmp/entbac
      kup --repo backup --host http://172.23.106.117:8091 --username Administrator --p
      assword Membase123
      Error backing up cluster: OpenProcess: The parameter is incorrect.

      C:\Program Files\Couchbase\Server\bin>

      Attachments

        For Gerrit Dashboard: MB-19311
        # Subject Branch Project Status CR V

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty