Receive-B1Export¶
SYNOPSIS¶
Retrieves a BloxOneDDI Export/Backup
SYNTAX¶
DESCRIPTION¶
This function is used to retrieve a BloxOneDDI Export/Backup
EXAMPLES¶
EXAMPLE 1¶
Receive-B1Export -data_ref (Get-B1BulkOperation -Name "Backup of all CSP data").data_ref -filePath "C:\Backups"
EXAMPLE 2¶
$ExportName = "B1-Export-$((Get-Date).ToString('dd-MM-yy hh-mm-ss'))"
PS> Start-B1Export -Name $ExportName -BackupAll
PS> while (($ExportJob = Get-B1Export -Name $ExportName -Strict).overall_status -ne "Completed") {
Write-Host "Waiting for export to complete.."
Wait-Event -Timeout 5
}
PS> $ExportJob | Receive-B1Export -filePath "/tmp/$($ExportName)"
PARAMETERS¶
-data_ref¶
The data_ref provided by the Get-B1BulkOperation or Get-B1Export function. This accepts pipeline input.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-filePath¶
The local file path where the export should be saved to.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.