Patched backup_migrate