Restore-AzNetAppFilesBackupFile
Yeni bir Yedekleme Geri Yükleme Dosyaları isteği oluşturma
Syntax
Restore-AzNetAppFilesBackupFile
-ResourceGroupName <String>
-AccountName <String>
-Name <String>
-PoolName <String>
-VolumeName <String>
-FileList <String[]>
[-RestoreFilePath <String>]
-DestinationVolumeId <String>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Restore-AzNetAppFilesBackupFile
-Name <String>
-FileList <String[]>
[-RestoreFilePath <String>]
-DestinationVolumeId <String>
-VolumeObject <PSNetAppFilesVolume>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Restore-AzNetAppFilesBackupFile
-FileList <String[]>
[-RestoreFilePath <String>]
-DestinationVolumeId <String>
-ResourceId <String>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Restore-AzNetAppFilesBackupFile
-FileList <String[]>
[-RestoreFilePath <String>]
-DestinationVolumeId <String>
-InputObject <PSNetAppFilesBackup>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Belirtilen dosyaları belirtilen yedeklemeden etkin dosya sistemine geri yükleme
Örnekler
Örnek 1
$fileList = New-Object string[] 1
$fileList[0] = "/dir1/customer1.db"
Restore-AzNetAppFilesBackupFile -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyVolume" -BackupName "MyBackup" -FileList $fileList -DestinationVolumeId "destinationVolumeResourceId"
Bu komut dosya customer1.db "MyBackup" dosyasından belirtilen hedef birimine geri yükler
Parametreler
-AccountName
ANF hesabının adı
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DestinationVolumeId
Dosyaların geri yüklenmesi gereken hedef birimin Kaynak Kimliği
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-FileList
Geri yüklenecek dosyaların listesi
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Dosyaları geri yüklemek için yedekleme nesnesi
Type: | PSNetAppFilesBackup |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
ANF yedeklemesinin adı
Type: | String |
Aliases: | BackupName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Belirtilen dosyaların başarıyla geri yüklenip yüklenmediğini döndürme
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PoolName
ANF havuzunun adı
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
ANF hesabının kaynak grubu
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
ANF Yedeklemesinin kaynak kimliği
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RestoreFilePath
Dosyaların geri yükleneceği hedef klasör. Yol adı eğik çizgiyle başlamalıdır. İstekten atlanırsa, geri yükleme varsayılan olarak hedef birimin kök klasöründe yapılır
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeName
ANF biriminin adı
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeObject
Dosyaları geri yüklemek için yedeklemeyi içeren birim nesnesi
Type: | PSNetAppFilesVolume |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |