< Back
New-AzureStorSimpleDeviceBackupScheduleAddConfig
Post
NAME New-AzureStorSimpleDeviceBackupScheduleAddConfig
SYNOPSIS
Creates a backup schedule configuration object.
SYNTAX
New-AzureStorSimpleDeviceBackupScheduleAddConfig [-BackupType] {LocalSnapshot | CloudSnapshot} [-RecurrenceType] {Minutes | Hourly | Daily | Weekly}
[-RecurrenceValue] <Int32> [-RetentionCount] <Int64> [[-StartFromDateTime] <String>] [-Enabled] <Boolean> [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
DESCRIPTION
The New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet creates a BackupScheduleBase configuration object. Use this configuration object to create
new backup policy by using the New-AzureStorSimpleDeviceBackupPolicy cmdlet.
PARAMETERS
-BackupType <String>
Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.
Required? true
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Enabled <Boolean>
Indicates whether to enable the backup schedule.
Required? true
Position? 6
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RecurrenceType <String>
Specifies the type of recurrence for this backup schedule. Valid values are:
-- Minutes
-- Hourly
-- Daily
-- Weekly
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RecurrenceValue <Int32>
Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.
Required? true
Position? 3
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RetentionCount <Int64>
Specifies the number of days to keep a backup.
Required? true
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-StartFromDateTime [<String>]
Specifies the date from which to start making backups. The default value is the current time.
Required? false
Position? 5
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
BackupScheduleBase
This cmdlet returns a BackupScheduleBase object. Use a BackupScheduleBase to construct new backup policy.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Create a backup configuration object
PS C:\\>New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 1 -RetentionCount 100 -Enabled
$True
VERBOSE: ClientRequestId: 426a79ee-fed3-4d3d-9123-e371f83222b3_PS
BackupType : CloudSnapshot
Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence
RetentionCount : 100
StartTime : 2014-12-16T00:37:19+05:30
Status : Enabled
This command creates a backup schedule base object for cloud snapshot backups. The backup occurs every day, and the backups are kept for 100 days. This
schedule is enabled from the default time, which is the current time.
RELATED LINKS
New-AzureStorSimpleDeviceBackupScheduleUpdateConfig
New-AzureStorSimpleDeviceBackupPolicy
SYNOPSIS
Creates a backup schedule configuration object.
SYNTAX
New-AzureStorSimpleDeviceBackupScheduleAddConfig [-BackupType] {LocalSnapshot | CloudSnapshot} [-RecurrenceType] {Minutes | Hourly | Daily | Weekly}
[-RecurrenceValue] <Int32> [-RetentionCount] <Int64> [[-StartFromDateTime] <String>] [-Enabled] <Boolean> [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
DESCRIPTION
The New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet creates a BackupScheduleBase configuration object. Use this configuration object to create
new backup policy by using the New-AzureStorSimpleDeviceBackupPolicy cmdlet.
PARAMETERS
-BackupType <String>
Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.
Required? true
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Enabled <Boolean>
Indicates whether to enable the backup schedule.
Required? true
Position? 6
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RecurrenceType <String>
Specifies the type of recurrence for this backup schedule. Valid values are:
-- Minutes
-- Hourly
-- Daily
-- Weekly
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RecurrenceValue <Int32>
Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.
Required? true
Position? 3
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-RetentionCount <Int64>
Specifies the number of days to keep a backup.
Required? true
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-StartFromDateTime [<String>]
Specifies the date from which to start making backups. The default value is the current time.
Required? false
Position? 5
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
BackupScheduleBase
This cmdlet returns a BackupScheduleBase object. Use a BackupScheduleBase to construct new backup policy.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Create a backup configuration object
PS C:\\>New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 1 -RetentionCount 100 -Enabled
$True
VERBOSE: ClientRequestId: 426a79ee-fed3-4d3d-9123-e371f83222b3_PS
BackupType : CloudSnapshot
Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence
RetentionCount : 100
StartTime : 2014-12-16T00:37:19+05:30
Status : Enabled
This command creates a backup schedule base object for cloud snapshot backups. The backup occurs every day, and the backups are kept for 100 days. This
schedule is enabled from the default time, which is the current time.
RELATED LINKS
New-AzureStorSimpleDeviceBackupScheduleUpdateConfig
New-AzureStorSimpleDeviceBackupPolicy