LinuxCommandLibrary

doctl-databases-maintenance-window

configure database cluster maintenance schedules

TLDR

Get maintenance window

$ doctl databases maintenance-window get [cluster_id]
copy
Update maintenance window
$ doctl databases maintenance-window update [cluster_id] --day [monday] --hour [02:00]
copy

SYNOPSIS

doctl databases maintenance-window command [options]

DESCRIPTION

doctl databases maintenance-window manages the maintenance window for DigitalOcean managed database clusters. Maintenance includes updates and patches applied during this window.
DigitalOcean performs automated maintenance on managed databases including security patches, version updates, and system optimizations. The maintenance window defines when these operations can occur, allowing you to schedule them during low-traffic periods to minimize impact on your applications.
You can configure both the day of the week and the hour (in UTC) when maintenance should begin. Planning the window around your application's usage patterns helps ensure maintenance doesn't affect peak traffic times.

PARAMETERS

--day string

Day of week (monday through sunday).
--hour string
Hour in UTC (00:00 through 23:00).

SUBCOMMANDS

get

Get maintenance window.
update
Update maintenance window.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community