Docly

Storage Path of Backed Up VMs

Estimated reading: 2 minutes 0 views

The following  python script can be used to display the individual VM’s storage path for the specified VMWare/Hyper-V backup jobs.

1. The python script for finding the recent job status will be present inside the following folder,

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\Reports\Find Storage Path of Backed Up VMs\ storagepath.py

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/Reports/Find Storage Path of Backed Up VMs/ storagepath.py

2. Open the input.json file using any text editor and update the following inputs.

Backup_jobname: Name of the backup job for which the storage path of individual VMs are needed to be displayed

Sample Input

{

“Backup_jobname”:”test”

}

Note: Kindly provide one backup job name at a time during execution.

3. Open command prompt with administrative privileges. Change the working directory to where you have download the python script folder and run the file with the command given below,

Windows BDR Backup Server

“$$InstallationDirectory\Vembu\BackupForAWS\Python37\python.exe”  storagepath.py

For example, “C:\Program Files\Vembu\BackupForAWS\Python37\python.exe”  storagepath.py

Linux BDR Backup Server

“$$InstallationDirectory/Vembu/BackupForAWS/Python37/bin/python”  storagepath.py

For example, “home/vembubdr/Vembu/BackupForAWS/Python37/bin/python”  storagepath.py

4. After successful execution of the script the output will be saved as a csv file.

5. Open output.csv to check the response in the following location below,

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\Reports\Find Storage Path of Backed Up VMs\output.csv

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/Reports/Find Storage Path of Backed Up VMs/output.csv
On This Page