@Test
  public void testBackupDeleteUpdatesIncrementalBackupSet() throws Exception {
    LOG.info("Test backup delete updates the incremental backup set");
    BackupSystemTable backupSystemTable = new BackupSystemTable(TEST_UTIL.getConnection());

    String backupId1 = fullTableBackup(Lists.newArrayList(table1, table2));
    assertTrue(checkSucceeded(backupId1));
    assertEquals(Sets.newHashSet(table1, table2),
      backupSystemTable.getIncrementalBackupTableSet(BACKUP_ROOT_DIR));

    String backupId2 = fullTableBackup(Lists.newArrayList(table3));
    assertTrue(checkSucceeded(backupId2));
    assertEquals(Sets.newHashSet(table1, table2, table3),
      backupSystemTable.getIncrementalBackupTableSet(BACKUP_ROOT_DIR));

    getBackupAdmin().deleteBackups(new String[] { backupId1 });
    assertEquals(Sets.newHashSet(table3),
      backupSystemTable.getIncrementalBackupTableSet(BACKUP_ROOT_DIR));
  }
Verify that backup deletion updates the incremental-backup-set.
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDelete.java