< Back
New-AzureStorSimpleDeviceBackupScheduleUpdateConfig
Post
NAME New-AzureStorSimpleDeviceBackupScheduleUpdateConfig
SYNOPSIS
Creates a backup schedule update configuration object.
SYNTAX
New-AzureStorSimpleDeviceBackupScheduleUpdateConfig [-Id] <String> [-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-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet creates a BackupScheduleUpdateRequest configuration object. Use this configuration object
to update a backup policy by using the Set-AzureStorSimpleDeviceBackupPolicy cmdlet.
PARAMETERS
-BackupType <String>
Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Enabled [<Boolean>]
Indicates whether to enable the backup schedule.
Required? false
Position? 7
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Id <String>
Specifies the instance ID of the backup schedule to update.
Required? true
Position? 1
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? 3
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? 4
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? 5
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? 6
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
BackupScheduleUpdateRequest
This cmdlet returns a BackupScheduleUpdateRequest object that contains information about updated backup schedules.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Create a schedule update request
PS C:\\>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "147f734d-a31a-4473-8501-6ba38be2cb30" -BackupType CloudSnapshot -RecurrenceType Hourly
-RecurrenceValue 1 -RetentionCount 50 -Enabled $True
VERBOSE: ClientRequestId: ef346641-54b4-4273-8898-7f863e7c5b7e_PS
BackupType : CloudSnapshot
Id : 147f734d-a31a-4473-8501-6ba38be2cb30
Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence
RetentionCount : 50
StartTime : 2014-12-16T00:39:32+05:30
Status : Enabled
This command creates a backup schedule update request for the schedule that has the specified ID. The request is to make the schedule a cloud snapshot
backup that recurs every hour. The backups are kept for 50 days. This schedule is enabled from the default time, which is the current time.
RELATED LINKS
New-AzureStorSimpleDeviceBackupScheduleAddConfig
Set-AzureStorSimpleDeviceBackupPolicy
SYNOPSIS
Creates a backup schedule update configuration object.
SYNTAX
New-AzureStorSimpleDeviceBackupScheduleUpdateConfig [-Id] <String> [-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-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet creates a BackupScheduleUpdateRequest configuration object. Use this configuration object
to update a backup policy by using the Set-AzureStorSimpleDeviceBackupPolicy cmdlet.
PARAMETERS
-BackupType <String>
Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Enabled [<Boolean>]
Indicates whether to enable the backup schedule.
Required? false
Position? 7
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Id <String>
Specifies the instance ID of the backup schedule to update.
Required? true
Position? 1
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? 3
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? 4
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? 5
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? 6
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
BackupScheduleUpdateRequest
This cmdlet returns a BackupScheduleUpdateRequest object that contains information about updated backup schedules.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Create a schedule update request
PS C:\\>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "147f734d-a31a-4473-8501-6ba38be2cb30" -BackupType CloudSnapshot -RecurrenceType Hourly
-RecurrenceValue 1 -RetentionCount 50 -Enabled $True
VERBOSE: ClientRequestId: ef346641-54b4-4273-8898-7f863e7c5b7e_PS
BackupType : CloudSnapshot
Id : 147f734d-a31a-4473-8501-6ba38be2cb30
Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence
RetentionCount : 50
StartTime : 2014-12-16T00:39:32+05:30
Status : Enabled
This command creates a backup schedule update request for the schedule that has the specified ID. The request is to make the schedule a cloud snapshot
backup that recurs every hour. The backups are kept for 50 days. This schedule is enabled from the default time, which is the current time.
RELATED LINKS
New-AzureStorSimpleDeviceBackupScheduleAddConfig
Set-AzureStorSimpleDeviceBackupPolicy