Skip to main content
Siva_Sogalapalli
Community Advisor
Community Advisor
Feb 8, 2016 9:57 AM UTC
Solved

How to know the status of online backup?

Hi All,

I'm using curl command to start online backup. 

Command: curl -u admin:admin -X POST http://localhost:9502/system/console/jmx/com.adobe.granite:type=Repository/op/startBackup/java.lang.String?target=/Backups/2012/backupJune.zip

I'm able to create backup but I wanted to send an email notification when the backup is completed.Is there way to find out the backup status?

Quick response would be appreciated.

Thanks In Advance

Siva

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Siva_Sogalapalli
Siva_SogalapalliAccepted solution
Community Advisor
Feb 9, 2016 3:35 PM UTC

Yes, I could get it using curl command:

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

Anyways, thanks for your reply.

2 replies

Kunal_Gaba_
New Member
Feb 8, 2016 7:19 PM UTC

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- 

                         
BackupDelay10
BackupInProgressfalse
BackupProgress0
CurrentBackupTarget
BackupWasSuccessfulfalse
BackupResultBackup 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

Translate
Siva_Sogalapalli
Community Advisor
Siva_SogalapalliCommunity AdvisorAuthorAccepted solution
Community Advisor
Feb 9, 2016 3:35 PM UTC

Yes, I could get it using curl command:

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

Anyways, thanks for your reply.

Translate