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

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

Suspend-Snapshot

The Suspend-Snapshot command lets an administrator pause snapshots.

Usage

The usage for the command is as follows:

Suspend-Snapshot -core [host name] -user [user name] -password [password] -all | 
-protectedserver [name | IP address] -time [time string]

Command Options

The following table describes the options available for the Suspend-Snapshot command:

Table 191: Suspend-Snapshot command options
Option Description
-?
Display this help message.
-all
Pauses all protected machines on the selected Core.
-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 user name. If none are provided, then the logged-on user's credentials will be used.
-time
The time in the format ‘Day-Hours-Minutes’ when the snapshots will be resumed (only for snapshots pause).

Example:

Pause snapshots for the protected machine with IP 10.10.10.4 for the local Core with a certain time to resume:

>Suspend-Snapshot -protectedserver 10.10.10.4 –time 3-20-50

Suspend-VirtualStandby

The Suspend-VirtualStandby PowerShell command lets you pause the export of data to a Rapid Recovery virtual standby machine.

Usage

The usage for the command is as follows:

Suspend-VirtualStandby -core [host name] -user [login] -password [password] -all | -protectedserver [name(s) | IP address]

Command Options

The following table describes the options available for the Suspend-VirtualStandby command:

Table 192: Suspend-VirtualStandby 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.

-all
Pause exports for all virtual standby machines.
-protectedserver
The name or names—separated by a comma and space—of the protected machines with virtual standby machines that you want to suspend.

Example:

Suspend virtual standby exports for a protected machine:

>Suspend-VirtualStandby -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -protectedserver 10.10.5.22

Suspend-VMExport

The Suspend-VMExport command lets an administrator pause exports to virtual machines.

Usage

Suspend-VMExport -core [host name] -user [user name] -password [password] -all | -protectedserver [name | IP address]

Command Options

The following table describes the options available for the Suspend-VMExport command:

Table 193: Suspend-VMExport 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 user name. If none are provided, then the logged-on user's credentials will be used.
-all
Pauses all protected machines on the selected Core.
-protectedserver
Pause the current protected server.

Example:

Suspend VM export for the protected machine with IP 10.10.10.4 for the local Core:

>Suspend-VMExport -protectedserver 10.10.12.25

Update-Repository

The Update-Repository command adds an extent to an existing DVM repository. The size specified must be between 250MB and 16TB.

Usage

Update-Repository -name [repository name] -size [size] [[[-datapath [datapath] 
-metadatapath [metadata path]] | [-uncpath [UNC path] -shareusername [share user name] -sharepassword [share password]]] -core [host name] -user [user name] 
-password [password]

Command Options

The following table describes the options available for the Update-Repository command:

Table 194: Update-Repository 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 user name. If none are provided, then the logged-on user's credentials will be used.
-name
DVM repository name.
-size
Size of DVM repository extent. Available units are: b, Kb, MB, GB, TB, PB.
-datapath
For local location only. Determines data path of DVM repository extent.
-metadatapath
For local location only. Determines metadata path of DVM repository extent.
-uncpath
For share location only. Determines data and metadata paths of DVM repository extent.
-shareusername
For share location only. Determines login to share location.
-sharepassword
For share location only. Determines password to share location.

Example:

Add an extent to the DVM repository of the minimum size:

>Update-Repository -name Repository1 -size 250Mb -datapath C:\Repository\Data -metadatapath C:\repository\Metadata
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级