restoring backup using xml-api