couchdb-backup-restore problem with some dbs

42 views
Skip to first unread message

Wojciech Matys

unread,
Jan 5, 2016, 12:40:10 PM1/5/16
to BigCouch Users
Hello,

I'm searching for tool for backups and restoration for BigCouch (kazoo cluster). First
tool which really worked for me was:

https://www.npmjs.com/package/couchdb-backup-restore

but I have problems with some dbs. Currently my BigCouch consist 23 dbs and I have a problem
with restoration 3 of them:

account/30/ac/c1da150424bb242f2341240b13d0
account/9c/91/e35f7958fd05c7e608108cd1c530
system_media

where I'm getting:



couchdb-backup-restore bulk inserting 58 docs +641ms

TypeError: Cannot read property 'length' of undefined
    at /opt/bigcouch/node_modules/couchdb-backup-restore/lib/cbr.js:128:57
    at Request._callback
(/opt/bigcouch/node_modules/couchdb-backup-restore/node_modules/nano/lib/nano.js:227:7)
    at Request.self.callback
(/opt/bigcouch/node_modules/couchdb-backup-restore/node_modules/nano/node_modules/request/request.js:198:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous>
(/opt/bigcouch/node_modules/couchdb-backup-restore/node_modules/nano/node_modules/request/request.js:1035:10)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous>
(/opt/bigcouch/node_modules/couchdb-backup-restore/node_modules/nano/node_modules/request/request.js:962:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)


all other dbs were restored from backup without any problems - any suggestions?
Reply all
Reply to author
Forward
0 new messages