Freigeben über


Start-AzsBackup

Back up a specific location.

Syntax

CreateBackup (Default)

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

CreateBackup_FromResourceId

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.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Don't ask for confirmation.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

Name of the backup location.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateBackup
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

Name of the resource group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateBackup
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceId

{{Fill ResourceId Description}}

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:id

Parameter sets

CreateBackup_FromResourceId
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

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