< Back
New-AzureRmSiteRecoveryPolicy
Post
NAME New-AzureRmSiteRecoveryPolicy
SYNOPSIS
Creates a Site Recovery replication policy.
SYNTAX
New-AzureRmSiteRecoveryPolicy [-ApplicationConsistentSnapshotFrequencyInHours <Int32>] [-Authentication {Certificate | Kerberos}] [-Compression
{Enable | Disable}] [-DefaultProfile <IAzureContextContainer>] -Name <String> [-RecoveryPoints <Int32>] [-ReplicaDeletion {Required |
NotRequired}] -ReplicationFrequencyInSeconds {30 | 300 | 900} [-ReplicationMethod {Online | Offline}] -ReplicationPort <UInt16>
-ReplicationProvider {HyperVReplica2012R2 | HyperVReplica2012 | HyperVReplicaAzure} [-ReplicationStartTime <TimeSpan>] [<CommonParameters>]
New-AzureRmSiteRecoveryPolicy [-ApplicationConsistentSnapshotFrequencyInHours <Int32>] [-DefaultProfile <IAzureContextContainer>] [-Encryption
{Enable | Disable}] -Name <String> [-RecoveryAzureStorageAccountId <String>] [-RecoveryPoints <Int32>] -ReplicationFrequencyInSeconds {30 | 300 |
900} -ReplicationProvider {HyperVReplica2012R2 | HyperVReplica2012 | HyperVReplicaAzure} [-ReplicationStartTime <TimeSpan>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmSiteRecoveryPolicy cmdlet creates an Azure Site Recovery replication policy. The replication policy is used to specify replication
settings such as the replication frequency and number of recovery points.
PARAMETERS
-ApplicationConsistentSnapshotFrequencyInHours <Int32>
Specifies the frequency of the application consistent snapshot in hours.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Authentication <String>
Specifies the type of authentication used. Valid values are:
- Certificate
- Kerberos
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Compression <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Encryption <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies a friendly name which identifies the Site Recovery replication policy.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryAzureStorageAccountId <String>
Specifies the Azure storage account ID of the replication target.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryPoints <Int32>
Specifies the number of hours to retain recovery points.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicaDeletion <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationFrequencyInSeconds <String>
Specifies the replication frequency interval in seconds. Valid values are:
- 30
- 300
- 900
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationMethod <String>
Specifies the replication method. Valid values are:
- Online
- Offline
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationPort <UInt16>
Specifies the port used for replication.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationProvider <String>
Specifies the replication provider. Valid values are:
- HyperVReplica2012R2
- HyperVReplica2012
- HyperVReplicaAzure
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationStartTime <TimeSpan>
Specifies the replication start time. It must be no later than 24-hours from the start of the job.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... verypolicy
Get-AzureRmSiteRecoveryPolicy
Remove-AzureRmSiteRecoveryPolicy
SYNOPSIS
Creates a Site Recovery replication policy.
SYNTAX
New-AzureRmSiteRecoveryPolicy [-ApplicationConsistentSnapshotFrequencyInHours <Int32>] [-Authentication {Certificate | Kerberos}] [-Compression
{Enable | Disable}] [-DefaultProfile <IAzureContextContainer>] -Name <String> [-RecoveryPoints <Int32>] [-ReplicaDeletion {Required |
NotRequired}] -ReplicationFrequencyInSeconds {30 | 300 | 900} [-ReplicationMethod {Online | Offline}] -ReplicationPort <UInt16>
-ReplicationProvider {HyperVReplica2012R2 | HyperVReplica2012 | HyperVReplicaAzure} [-ReplicationStartTime <TimeSpan>] [<CommonParameters>]
New-AzureRmSiteRecoveryPolicy [-ApplicationConsistentSnapshotFrequencyInHours <Int32>] [-DefaultProfile <IAzureContextContainer>] [-Encryption
{Enable | Disable}] -Name <String> [-RecoveryAzureStorageAccountId <String>] [-RecoveryPoints <Int32>] -ReplicationFrequencyInSeconds {30 | 300 |
900} -ReplicationProvider {HyperVReplica2012R2 | HyperVReplica2012 | HyperVReplicaAzure} [-ReplicationStartTime <TimeSpan>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmSiteRecoveryPolicy cmdlet creates an Azure Site Recovery replication policy. The replication policy is used to specify replication
settings such as the replication frequency and number of recovery points.
PARAMETERS
-ApplicationConsistentSnapshotFrequencyInHours <Int32>
Specifies the frequency of the application consistent snapshot in hours.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Authentication <String>
Specifies the type of authentication used. Valid values are:
- Certificate
- Kerberos
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Compression <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Encryption <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies a friendly name which identifies the Site Recovery replication policy.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryAzureStorageAccountId <String>
Specifies the Azure storage account ID of the replication target.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryPoints <Int32>
Specifies the number of hours to retain recovery points.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicaDeletion <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationFrequencyInSeconds <String>
Specifies the replication frequency interval in seconds. Valid values are:
- 30
- 300
- 900
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationMethod <String>
Specifies the replication method. Valid values are:
- Online
- Offline
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationPort <UInt16>
Specifies the port used for replication.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationProvider <String>
Specifies the replication provider. Valid values are:
- HyperVReplica2012R2
- HyperVReplica2012
- HyperVReplicaAzure
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ReplicationStartTime <TimeSpan>
Specifies the replication start time. It must be no later than 24-hours from the start of the job.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... verypolicy
Get-AzureRmSiteRecoveryPolicy
Remove-AzureRmSiteRecoveryPolicy