MDL-39864: Update backup code to remove references to old constants