立即与支持人员聊天
与支持团队交流

Rapid Recovery 6.8 - Commands and Scripting Reference Guide

Introduction to Rapid Recovery Command Line Management utility PowerShell module
Prerequisites for using PowerShell Working with commands and cmdlets Rapid Recovery PowerShell module cmdlets
Add-EsxAutoProtectObjects Add-EsxVirtualMachines Add-HyperVClusterSharedVirtualDisks Add-HyperVClusterVirtualMachines Add-HyperVVirtualMachines Disable-HyperVAutoProtection Edit-AzureVirtualStandby Edit-EsxiVirtualStandby Edit-HyperVVirtualStandby Edit-OracleDBVerifyNightlyJob Edit-OracleLogTruncationNightlyJob Edit-Replication Edit-ScheduledArchive Edit-VBVirtualStandby Edit-VMVirtualStandby Enable-HyperVAutoProtection Enable-OracleArchiveLogMode Get-ActiveJobs Get-CloudAccounts Get-Clusters Get-CompletedJobs Get-ExchangeMailStores Get-Failed Get-FailedJobs Get-HyperVClusterSharedVirtualDisks Get-ListAzureVMSizes Get-Mounts Get-OracleInstances Get-Passed Get-ProtectedServers Get-ProtectionGroups Get-QueuedJobs Get-RecoveryPoints Get-ReplicatedServers Get-Repositories Get-ScheduledArchives Get-SqlDatabases Get-TransferQueueEntries Get-UnprotectedVolumes Get-Version Get-VirtualizedServers Get-Volumes New-AzureVirtualStandby New-Base New-BootCD New-CloudAccount New-EncryptionKey New-EsxiVirtualStandby New-FileSearch New-HyperVVirtualStandby New-Mount New-Replication New-Repository New-ScheduledArchive New-Snapshot New-VBVirtualStandby New-VMVirtualStandby Push-Replication Push-Rollup Remove-Agent Remove-EsxAutoProtectObjects Remove-HyperVClusterSharedVirtualDisks Remove-HyperVClusterVirtualMachines Remove-HyperVVirtualMachines Remove-Mount Remove-Mounts Remove-RecoveryPoints Remove-RemoteMount Remove-RemoteMounts Remove-Replication Remove-Repository Remove-ScheduledArchive Remove-VirtualStandby Restart-CoreService Resume-Replication Resume-ScheduledArchive Resume-Snapshot Resume-VirtualStandby Set-AgentMetadataCredentials Set-DedupCacheConfiguration Set-License Set-OracleMetadataCredentials Set-ReplicationResponse Start-Archive Start-AttachabilityCheck Start-AzureDeploy Start-AzureExport Start-ChecksumCheck Start-ConsumeSeedDrive Start-CopySeedDrive Start-EsxiExport Start-HypervExport Start-LogTruncation Start-MountabilityCheck Start-OptimizationJob Start-OracleDBVerifyJob Start-OracleLogTruncationJob Start-Protect Start-ProtectCluster Start-ProtectEsxServer Start-ProtectHyperVCluster Start-ProtectHyperVServer Start-RepositoryCheck Start-RestoreAgent Start-RestoreArchive Start-ScheduledArchive Start-VBExport Start-VirtualStandby Start-VMExport Stop-ActiveJobs Stop-CoreService Suspend-Replication Suspend-ScheduledArchive Suspend-Scheduler Suspend-Snapshot Suspend-VirtualStandby Suspend-VMExport Update-Repository
Localization Qualifiers
Scripting

Remove-HyperVClusterVirtualMachines

The Remove-HyperVClusterVirtualMachines cmdlet lets you remove specific virtual machines (VMs) of a Hyper-V cluster from protection of a Core.

Usage

The usage for the command is as follows:

Remove-HyperVClusterVirtualMachines -core [host name] -user [user name] -password [password] -repository [name] -protectedserver [name | IP address] -virtualmachines [virtual machines collection | all]

Command Options

The following table describes the options available for the Remove-HyperVClusterVirtualMachines command:

Table 139: Remove-HyperVClusterVirtualMachines command options
Option Description
-?
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.

-protectedserver
Use this option to protect virtual machines.
-virtualmachines
A list of the virtual machines that you want to protect, each separated by a comma. The name of the VM must be enclosed in double quotes.
-deleterecoverypoints
Optional. Include this option if you want to delete all of the recovery points for this VM.

Example:

Remove specific virtual machines of a Hyper-V cluster from protection by the Core and delete its recovery points:

>Remove-HyperVClusterVirtualMachines -protectedserver hvcluster -virtualmachines "Win8x64-gen1", "Win2012x64-gen2" -deleterecoverypoints

Remove-HyperVVirtualMachines

The Remove-HyperVVirtualMachines cmdlet lets you remove specific Hyper-V virtual machines (VMs) from the protection of a Core.

Usage

The usage for the command is as follows:

Remove-HyperVVirtualMachines -core [host name] -user [user name] -password [password] -protectedserver [name | IP address] -virtualmachines [virtual machines collection | all] -deleterecoverypoints

Command Options

The following table describes the options available for the Remove-HyperVVirtualMachines command:

Table 140: Remove-HyperVVirtualMachines command options
Option Description
-?
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.

-protectedserver
Use this option to edit Hyper-V objects for a specific virtual machine.
-virtualmachines
A list of the virtual machines that you want to protect, each separated by a comma. The name of the VM must be enclosed in double quotes.
-deleterecoverypoints
Optional. Include this option if you want to delete all of the recovery points for this VM.

Example:

Remove specific Hyper-V VMs from protection and delete its recovery points:

>Remove-HyperVVirtualMachines -protectedserver HVServer1 -virtualmachines "Win8x64-gen1", "Win2012x64-gen2" -deleterecoverypoints

Remove-Mount

The Remove-Mount command dismounts a mounted recovery point specified by the /Path. Dismount points for the selected machine using the -protectedserver parameter or dismount points for all the mounted recovery points by using the -all parameter.

Usage

The usage for the command is as follows:

Remove-Mount -core [host name] -user [user name] -password [password] [-protectedserver [machine name] | -path [mount path]]

Command Options

The following table describes the options available for the Remove-Mount command:

Table 141: Remove-Mount command options
Option Description
-?
Display this help message.
-all
Dismount all mounted recovery points.
-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 log on.

If none are provided, then the logged-on user's credentials will be used.

-path
Dismount selected mount point.
-protectedserver
Dismount all mounted recovery points for the current protected 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.

Example:

Dismount the recovery point specified by the path:

>Remove-Mount -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -path C:\mountedRecoveryPoint

Remove-Mounts

The Remove-Mounts command dismounts all mounted recovery points.

Usage

The usage for the command is as follows:

Remove-Mounts -core [host name] -user [user name] -password [password]

Command Options

The following table describes the options available for the Remove-Mounts command:

Table 142: Remove-Mounts command options
Option Description
-?
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.

Example:

Dismount all recovery points on the specified Core:

>Remove-Mounts -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级