This repository contains "aerospike-backupindexkey-reader-writer" tool which can be used to read index keys from AS backup files and write it to a new file.
To run this tool:
-
The source code can be imported into your IDE and/or built using Maven
mvn clean install
-
Sample command line argument is mentioned below
./run_indexkeyloader -BKF [backup files path] -NF [new file path with file name]
Example:
./run_indexkeyloader -BKF /Users/anandprakash/sourcecode/aerospike-backupindexkey-reader-writer/src/com/aerospike/samplebkpfiles -NF /Users/anandprakash/sourcecode/aerospike-backupindexkey-reader-writer/src/com/aerospike/samplebkpfiles/IndexKeysFile.txt
where BKF is followed by backup files path(directory) and NF is followed by the path of the new Index keys file to be created