次の方法で共有


Restore-AzsBackup

Restore a backup.

Syntax

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

Description

Restore a backup.

Examples

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

Restore-AzsBackup -Backup 4e90bd2f-c7ab-47a3-a3c7-908cddd1ad0e

Restore from 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 location to backup.

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

-Name

Name of the backup.

Type:String
Position:Named
Default value:None
Required:True
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