We had taken a backup of our aerospike cluster 2 months back. The data in our cache got corrupted because of some issues. We have set up a new cluster to realize that when we do asrestore, all the keys are shown in the Expired section.
Is there a way to restore the records from a backup even if their TTL is expired?
Currently the restore tool down not provide a way to restore expired records. To do that, you would need to iterate through the backup files and modify the saved voidtime to be sometime in the future.
There is now. Check out the tools package release 3.27. The Jira issue TOOLS-1503 covers the new --extra-ttl flag to asrestore (courtesy of Kevin Porter).