Restore a backup that was taken long back with expired keys (TOOLS-1503)

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.

I have also raised an internal feature request.

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).

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.