API Method for Backup Success or Failure
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.
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 ?
Server Win2016, VM
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.
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.
Server Win2016, VM
15th January 2022
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?
Dave S. Chunilal
Maria Belinskaya | Acronis Forum Support Specialist
Information provided AS-IS with no warranty of any kind.
To contact support, please follow http://www.acronis.com/en-us/support/