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

Backup status

bryanm96148
Level 1
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? 

 

Thanks

0 Replies
Ashokkumar_TA
Level 2
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

kautuk_sahni
Employee
Employee

Hi 

Please have a look at this old forum post:- 

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

//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
CurrentBackupTarget    
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-

http://localhost:4502/libs/granite/backup/content/admin/backups.list.json
http://localhost:4502/libs/granite/backup/content/admin/backups.progress.json

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni