// so use the backed up state as the basis of the
// incremental backup diff
before = state.getChildNode("root");
}
current.compareAgainstBaseState(
before, new ApplyDiff(builder.child("root")));
}
builder.setProperty("checkpoint", checkpoint);
// 4. commit the backup
backup.setHead(state, builder.getNodeState());