[MB-4039] mbdbmaint.exe doesn't work on Windows Created: 07/Jul/11  Updated: 23/Jul/12  Resolved: 08/Jul/11

Status: Resolved
Project: Couchbase Server
Component/s: tools
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Critical
Reporter: Perry Krug Assignee: Bin Cui
Resolution: Fixed Votes: 0
Labels: 1.7.0-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Forum user reported this, I was able to reproduce:

Pausing persistence... paused.
Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-0.mb
'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-1.mb
'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-2.mb
'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-3.mb
'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
Unpausing persistence.

 Comments   
Comment by Thuan Nguyen [ 07/Jul/11 ]
I tested the command mbdbmaint.exe on default bucket and it works as expected except a warning message as I mention in bug MB-4041.
I think the user forgot to use double back slash when executing the command in windows.
Ex: c:\Program Files>"c:\\Program Files\\Membase\\Server\\bin\\mbdbmaint.exe" --vacuum --backupto="c:\\backup\\tmp" --port=11210
OR
c:\Program Files>".\Membase\\Server\\bin\\mbdbmaint.exe" --vacuum --backupto="c:\\backup\\tmp" --port=11210
Comment by Farshid Ghods (Inactive) [ 08/Jul/11 ]
Integrated in github-ep-engine-1-7-1 #129 (See [http://qa.hq.northscale.net/job/github-ep-engine-1-7-1/129/])
    MB-4039 Launch sqlite command correctly on windows

Bin Cui :
Files :
* management/mbdbmaint
Comment by Farshid Ghods (Inactive) [ 11/Jul/11 ]
Integrated in github-ep-engine-2-0 #21 (See [http://qa.hq.northscale.net/job/github-ep-engine-2-0/21/])
    MB-4039 Launch sqlite command correctly on windows

Bin Cui :
Files :
* management/mbdbmaint
Generated at Fri Apr 18 02:15:27 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.