Status

URL:
https://<root>/system/disasterrecovery/status
Methods:
GET
Required Capability:
Access allowed with the "Security and infrastructure" privilege
Version Introduced:
10.9

Description

The status resource returns information about the last submitted disaster recovery job. At 10.9, status returned the status of a current, or previously executed, backup.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the status resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/system/disasterrecovery/status?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "status": {
    "code": 3,
    "scheduleType": "SCHEDULED",
    "stages": [
      {
        "duration": "3096 millis (~ 0 minutes)",
        "lastUpdated": 1635285646933,
        "name": "Validation",
        "state": "completed"
      },
      {
        "duration": "5149 millis (~ 0 minutes)",
        "lastUpdated": 1635285646933,
        "name": "Stage Relational store",
        "state": "completed"
      },
      {
        "duration": "50405 millis (~ 0 minutes)",
        "lastUpdated": 1635285646933,
        "name": "Stage Object store",
        "state": "completed"
      },
      {
        "duration": "6517 millis (~ 0 minutes)",
        "lastUpdated": 1635285646933,
        "name": "Stage system configuration",
        "state": "completed"
      },
      {
        "duration": "0 millis (~ 0 minutes)",
        "lastUpdated": 1635285646933,
        "name": "Post backup operation cleanup",
        "state": "completed"
      }
    ],
    "completeTime": 1635285728493,
    "startTime": 1635285646935,
    "state": "success",
    "backupStore": "default",
    "message": "",
    "operation": "Backup",
    "overallDuration": "00hr:01min:04sec:221millisec",
    "backupName": "schedule1-2021-10-26-22-00-46"
  }
}

JSON Response example (10.9)

The following sample response is returned when a backup has yet to be created for the deployment:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
{
  "status": {
    "code": 0,
    "messages": [],
    "state": "no_op"
  }
}

The following response is returned when a backup is created:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
  "status": {
    "code": 3,
    "messages": [
      {
        "code": 4014,
        "message": "Started backup process.",
        "when": 1618868887759
      },
      {
        "code": 4015,
        "message": "Started relational data store backup.",
        "when": 1618868938768
      },
      {
        "code": 4017,
        "message": "Completed relational data store backup.",
        "when": 1618869085290
      },
      {
        "code": 4018,
        "message": "Persisted relational data store backup results.",
        "when": 1618869085292
      },
      {
        "code": 4019,
        "message": "Started object store backup.",
        "when": 1618869085320
      },
      {
        "code": 4021,
        "message": "Completed objectstore backup.",
        "when": 1618869134849
      },
      {
        "code": 4022,
        "message": "Persisted objectstore backup.",
        "when": 1618869134866
      },
      {
        "code": 4023,
        "message": "Started runtime infrastructure & configuration backup.",
        "when": 1618869134866
      },
      {
        "code": 4025,
        "message": "Completed runtime infrastructure & configuration backup.",
        "when": 1618869140040
      },
      {
        "code": 4026,
        "message": "Persisted runtime infrastructure & configuration backup results.",
        "when": 1618869140041
      },
      {
        "code": 4027,
        "message": "Persisted backup results.",
        "when": 1618869141431
      },
      {
        "code": 4028,
        "message": "Completed backup results.",
        "when": 1618869141440
      }
    ],
    "state": "success"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.