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.

Required Parameters

-Name

Name of the backup.

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

The resource id.

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

Optional Parameters

-AsJob

Run asynchronous as a job and return the job object.

Type:SwitchParameter
Position:Named
Default value: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
Accept pipeline input:False
Accept wildcard characters:False
-Force

Don't ask for confirmation.

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

Name of location to backup.

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

Name of the resource group.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
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
Accept pipeline input:False
Accept wildcard characters:False