# View Cluster and Verify Backups

Once your PostgreSQL database is provisioned, you can use the IONOS Cloud DBaaS PostgreSQL v2 API to inspect its configuration, check its operational state, and ensure that your data is safely backed up.

In the v2 API, backups have been elevated to an independent, first-class resource, making it easier than ever to monitor your geographic data safety

## Workflow

Follow these steps to retrieve your cluster's details and verify your independent backups using region-specific endpoints.

{% stepper %}
{% step %}

#### Retrieve cluster details

Retrieve the current state and configuration of your PostgreSQL cluster to ensure it is running as expected.

{% hint style="info" %}
**Prerequisite:** To find your `cluster ID`, use the global `GET /clusters` endpoint, which supports robust filtering by name or state and standardized pagination to locate your specific deployment easily.
{% endhint %}

* **Endpoint:** `GET /clusters/{clusterId}`
* **Path Parameter:** You must provide the following:
  * `clusterId`: The UUID of the cluster you want to retrieve.
* **Action:** Review the response to inspect properties such as the provisioned `version`, `connection`, current operational `state`, and the `backupLocation` where the cluster's backups are stored.
  {% endstep %}

{% step %}

#### Review backup location

The v2 API explicitly models backup locations, giving you precise control and visibility into the safety of your geographic backups.

Verify the details of the physical location where your cluster's backups are stored, using the `locationId`.

{% hint style="info" %}
**Prerequisite:** To retrieve the `locationId` of the cluster's backup, use the **Retrieve all Backup Locations** API and refer to the `href` UUID value as the backup `locationId`.
{% endhint %}

* **Endpoint:** `GET /backup-locations/{backupLocationId}`
* **Path Parameter:** You must provide the following:
  * **backupLocationId:** The ID of the backup location of the cluster. For example, the `Id` of `eu-central-3` is `7fa1dd11-59dd-53a5-ab67-50f649c8e3eb`.
* **Action:** Confirm that the location matches your data residency or redundancy requirements.
  {% endstep %}

{% step %}

#### Retrieve backup

Inspect the details of a specific backup to verify its details and status.

{% hint style="info" %}
**Prerequisite:** To retrieve the `backupId` of the cluster, use the **Retrieve all Backups** API with `GET /backups/` endpoint and refer to the `id` value of the backup `location`. Example: `45ca67fb-8b07-5783-9c97-2d35acceb084`.
{% endhint %}

* **Endpoint:** `GET /backups/{backupId}`
* **Path Parameter:** You must provide the following:
  * `backupId`: The UUID of the specific cluster backup you want to inspect.
* **Action:** View the detailed metadata of a single backup or restore point. Check properties such as `latestRecoveryTargetTime` to confirm the backup covers the expected timeframe, or `isActive` to ensure cluster backup is active.
  {% endstep %}
  {% endstepper %}
