Details
-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.0
-
2585
-
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
- blocks
-
MB-19685 4.5.0 GA Release
- Closed
For Gerrit Dashboard: MB-19704 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
64303,3 | MB-19704: Don't close the log files file handle | watson | backup | Status: MERGED | +2 | +1 |
64304,3 | MB-19704: Close stderr on Windows | watson | backup | Status: MERGED | +2 | +1 |