https://www.bdrsuite.com/

Docly

Recent Backup Job Status

Estimated reading: 2 minutes 0 views

The following python script can be used to get the status of the specified 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 Recent Backup Job Status\ job_status.py

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/Reports/Find Recent Backup Job Status/ job_status.py

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

Backup_jobname : Specify the list of backup jobs for which you want to get the status

Example: [“job1_name”,”job2_name”,…]

Note: Please make sure to provide valid backup job names as the input parameter to get the status of the relevant backup jobs.

Sample Input

{

“Backup_jobname”:[“job1_name”,”job2_name”]

}

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”  job_status.py

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

Linux BDR Backup Server

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

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

4. After successful execution of the script the output will be saved as a json file in the working directory.

Sample Job_Status.json file

{“test”: “In Progress”, “test1”: “Idle”}
On This Page