< Back

Restore-AzureRmWebAppBackup

Tue Jan 29, 2019 10:12 pm

NAME Restore-AzureRmWebAppBackup



SYNOPSIS







SYNTAX

Restore-AzureRmWebAppBackup [-ResourceGroupName] <String> [-Name] <String> [[-Slot] <String>] [-StorageAccountUrl] <String> [-BlobName] <String>

[-Databases <DatabaseBackupSetting[]>] [-DefaultProfile <IAzureContextContainer>] [-IgnoreConflictingHostNames] [-Overwrite] [<CommonParameters>]



Restore-AzureRmWebAppBackup [-WebApp] <Site> [-StorageAccountUrl] <String> [-BlobName] <String> [-Databases <DatabaseBackupSetting[]>]

[-DefaultProfile <IAzureContextContainer>] [-IgnoreConflictingHostNames] [-Overwrite] [<CommonParameters>]





DESCRIPTION

The Restore-AzureRmWebAppBackup cmdlet restores an Azure Web App Backup.





PARAMETERS

-BlobName <String>

Blob Name



Required? true

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Databases <DatabaseBackupSetting[]>

Databases of type DatabaseBackupSetting[]



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IgnoreConflictingHostNames [<SwitchParameter>]

Ignore Conflicting HostNames Option



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

WebApp Name



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Overwrite [<SwitchParameter>]

Overwrite Option



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

WebApp Slot Name



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-StorageAccountUrl <String>

Storage Account Url



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WebApp <Site>

WebApp Object



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Site

Parameter 'WebApp' accepts value of type 'Site' from the pipeline





OUTPUTS



NOTES









1:



PS C:\\> Restore-AzureRmWebAppBackup -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -StorageAccountUrl

"https://storageaccount.file.core.windows.net" -BlobName "myBlob"



Restores a backup of the specified app ContosoWebApp that is within resource group Default-Web-WestUS in blob "myBlob" located at

https://storageaccount.file.core.windows.net







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... bappbackup