Salta al contenuto principale

API Method for Backup Success or Failure

Thread needs solution
Beginner
Messaggi: 6
Commenti: 12

Hi,

Is there an API method that can be called to check the success or failure of a backup?

In our account we have multiple folders and within those folders, we have multiple customers and within those customers, we have backups of multiple machines. Rather than having 100's of reports or checking individual, we would like to incorporate the success or failure of a backup to be reported within our software.

Many thanks.

 

0 Users found this helpful
Forum Support specialist
Messaggi: 0
Commenti: 2016

Hello Dave,

thank you for posting on Acronis forums!

In our account we have multiple folders and within those folders, we have multiple customers and within those customers, we have backups of multiple machines. Rather than having 100's of reports or checking individual, we would like to incorporate the success or failure of a backup to be reported within our software.

In this case, you should have many Device groups. Thus, you can edit your backup reports by selecting any specific group you need.

Beginner
Messaggi: 0
Commenti: 8

Dave, there is a SQLite db in the system with this info, but for me it is difficult to understand the structure. i wish there is a description for it at least so the success/failure can be taken from this db by whatever simple commands in powershell or python.

 

Maria, is something like description or db structure available ?

Frequent Poster
Messaggi: 14
Commenti: 522

Hello Martin!

Talking directly with any databases acronis uses is unsupported and hence undocumented.

I usually spend a lot of time there as I found many ad hoc queries are easy to execute there. If you have a particular question I might be able to offer pointers, though any automated solution would need to take into account though that interfacing this way can break at any build change.

There is indeed an SQLite db where the activities are stored, you might however need to query elsewhere for other related info.

Parsing the result of "acrocmd list activities" is probably a more robust approach as it seems to provide info on successful completion.

-- Peter

Beginner
Messaggi: 0
Commenti: 8

Hi Peter,

i need to build a simple system where failure (confirmed) will trigger an API commands to create incident ticket.

we use re-try functions and sometimes there is a failure but it is resolved on the next re-try  so I need to identify real failure which caused unfinished backup or (mostly) backup file corrupted, and report it to the other system as an incident automatically.

 

also I was looking to a better reporting tool, customized from this source DB. Existing reports are nice but not much usable when you have consolidate it from 10 sites with 2500 machines in backup.

 

 

Beginner
Messaggi: 6
Commenti: 12

15th January 2022

Hi All,

Great that this thread has been re-opened. I have still not found a solution either. Basically, I need to know which API I can call to find the success or failure of a backup.

As explained in my initial post, In our partner account we have multiple folders and within those folders, we have multiple customers and within those customers, we have backups of multiple machines. Rather than having 100's of reports or checking individual (which is what we have to do right now), we would like to incorporate the success or failure of a backup to be reported within our software and we should be able to do that with an API call.

There must be an ID for each machine being backed up, so there must me an API call that can be called that will give back the backup status, success, failure, Warning etc etc of the ID?

I don't really want to go down the route of querying the SQLlite DB, I agree with Peter, any build changes could possibly break the query.

Anyone know of the API call(s) I could use?

Kindest Regards

Dave S. Chunilal