You can create custom recovery steps that run commands or present messages to the user during a recovery.

Site Recovery Manager can run custom steps either on the Site Recovery Manager Server or in a virtual machine that is part of the recovery plan.

During reprotect, Site Recovery Manager preserves all custom recovery steps in the recovery plan. If you perform a recovery or test after a reprotect, custom recovery steps are run on the new recovery site, which was the original protected site.

After reprotect, you can usually use custom recovery steps that show messages directly without modifications. You might need to modify some custom recovery steps after a reprotect, if these steps run commands that contain site-specific information, such as network configurations.

You can create different types of custom recovery steps to include in recovery plans.

Site Recovery Manager handles custom recovery step failures differently based on the type of recovery step.

You can add top-level commands anywhere in the recovery plan.

You can add top-level message prompts anywhere in the recovery plan.

You can configure custom recovery steps to perform tasks for a virtual machine before and after Site Recovery Manager powers them on.

You can configure custom recovery steps to prompt users to perform tasks for a virtual machine before and after the virtual machine powers on.

All batch files or commands for custom recovery steps that you add to a recovery plan must meet certain requirements.

Site Recovery Manager makes environment variables available that you can use in commands for custom recovery steps.