Context
The Aerospike backup tool allows for backups to be taken by namespace, set, and to specify a filter based on the Last Updated Time timestamps to do incremental backups.Method
Daily backups can be taken using the --modified-before or --modified-after flags.asbackup --host <NODE_IP> --namespace <NAMESPACE> --set <SETNAME>--directory <BACKUP_DIRECTORY> --modified-before 'YYYY-MM-DD_HH:MM:SS' -r or asbackup --host <NODE_IP> --namespace <NAMESPACE> --set <SETNAME>--directory <BACKUP_DIRECTORY> --modified-after 'YYYY-MM-DD_HH:MM:SS' -r
More details can be found here. (Incremental Backup Options )
Examples:
asbackup --host 127.0.0.1 --namespace test --set demo --directory backup_2017_08_18 --modified-before '2017-08-17_00:00:00' -r asbackup --host 127.0.0.1 --namespace test --set demo --directory backup_2017_08_18 --modified-after '2017-08-17_00:00:00' -r