Stay organized with collectionsSave and categorize content based on your preferences.
This page provides instructions how to find scheduled maintenance, set
maintenance windows, reschedule maintenance, and more. For an overview
of maintenance updates and maintenance windows, seeAbout maintenance.
Set a preferred window for maintenance on a cluster
gcloud
Run the following command to set a maintenance window for a Redis cluster:
In the row for Memorystore, toggle the email button toON.
A maintenance notification email uses the title,"Upcoming maintenance for your
Cloud Memorystore cluster [your-cluster-name]". Each email address that
needs to receive notifications must opt in separately.
Maintenance notifications are set at the project level rather than on clusters.
Email notifications are sent to the email address associated with your Google Account. It is not possible to configure a custom email alias (for instance, a
team email alias).
Find scheduled maintenance
If maintenance has been scheduled for your cluster, you can view it using the
following instructions:
RESCHEDULE_TYPEis the type of rescheduled update. Available values are:
IMMEDIATE: Starts the maintenance update immediately
SPECIFIC_TIME: Allows you to designate a specific time for the update.
The rescheduled time must be no more than seven days from time of the
original maintenance window
RESHEDULE_TIMEYou can only specify this value if you set--reschedule-typetoSPECIFIC TIME. This value uses the ISO 1801 format. For example,2020-01-16T16:56:00.000Z. The time is set in UTC time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Find and set maintenance windows\n\nThis page provides instructions how to find scheduled maintenance, set\nmaintenance windows, reschedule maintenance, and more. For an overview\nof maintenance updates and maintenance windows, see [About maintenance](/memorystore/docs/cluster/about-maintenance).\n\nSet a preferred window for maintenance on a cluster\n---------------------------------------------------\n\n### gcloud\n\nRun the following command to set a maintenance window for a Redis cluster: \n\n```\ngcloud redis clusters update CLUSTER_ID --region=REGION --maintenance-window-day=DAY --maintenance-window-hour=HOUR\n```\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e is the ID of the cluster\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your cluster is located\n- \u003cvar translate=\"no\"\u003eDAY\u003c/var\u003e is the day you want maintenance to occur. Acceptable values are: `MONDAY`,`TUESDAY`,`WEDNESDAY`,`THURSDAY`,`FRIDAY`,`SATURDAY`,`SUNDAY`\n- \u003cvar translate=\"no\"\u003eHOUR\u003c/var\u003e is the hour of the day in UTC time for when the maintenance window starts. Acceptable values are `0`-`23`\n\nFor reference information, see [`gcloud redis clusters update`](/sdk/gcloud/reference/redis/clusters/update)\n\nOpt in to maintenance notifications\n-----------------------------------\n\n| **Note:** Even if you turn on maintenance notifications, you don't receive notifications unless you [set a maintenance window](/memorystore/docs/cluster/finding-and-setting-maintenance-windows#set_a_preferred_window_for_maintenance_on_a_cluster) for that cluster.\n\nTo turn on maintenance notifications:\n\n1. Go to the **Communication** page in the Google Cloud console:\n\n [Communication](https://console.cloud.google.com/user-preferences/communication)\n2. Click the **Product Notifications** tab.\n\n3. Select your project from the drop-down menu.\n\n4. In the row for Memorystore, toggle the email button to **ON**.\n\nA maintenance notification email uses the title, `\"Upcoming maintenance for your\nCloud Memorystore cluster [your-cluster-name]\"`. Each email address that\nneeds to receive notifications must opt in separately.\n\nMaintenance notifications are set at the project level rather than on clusters.\nEmail notifications are sent to the email address associated with your Google Account. It is not possible to configure a custom email alias (for instance, a\nteam email alias).\n\nFind scheduled maintenance\n--------------------------\n\nIf maintenance has been scheduled for your cluster, you can view it using the\nfollowing instructions: \n\n### gcloud\n\n```\ngcloud redis clusters describe CLUSTER_ID --region=REGION\n```\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e is the ID of the cluster\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your cluster is located\n\nThe output for scheduled maintenance is as follows: \n\n```\nmaintenancePolicy:\ncreateTime: 'TIME_STAMP'\nupdateTime: 'TIME_STAMP'\nmaintenanceWindow:\n- day: DAY\n duration: 60 minutes\n hour: HOUR\nmaintenanceSchedule:\n endTime: 'TIME_STAMP'\n startTime: 'TIME_STAMP'\n```\n\nWhere:\n\n- `maintenancePolicy` shows information on the creation time of your preferred maintenance policy and the last time the policy was updated.\n- `createTime` is when the maintenance policy is first created.\n- `updateTime` is when the maintenance policy was last updated.\n- `DAY` indicates the day of the week maintenance occurs.\n- `HOUR` indicates the hour in UTC time that maintenance begins.\n- `startTime` indicates the specific start time for a maintenance update that is scheduled for your cluster.\n- `endTime` indicates the specific ending time for a maintenance update that is scheduled for your cluster.\n- `TIME_STAMP` uses the RFC 3339 format.\n\nReschedule maintenance\n----------------------\n\n| **Caution:** Memorystore for Redis Cluster doesn't support rescheduling maintenance in bulk requests programmatically. Therefore, limit batch reschedule sizes to 100 instances per batch. For more information, see [Rescheduling maintenance](/memorystore/docs/cluster/about-maintenance#rescheduling_maintenance).\n\nTo reschedule maintenance, see the instructions below: \n\n### gcloud\n\n| **Note:** You can only defer a maintenance update for up to two weeks from when a maintenance update is originally scheduled for your cluster.\n\n\u003cbr /\u003e\n\n```\ngcloud redis clusters reschedule-maintenance CLUSTER_ID --region=REGION --reschedule-type=RESCHEDULE_TYPE [--schedule-time=RESHEDULE_TIME]\n```\n\nwhere:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_ID\u003c/var\u003e is the ID of the cluster\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e is the region where your cluster is located\n- \u003cvar translate=\"no\"\u003eRESCHEDULE_TYPE\u003c/var\u003e is the type of rescheduled update. Available values are:\n\n - `IMMEDIATE`: Starts the maintenance update immediately\n - `SPECIFIC_TIME`: Allows you to designate a specific time for the update. The rescheduled time must be no more than seven days from time of the original maintenance window\n- \u003cvar translate=\"no\"\u003eRESHEDULE_TIME\u003c/var\u003e You can only specify this value if you set `--reschedule-type` to `SPECIFIC TIME`. This value uses the ISO 1801 format. For example, `2020-01-16T16:56:00.000Z`. The time is set in UTC time.\n\nFor reference information, see [gcloud redis clusters reschedule-maintenance](/sdk/gcloud/reference/redis/clusters/reschedule-maintenance).\n\nWhat's next\n-----------\n\n- View the [permissions](/memorystore/docs/cluster/access-control#maintenance_windows_permissions) required to manage maintenance windows for your Redis cluster."]]