User Tools

Site Tools


Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:5136_issue:incorrect_backupjobstatus_returned_when_calling_getbackupjobreport.do_and_getbackupjobreportsummary.do_api

[V7] ISSUE: Incorrect BackupJobStatus returned when calling GetBackupJobReport.do and GetBackupJobReportSummary.do API

Article ID: 5136
Reviewed: 2016-02-05

Product Version:
AhsayCBS: Pre-7.7.0.0
OS: All platforms

ATTENTION 1st January, 2022: v7 officially End-of-Life [details]

Problem Description

Incorrect backup job status is returned when calling the GetBackupJobReport.do and GetBackupJobReportSummary.do API for backup jobs performed with AhsayOBM / ACB version 7.

"BS_BACKUP_NOT_FINISHED" is always returned as the value for "BackupJobStatus", which is incorrect. For example:

API call: GetBackupJobReportSummary.do

JSON Post:
{
"SysUser":"system",
"SysPwd":"system",
"LoginName":"username",
"BackupSetID":"backupset_id",
"BackupJobID":"YYYY-MM-DD-hh-mm-ss"}

JSON Return:
{
"Status": "OK",
"Data": {
"NumOfUpdatedPermissionFiles": 0,
"NumOfUpdatedFiles": 0,
"MissedPublicFolder": "",
"NumOfCopiedFiles": 0,
"NumOfNewFiles": 0,
"MissedDatabase": "",
"BackupJobStatus": "BS_BACKUP_NOT_FINISHED",
"TotalMovedFilesSize": 0,
...

Cause

This issue can occur if the "DestinationID" parameter was not provided when calling the GetBackupJobReport.do and GetBackupJobReportSummary.do API.

For backup job performed with AhsayOBM / ACB version 7.3.2.0 or above, the "DestinationID" parameter must be provided to get the correct return.

Resolution

Provide the "DestinationID" parameter when calling the GetBackupJobReport.do and GetBackupJobReportSummary.do API for backup job performed with AhsayOBM / ACB version 7.

Refer to the AhsayCBS API Guide for more details on the required parameters for each API calls.

Keywords

GetBackupJobReport.do, GetBackupJobReportSummary.do, external, api, GetBackupJobReport, GetBackupJobRepo

public/5136_issue/incorrect_backupjobstatus_returned_when_calling_getbackupjobreport.do_and_getbackupjobreportsummary.do_api.txt · Last modified: 2021/12/15 19:09 by anna.olalia

Page Tools