Ich habe versucht, die Sicherung und einen Index zu json in Elasticsearch Wiederherstellung elasticdump mit (auf Node.js):'Kann jetzt nicht zu alten Modus wechseln' Fehler in Elasticdump
[Backup]
elasticdump --input=http://cred:[email protected]:9200/.kibana --output=kibana.json --type=data
(Works)
[Wiederherstellen]
elasticdump --output=http://cred:[email protected]:9200/.kibana --input=kibana.json --type=data
(es wird einen Fehler)
Der Fehler ist:
_stream_readable.js:749
throw new Error('Cannot switch to old mode now.');
^
Error: Cannot switch to old mode now.
at emitDataEvents (_stream_readable.js:749:11)
at ReadStream.Readable.pause (_stream_readable.js:740:3)
at file.completeBatch (/usr/lib/node_modules/elasticdump/lib/transports/file.js:75:19)
at Stream.<anonymous> (/usr/lib/node_modules/elasticdump/lib/transports/file.js:65:10)
at Stream.emit (events.js:117:20)
at drain (/usr/lib/node_modules/elasticdump/node_modules/through/index.js:34:23)
Wer weiß, was los ist und wie man es beheben?
Können Sie diese ausprobieren? – Val
Aktualisierung der Knoten-Version funktionierte, aber ich habe es nach den Anweisungen auf der Knoten-Site. –
Könnten Sie bitte die Antwort in diesem Fall bestätigen? Es hilft der Suche nach Antworten, wenn sie markiert sind als aufgelöst:) –