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

restore fails with corrupted directory error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • 7.1.0
    • tools
    • Untriaged
    • 1
    • Unknown

    Description

      In a couple perf tests we restore a backup called soe10M. When the backup command is run we get an error: 
      Error restoring cluster: Backup repository is corrupted 'ranges' directory is not in the correct format
      command: 

      /opt/couchbase/bin/cbbackupmgr restore --archive /backups --repo soe10M --threads 24 --cluster http://localhost:8091 --username Administrator --password password --disable-ft-indexes --disable-gsi-indexes

      job:

      http://perf.jenkins.couchbase.com/job/hebe/9079/console

      build 7.0.2-6683

      I dont see a directory called ranges:

      [root@172-23-100-204 backups]# ls 
      lock.lk  logs  soe10M 
      [root@172-23-100-204 backups]# cd soe10M/ 
      [root@172-23-100-204 soe10M]# ls 
      2020-02-12T11_32_11.87436689-08_00  backup-meta.json 
      [root@172-23-100-204 soe10M]# cat backup-meta.json 
      {   "exclude_buckets": [],   "include_buckets": [],   "exclude_collections": [],   "include_collections": [],   "filter_keys": "",   "filter_values": "",   "disable_cluster_config": true,   "disable_bucket_config": false,   "disable_views": false,   "disable_gsi_indexes": false,   "disable_queries": true,   "disable_ft_indexes": false,   "disable_data": false,   "disable_eventing": false,   "allow_bucket_creation": false,   "filter_vbuckets": {     "list": [],     "enabled": false   } }
      [root@172-23-100-204 soe10M]# cd 2020-02-12T11_32_11.87436689-08_00/ 
      [root@172-23-100-204 2020-02-12T11_32_11.87436689-08_00]# ls 
      bucket-1-e3bc22308e6ff0551d2e36217daddbf7  
      events.json  plan.json 
      [root@172-23-100-204 2020-02-12T11_32_11.87436689-08_00]# cd bucket-1-e3bc22308e6ff0551d2e36217daddbf7/ 
      [root@172-23-100-204 bucket-1-e3bc22308e6ff0551d2e36217daddbf7]# ls 
      bucket-config.json  data  full-text.json  gsi.json  range.json  views.json
      

      There is a json called range though

      Attachments

        Issue Links

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

          Activity

            People

              korrigan.clark Korrigan Clark (Inactive)
              korrigan.clark Korrigan Clark (Inactive)
              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