Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Backup status


Level 1

I'm setting up automated backups for a new installation but running into problems with capturing the backup status.  I can track the progress of the backups with,

curl --netrc-file "xx" http://localhost:4502/libs/granite/backup/content/admin/backups.progress.json

and get a list of previous backups with,

curl --netrc-file "xx" http://localhost:4502/libs/granite/backup/content/admin/backups.list.json

is there also a way of identifying that a backup completed successfully? 



2 Replies


Level 2

The same request to check the progress http://localhost:4502/libs/granite/backup/content/admin/backups.progress.json

would return inProgress as false when the backup gets complete




Please have a look at this old forum post:- 


//curl -u admin:admin http://localhost:9502/libs/granite/backup/content/admin/backups.progress.json

//You can get the status of the last backup in the repository JMX MBean - http://localhost:4502/system/console/jmx/com.adobe.granite%3Atype%3DRepository

Following are the backup related attributes in the MBean- 

BackupDelay    10
BackupInProgress    false
BackupProgress    0
BackupWasSuccessful    false
BackupResult    Backup canceled

Or else, make a call to the following URLs which get the values from JMX and return it in the JSON-



I hope this would help you.

Thanks and Regards

Kautuk Sahni