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

cbbackupmgr backup to S3 fails to perform sub-command operations due to file being used by another process

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.6.0
    • Component/s: tools
    • Environment:
      Windows 2016 64-bit
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      No

      Description

      Install Couchbase server 6.6.0-7897 on a windows server 2016.
      Create travel-sample bucket.
      Run backup to s3, backup all data in bucket but final sub process failed.

       
      C:\Users\Administrator>cd "c:\Program Files\Couchbase\Server\bin"
       
      c:\Program Files\Couchbase\Server\bin>.\cbbackupmgr config -r backup -a s3://bkrepo --obj-access-key-id AKIAJP --obj-secret-access-key xzsNfaT --obj-staging-dir /root/bk-staging  --obj-region us-west-2
      Backup repository `backup` created successfully in archive `s3://bkrepo`
       
      c:\Program Files\Couchbase\Server\bin>.\cbbackupmgr backup -c localhost -u Administrator -p password  -r backup -a s3://bkrepo --obj-access-key-id AKIAJP --obj-secret-access-key xzsNfaT  --obj-staging-dir /root/bk-staging  --obj-region us-west-2
      Backing up to '2020-08-04T22_48_59.4251885Z'
      Copied all data in 3m38.0058358s (Avg. 98.61KB/Sec)                                               31591 items / 20.99MB
      [=============================================================================================================] 100.00%
      Backup successfully completed
      Backed up bucket "travel-sample" succeeded
      Mutations backed up: 31591, Mutations failed to backup: 0
      Deletions backed up: 0, Deletions failed to backup: 0
      Skipped due to purge number or conflict resolution: Mutations: 0 Deletions: 0
      Post sub-command object store task failed: The process cannot access the file because it is being used by another process.
       
      c:\Program Files\Couchbase\Server\bin>
      
      

      I will upload log soon

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          thuan Thuan Nguyen created issue -
          thuan Thuan Nguyen made changes -
          Field Original Value New Value
          Attachment cbbackupmgr-collectinfo-bk-staging-2020-08-04T162358.zip [ 103069 ]
          thuan Thuan Nguyen made changes -
          Attachment cbbackupmgr-collectinfo-bk-staging-2020-08-04T162358.zip [ 103069 ]
          thuan Thuan Nguyen made changes -
          Attachment backup_sub_process_issue.zip [ 103071 ]
          owend Daniel Owen made changes -
          Assignee Patrick Varley [ pvarley ] James Lee [ james.lee ]
          pvarley Patrick Varley made changes -
          Assignee James Lee [ james.lee ] Thuan Nguyen [ thuan ]
          james.lee James Lee made changes -
          Fix Version/s 6.6.0 [ 16787 ]
          james.lee James Lee made changes -
          Assignee Thuan Nguyen [ thuan ] James Lee [ james.lee ]
          owend Daniel Owen made changes -
          Due Date 05/Aug/20
          james.lee James Lee made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          james.lee James Lee made changes -
          Summary [CBM] cbbackupmgr backups to s3 thow out error: "Post sub-command object store task failed: The process cannot access the file because it is being used by another process." cbbackupmgr backup to S3 fails to perform sub-command operations due to file being used by another process
          till Till Westmann made changes -
          Link This issue blocks MB-38724 [ MB-38724 ]
          till Till Westmann made changes -
          Labels approved-for-6.6.0
          thuan Thuan Nguyen made changes -
          james.lee James Lee made changes -
          Assignee James Lee [ james.lee ] Thuan Nguyen [ thuan ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          thuan Thuan Nguyen made changes -
          Sprint Status Current Sprint [ 10027 ]
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            thuan Thuan Nguyen
            Reporter:
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty