Help Center
Choose product document...
Veeam Backup & Replication 9.5 [Archived]
PowerShell Reference

Export-VBRBackup

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>]

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 $ADbackup variable 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 $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.

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

Related Commands

Get-VBRBackup

Get-VBRRestorePoint

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide