1.0.2 • Published 10 months ago
algcopy v1.0.2
Algcopy
Copy an index and all its settings between Algolia applications.
Ensure that the destination index does not exist, otherwise the copy will fail.
Getting started
Install globally
npm install -g algcopyExecute without installation
npx algcopy // Add flagsExample usage
This will copy all records, settings and settings in an index from one app to another
algcopy --app1 <APP1ID> --app2 <APP2ID> --key1 <KEY1> --key2 <KEY2> --index1 sourceIndex --index2 destinationIndexCommands and flags
Help
Show CLI help information
algcopy helpThis uses Algolia's copyIndex method under the hood, which has certain restrictions liste here, namely:
- You can’t copy an index between two Algolia applications, if the destination index exists.
- You can’t copy to a destination index that already has replicas.