Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ExportVBRLogsVeeamBackupPowerShellReference
Help Center
Getting Started
Veeam PowerShell Reference
A-Z Cmdlets List
Connecting to Veeam Backup
Server
Backup Infrastructure
Backup Jobs
Replication Jobs
PowerShell Reference
> PowerShell Reference > Veeam PowerShell Reference > Logs Export > ExportVBRLogs
Export-VBRLogs
Replicas
Managing Jobs
Short Description
Job Settings
Failover and Failback
Failover Plans
Backup Copy Jobs
Conguration Backup
SureBackup
Quick Migration
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
VeeamZIP
Quick Backup
Syntax
VM Copy
Data Recovery
Instant VM Recovery
ExportVBRLogsServer<CHost[]>FolderPath<String>[Compress][
From<DateTime>][To<DateTime>][WarningAction<ActionPreference>]
Backups
[WarningVariable<String>][<CommonParameters>]
Restore Points
OR
Encryption
ExportVBRLogsJob<IJob[]>FolderPath<String>[Compress][From
<DateTime>][To<DateTime>][WarningAction<ActionPreference>][
Credentials
WarningVariable<String>][<CommonParameters>]
Sessions
OR
ExportVBRLogsEntity<IVmItem[]>FolderPath<String>[Compress][
From<DateTime>][To<DateTime>][WarningAction<ActionPreference>]
[WarningVariable<String>][<CommonParameters>]
vCloud Director
OR
ExportVBRLogsBackup<CBackup[]>FolderPath<String>[Compress][
From<DateTime>][To<DateTime>][WarningAction<ActionPreference>]
[WarningVariable<String>][<CommonParameters>]
Related Commands
Get-VBRServer
Get-VBRJob
Get-VSBJob
Find-VBRViEntity / Find-VBRHvEntity
Get-VBRBackup
Detailed Description
This cmdlet collects system logs. You can use this cmdlet to collect logs you can send to the Veeam
support.
The log les are written to the folder you specify in this cmdlet.
This cmdlet provides syntax for getting logs for hosts, jobs, entities or backups. You can get logs for all
kind of virtual host, any jobs including SureBackup jobs, all entities including datastores, clusters,
replicas, etc., or any backup.
https://helpcenter.veeam.com/backup/powershell/exportvbrlogs.html
1/3
01/06/2016
ExportVBRLogsVeeamBackupPowerShellReference
Parameters
Parameter
Description
Required
Position
Accept
Pipeline
Input
Accept
Wildcard
Characters
Server
Species the
server(s) from
which you want
to collect logs.
True
Named
True
(ByValue,
ByProperty
Name)
False
Note that
selected servers
must be running
and reachable
over the
network.
You can assign
multiple servers
to this object.
From
Species the
start date to
collect the logs
for export. Enter
the date in
format set in
your workstation
Date and Time
settings.
False
Named
False
False
To
False
Named
False
False
Job
Species the
job(s) you want
to collect logs for.
You can get logs
for all kind of
jobs.
True
Named
True
(ByValue,
ByProperty
Name)
False
True
Named
True
(ByValue,
ByProperty
Name)
False
True
Named
True
(ByValue,
ByProperty
Name)
False
True
Named
False
False
Species the
VM(s) you want
to collect logs for.
You can assign
multiple VMs to
this object.
Backup
Species the
backups you
want to collect
logs for.
You can assign
multiple backups
to this object.
FolderPath
https://helpcenter.veeam.com/backup/powershell/exportvbrlogs.html
Species the
destination
folder to which
the logs will be
exported.
2/3
01/06/2016
ExportVBRLogsVeeamBackupPowerShellReference
Compress
False
Named
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 starts collecting log les from the server represented by the $server variable. The
destination path is C:\Logs. The period for collecting data is July, 21, 2013 - July, 25, 2013. The data
compression is enabled. Run Get-VBRServer to get the source server.
PSC:\PS>ExportVBRLogsServer$serverFolderPath"C:\Logs"
CompressFrom7/21/2013To7/25/2013
Example 2
This command starts collecting log les for the SureBackup job named "DC SureJob". The job is obtained
with Get-VSBJob and piped down. The destination path is C:\Logs\SureBackup Logs. The period for
collecting data is not set to collect all the data for the job. The data compression is enabled.
PSC:\PS>GetVSBJobName"DCSureJob"|ExportVBRLogsFolderPath
"C:\Logs\SureBackupLogs"Compress
Example 3
This command starts collecting log les for the VM named "DC" for May, 2015. The VM is obtained with
Find-VBRViEntity and piped down. The destination path is C:\Logs. The data compression is enabled.
PSC:\PS>FindVBRViEntityName"DC"|ExportVBRLogsFolderPath
"C:\Logs"CompressFrom5/01/2015To6/01/2015
https://helpcenter.veeam.com/backup/powershell/exportvbrlogs.html
3/3