In my opinion, backup_xml and restore_from_xml are a couple methods.
So I sugguest to rename it to backup_to_xml, and update the all caller of it.