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

cbbackupmgr output shows backup successful but no data in backup repo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.5.0
    • tools
    • Centos 7.6 64-bit
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Install Couchbase server 6.5.0-2452 on a centos 7.6 server.
      Set with services kv, index, n1ql and fts
      Create default bucket
      Load 1000 docs to default bucket.
      Backup cluster using cbbackupmrg

      [root@localhost ~]# rm -rf /tmp/entbackup/*
      [root@localhost ~]# /opt/couchbase/bin/cbbackupmgr config -a /tmp/entbackup/ -r backup
      Backup repository `backup` created successfully in archive `/tmp/entbackup/`
      [root@localhost ~]#  /opt/couchbase/bin//cbbackupmgr backup --archive /tmp/entbackup --repo backup --cluster http://12.11.10.129:8091 --username Administrator  --password password  
       
      Backing up to 2019-02-26T14_59_35.31413586-08_00
      Copied all data in 4.02s (Avg. 154.83KB/Sec)                                                                                                                                                          1000 items / 619.31KB
      default                 [=========================================================================================================================================================================================] 100.00%
       
      Backup successfully completed
      Backed up bucket "default" succeeded
      Mutations backedup; 1000, Mutations failed to backup: 0
      Deletions backedup: 0, Deletions failed to backup: 0
      [root@localhost ~]# 
      

      Check data in repo, show no docs in its.

      [root@localhost ~]#  /opt/couchbase/bin//cbbackupmgr list --archive /tmp/entbackup
      Could not get data for shard 0 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 1 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 2 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 3 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 4 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 5 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Could not get data for shard 6 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
       
      ..........
      ..........
      Could not get data for shard 1023 of backup '/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data'
      Backup `/tmp/entbackup/backup/2019-02-26T14_59_35.31413586-08_00/default-2a51ee445af2557fcc50210492172b8e/data` is either empty or it got interrupted
       Size      Items          Name
       644B      -              /
       644B      -              + backup
       644B      -                  + 2019-02-26T14_59_35.31413586-08_00
       644B      -                      + default
       4B        0                          analytics.json
       409B      0                          bucket-config.json
       0B        0                          + data
       0B        0                              1024 Shards
       2B        0                          full-text.json
       227B      0                          gsi.json
       2B        0                          views.json
      [root@localhost ~]#
      

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty