When running on the same machine on which Rapid Recovery Core is installed, the Rapid Recovery PowerShell module bases its display language on the language set for the Core. Localized Rapid Recovery versions such as this one support English, Chinese (Simplified), French, Korean, German, Japanese, Portuguese (Brazil), and Spanish.
The following table describes the qualifiers available for Rapid Recovery PowerShell Module.
Qualifier | Usage |
---|---|
-core |
Host name of the Core.
Default: |
-ProtectedServer |
Host name/IP address of the Rapid Recovery Agent
Default: |
-Mode |
Recovery Point Mount mode.
Default: |
-Volumes |
Snapshot volume letter from Rapid Recovery Agent.
Default: |
-User |
User name used to connect to the Rapid Recovery Core.
This is typically the service user. |
-Domain |
Domain to which the user defined in /User belongs. |
-Password |
Password of the user defined in /User . |
-Path |
For example: C:\RapidRecoveryMount . |
Rapid Recovery enables administrators to automate the administration and management of resources at certain occurrences through the execution of commands and scripts. The Rapid Recovery software supports the use of PowerShell scripting for Windows and Bourne shell and Bash scripting for Linux.
Core jobs are automatically created whenever you initiate operations on the Rapid Recovery Core such as replication, virtual export, or a backup transfer. You can extend these jobs by running a script before it or after it. These are known as pre- and post- scripts.
This section describes the scripts that can be used by administrators at designated occurrences in Rapid Recovery for Windows and Linux.
|
Caution: The sample PowerShell and shell scripts provided in this document will function when run as designed by qualified administrators. Take precautions when modifying functioning scripts to retain working versions. Any modifications to the script samples included here, or any scripts you create, are considered customization, which is not typically covered by Quest Data Protection Support. |
Windows PowerShell is a Microsoft .NET Framework-connected environment designed for administrative automation. Rapid Recovery includes comprehensive client software development kits (SDKs) for PowerShell scripting that lets administrative users run user-provided PowerShell scripts at designated occurrences; for example, before or after a snapshot, attachability and mountability checks, and so on. Administrators can run scripts from both the Rapid Recovery Core and the protected machine. Scripts can accept parameters, and the output of a script is written to Core and protected machine log files.
|
NOTE: For nightly jobs, preserve one script file and the JobType input parameter to distinguish between nightly jobs. |
Windows PowerShell must be installed before running Rapid Recovery scripts.
Script files are located in the %AllUsersProfile%\AppRecovery\Core\PowerShellScripts folder, typically c:\Program Files\AppRecovery\Core\PowerShellScripts.
For more information on how using PowerShell scripts see Sample PowerShell scripts, Input Parameters for PowerShell Scripting, Input parameters for shell scripting, and Sample shell scripts.
Before running PowerShell scripts for Rapid Recovery, you must have Windows PowerShell 4.0 or later installed. Some users find Windows PowerShell ISE to be easier to work with. This tool is included with Windows. When typing cmdlets, the built-in help for PowerShell ISE lists relevant cmdlets, anticipating your keystrokes and letting you select the appropriate command.
If you want to test the scripts you plan to run, you can do so by using the PowerShell graphical editor, powershell_is.
|
Caution: If a PowerShell pre- or post- script fails, the related job also fails. |
When running on the same machine on which Rapid Recovery Coreis installed, the Rapid Recovery PowerShell module bases its display language on the language set for the Core. Localized Rapid Recovery versions such as this one support English, Chinese (Simplified), French, Korean, German, Japanese, Portuguese (Brazil), and Spanish.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center