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

CBBM cloud backups fail when using --disable-data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • 7.1.0
    • tools
    • Untriaged
    • 1
    • Yes

    Description

      What's happening?

      When attempting a cloud backup using the --disable-data flag, the backup fails with the error:

      Error backing up cluster: no such file or directory

      From the logs, this seems to be caused by:

      Error backing up cluster: failed to compress backup metadata: failed to compress range files: failed to create zip archive at '/tmp/cbbackupmgr-staging/archive-10.112.212.101/backup/2022-03-02T14_15_00.877107497Z/default-e7cbe61b4af91c68761200703ddf9a66/ranges/ranges.zip': open /tmp/cbbackupmgr-staging/archive-10.112.212.101/backup/2022-03-02T14_15_00.877107497Z/default-e7cbe61b4af91c68761200703ddf9a66/ranges/ranges.zip: no such file or directory

      What's expected?

      I would expect this backup to succeed

      Steps to reproduce

      1. Create a cluster and load with data (defaults fine)
      2. Create a cloud repo using the flag --disable data
      3. Attempt a backup (this should fail)

       

      Attachments

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

        Activity

          People

            joe.mitchelljones Joe Mitchell Jones
            joe.mitchelljones Joe Mitchell Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty