Help Center
Choose product document...
Veeam ONE 9.5
Reporter User Guide

Example A. Copying a Report to Network Shares

Consider the following scenario: your backup administrators want to obtain a weekly report with the list of protected VMs in your virtual environment. To deliver the Protected VMs report to backup administrators on a weekly basis, you can take the following steps:

  1. Save the Protected VMs report with the necessary parameters.
  2. Create a script that will copy the report to network shares of backup administrators.
  3. Set the necessary schedule for the report and specify the post-delivery script.

Step 1. Save Protected VMs Report

Save the Protected VMs report with the necessary parameters as described in Saving Reports.

Step 2. Create Script

When you schedule a report delivery to a folder or a network share, Veeam ONE Reporter saves the generated report to a target location by the following path:

<TargetDirectory>\reporting-task-for-ssrs-report-<ReportName><ID>\

The sample script must perform the following operations after the report is created:

  1. Access the target report location:

C:\reports\reporting-task-for-ssrs-report-<ReportName><ID>\

  1. Copy the report from the target location to network shares:
  1. Remove the report from the target location and delete the target directory.

An example of the script is provided below:

::Changing directory to the target report location
cd reporting-task-for-ssrs-report*
set RD=%cd%

::Copying the report from the target location to admins’ shares
xcopy Protected*.* \\andy\shared\backups\reports\*.* /y
xcopy Protected*.* \\brian\shared\backups\reports\*.* /y
xcopy Protected*.* \\chris\shared\backups\reports\*.* /y

::Removing the target report location
cd ..\
rd %RD% /s/q

Save the script as a Windows batch file on the machine where Veeam ONE Server is installed.

To follow this example, save the script with the postdelivery.bat name to the C:\reports\ directory.

Step 3. Configure Scheduling Settings

Before scheduling report delivery, make sure that:

Configure scheduling settings for the saved report as follows:

  1. Open Veeam ONE Reporter.
  2. Open the Workspace section.
  3. Click the saved report in the list to open its properties.
  4. In the Actions pane on the right, click Scheduling.
  5. In the Scheduling Report Administration window, click Add to create a new schedule.
  6. In the Scheduling window, configure automatic delivery settings as follows:
  1. Click the Schedule on link and create a schedule according to which the report should be generated. To follow this example, schedule the report to run on a weekly basis.

Configure Report Schedule

  1. Click the Recipient link.
  2. In the Select Recipient window, click Advanced.
  3. In the Advanced window, specify advanced scheduling options. In the Path field, enter the path to the folder where the generated report will be stored. In the File Name field, specify the location of the script file.
    To follow this example, enter C:\reports in the Path field and enter C:\reports\postdelivery.bat in the File Name field.

Configure Report Schedule

  1. Save the scheduling settings.

Expected Result

The report will be generated and copied in accordance with the specified schedule.

At the specified schedule time, Veeam ONE Reporter will automatically generate the report. After the report is created, Veeam ONE Reporter will trigger the script that will copy the report to network shares.

Veeam Large Logo

Deployment Guide

Deployment for Large-Scale Environments

Monitor User Guide

Reporter User Guide

Business View User Guide

Multi-Tenant Monitoring and Reporting

Working with Alarms

Veeam Backup & Replication Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation