Make the backup API call more robust