If you scheduled Rapid Recovery to continuously export data to a virtual machine, then you can use the Remove-VirtualStandby
PowerShell command to cancel and delete this scheduled job.
Usage
The usage for the command is as follows:
Remove-VirtualStandby -core [host name] -user [login] -password [password] -all | -protectedserver [name(s) | IP ad
dress]
Command Options
The following table describes the options available for the Remove-VirtualStandby
command:
Table 151: Remove-VirtualStandby command options
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-all |
Remove all virtual standby jobs associated with this Core. |
-protectedserver |
The name or IP address for the protected machine for which you want to remove virtual standby. |
Example:
Remove all virtual standby jobs associated with this Core:
>Remove-VirtualStandby -all
If the Core service on the Core machine is stopped, use the Restart-CoreService
command to start it again.
Usage
The usage for the command is as follows:
Restart-CoreService -core [host name] -user [user name] -password [password] -cancelactivejobs [true | false] -wait [time in seconds]
Command Options
The following table describes the options available for the Restart-CoreService
command:
Table 152: Restart-CoreService command options
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-cancelactivejobs |
Optional. Use this option to cancel all active jobs on the Core. The default setting is "false." |
-wait |
Optional. This option indicates that the command should wait until the Core service is fully restarted for the specified period of time in seconds before canceling active jobs. |
Example:
Restart the Core service:
>Restart-CoreService -core 10.10.127.42 -user admin -password 676df#df -cancelactivejobs true -wait 600
The Resume-Replication
command lets you resume replication. See Suspend-Replication for more details.
Usage
The usage for the command is as follows:
Resume-Replication -core [host name] -user [user name] -password [password] -all | -protectedserver [machine name | IP address] -incoming [host name] | -outgoing [host name]
Command Options
The following table describes the options available for the Resume-Replication
command:
Table 153: Resume-Replication command options
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none are provided, then the logged-on user's credentials will be used. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password. If none are provided, then the logged-on user's credentials will be used. |
-all |
All protected servers. |
-protectedserver |
Resume replication for the specified machine. |
-incoming |
Host name of the remote Core that replicates to the Core machine. Replication is resumed for all protected machines on the remote Core. |
-outgoing |
Host name of the remote target core to which data is replicating. Replication is resumed for all protected machines on the remote core. |
Example:
Resume replication for the protected machine with IP 10.10.10.128 for the local Core, specifying the repository being used:
>Resume-Replication replicationname Replication1 -targetserver 10.10.10.128,Administrator,123asdQ -protectedserver 10.10.10.4
# Repository
- ----------
1 Repository A
2 Repository B
Please, input number of Repository from the list above or type 'exit' to exit:
Script pauses, requiring user to specify an index number for the appropriate repository. Enter the index number for the script to complete (in this case, 2). Example continues:
2
Replication job was started.
True
PS C:\Users\Administrator>
The Resume-ScheduledArchive
command lets you resume a scheduled archive that had been paused or stopped.
Usage
The usage for the command is as follows:
Resume-ScheduledArchive -core [host name] -user [user name] -password [password] -all -ids [id | id1 id2]
Command Options
The following table describes the options available for the Resume-ScheduledArchive
command:
Table 154: Resume-ScheduledArchive command options
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-all |
Use this option to force all scheduled archives. |
-ids |
The identifier (ID) or IDs separated by spaces of the scheduled archives that you want to force. |
Examples:
Resume all scheduled archives:
>Resume-ScheduledArchive -all
Resume one scheduled archive:
>Resume-ScheduledArchive -ids 6c123c39-5058-4586-bd0c-7c375e72017b
Resume multiple scheduled archives:
>Resume-ScheduledArchive -ids 6c123c39-5058-4586-bd0c-7c375e72017b, 26c29bb7-b320-47f5-b5a8-dffc49f50e25