Export-VBRBackup (obsolete)

In this article

    Short Description

    Exports a backup or restore point files to a selected folder.

    Note

    This cmdlet is obsolete. Run the Copy-Item cmdlet instead.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Export-VBRBackup [-Backup] <CBackup> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    -OR-

    Export-VBRBackup [-RestorePoint] <COib> [-Dir] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet copies a selected backup files to a user-specified directory.

    You can copy a whole backup file or select backups for a specific job object. The job objects are VMs, VM containers, datastores or resource pools.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Backup

    Specifies the backup file you want to export.

    True

    1

    False

    False

    Restore
    Point

    Specifies the job object (i.e. a VM) for which you want to export the backup files.

    True

    1

    False

    False

    Dir

    Specifies the path to the folder where you want to copy the files to.

    True

    2

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Example 1

    This command exports the backup file represented by the $ADbackup variable to the folder "C:\Export". The backup file to export is obtained with Get-VBRBackup and assigned to the variable beforehand.

    Export-VBRBackup -Backup $ADbackup -Dir "C:\Export"

    Example 2

    This command exports the backup file for a specific VM represented by the $AD_local variable to the folder "C:\Export". The backup file to export is obtained with Get-VBRRestorePoint and assigned to the variable beforehand.

    Export-VBRBackup -RestorePoint $AD_local -Dir "C:\Export"

    Related Commands

    Get-VBRBackup

    Get-VBRRestorePoint