Backup and restore incremental with deleted/updated record

Hi. Currently, I found backup with incremental doesn’t send the deleted/updated records.

Step to re-procedure: Create 2 aerospike server

  1. Take a full backup in server 1 and restore into server 2
  2. Delete / Update some record in the server 1
  3. After step 1, do a backup increment and restore and check for deleted/updated record in the server 2. You will see the record isn’t getting deleted/update

Asbackup version

Aerospike Backup Utility
Version 3.5.0
C Client Version 4.6.17
Copyright 2015-2020 Aerospike. All rights reserved.

Asrestore version

Aerospike Restore Utility
Version 3.5.0
C Client Version 4.6.17
Copyright 2015-2020 Aerospike. All rights reserved.

Aerospike version: aerospike-server:4.8.0.14

So I want to ask why it doesn’t work?

Found an answer here: How does asbackup ensure the consistent of the backup on running server? - #2 by Albot

As it finds a record, it will be recorded into the backup file -> So no record -> no data for backup. :frowning:

Yes, that’s indeed how it works.

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