This is an archive version of the document. To get the most up-to-date information, see the current version.

Export-VBRBackup

In this article

    Short Description

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

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

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

    -OR-

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

    Related Commands

    Get-VBRBackup

    Get-VBRRestorePoint

    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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example 1

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

    PS C:\PS> Export-VBRBackup -Backup $"AD backup" -Dir "C:\Export"

    Example 2

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

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