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

[Windows] remove debug statement from output of enterprise backup and recovery

    XMLWordPrintable

Details

    • Untriaged
    • Windows 64-bit
    • Yes

    Description

      1. Setup a CB Server, create a bucket and few documents.
      2. Execute enterprise backup and restore commands. Note the extra output for open and closing of FDB files.
      – Need to remove these output statements

      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://loclhost:8091 --username Administrator --passwor
      d password --no-progress-bar
      Error backing up cluster: Rest client error (GET http://loclhost:8091/pools): di
      al tcp: lookup loclhost: getaddrinfow: No such host is known.
       
      C:\Program Files\Couchbase\Server\bin>cbbackupmgr backup --archive C:/tmp/entbac
      kup --repo backup --host http://localhost:8091 --username Administrator --passwo
      rd password --no-progress-bar
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      Backup successfully completed
       
      C:\Program Files\Couchbase\Server\bin>cbbackupmgr restore --archive C:/tmp/entba
      ckup --repo backup --host http://localhost:8091 --username Administrator --passw
      ord password --no-progress-bar
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\default-a569173444abe3474d38bf7c7f103f72\data\shard_0.fdb
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb opened database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      [FDB INFO] Forestdb closed database file C:\tmp\entbackup\backup\2016-05-20T02_1
      0_59.8817561-07_00\travel-sample-55a0e6103a385d46db0a6576d5826a4a\data\shard_0.f
      db
      Restore completed successfully
       
      C:\Program Files\Couchbase\Server\bin>
      
      

      Note-There is no data loss, I am able to backup and restore correctly, but all test cases for backup and restore will fail on windows platform.

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              ritam.sharma Ritam Sharma
              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