Freigeben über


Start-AzsBackup

Back up a specific location.

Syntax

Start-AzsBackup
     [-ResourceGroupName <String>]
     [-Location <String>]
     [-AsJob]
     [-Force]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-AzsBackup
     -ResourceId <String>
     [-AsJob]
     [-Force]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

Back up a specific location.

Examples

-------------------------- EXAMPLE 1 --------------------------

Start-AzsBackup

Start an Azure Stack backup.

Parameters

-AsJob

Run asynchronous as a job and return the job object.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Don't ask for confirmation.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

Name of the backup location.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of the resource group.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

{{Fill ResourceId Description}}

Type:String
Aliases:id
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.Management.Backup.Admin.Models.LongRunningOperationStatus