Skip to main content
Nebius AI Cloud performs maintenance on Managed Service for PostgreSQL clusters. This page explains how to review maintenance schedules, identify affected resources, and reschedule eligible operations to make sure that you aren’t relying on a resource that’s unavailable due to maintenance.

Prerequisites

  1. Install and configure the Nebius AI Cloud CLI.
  2. Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
  3. Install jq to filter the JSON data returned by the Nebius AI Cloud CLI:

How to get a list of all maintenance operations

This command returns a list of all past, in-progress, and scheduled maintenance operations affecting resources in the project. Each item contains:
  • metadata.id: Maintenance operation ID. You can use this ID to get the details of an operation or reschedule it.
  • metadata.parent_id: Project ID.
  • metadata.created_at: Creation time of the maintenance operation.
  • spec.scheduled_at: Scheduled time of the maintenance, in the ISO 8601 format.
  • status.affected_resources: Affected resource IDs and their project IDs (parent_id). If the maintenance event affects your resources in another service, they’re also listed here. You can filter the output to see only the affected resources for Managed PostgreSQL clusters.
  • status.state: Maintenance operation state. Possible values are STATE_UNSPECIFIED, STATE_SCHEDULED, STATE_IN_PROGRESS, STATE_FINISHED, STATE_ERROR, and STATE_CANCELLED.
  • status.reschedulable: Whether you can reschedule the maintenance. You can reschedule it only when status.reschedulable is true and status.state is STATE_SCHEDULED.

Filtering the output

To filter the list output by PostgreSQL clusters, run the following command:
This command returns only maintenance operations that affect PostgreSQL clusters and removes resources belonging to other Nebius AI Cloud services from the affected_resources array of each list item.

How to get the details of a maintenance operation

In --id, specify the maintenance operation ID. You can get it by listing all maintenance operations.This command returns the details of a maintenance operation. The details are the same as for the list maintenance operations command.

How to reschedule a maintenance operation

You can reschedule a maintenance operation only when its state is STATE_SCHEDULED and its reschedulable value is true. To check these values, get the details of the operation.
  1. Run the following command:
    In --id, specify the maintenance operation ID.
  2. In the editor that opens, change the value of spec.scheduled_at to your desired time in the ISO 8601 format. Specify only a future date and time.
  3. When prompted, confirm the update.
After you reschedule a maintenance operation, check the updated details.
Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.