How to change the volume type of your Database
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
- You have an account and are logged into the Scaleway console
- You have a PostgreSQL or MySQL Database Instance
- You have a Database Instance with local storage
It is possible to change your volume type from local to Block Storage with the following steps.
-
Click Change volume type under Volume settings in your Database Instance information page.
Important:Before changing the volume type, make sure your Instance is in one of the following states:
READY
(represented as “Running” in the Scaleway console)DISK_FULL
A pop-up appears.
-
Select Block Storage.
-
Click Update volume type to confirm.
The Database Instance goes into the
Initializing
state.Alternatively, you can change the volume type from Block Storage to local storage by following the same steps.
Important:Make sure your current node type has a local storage size greater than or equal to your current Block Storage size. If this is not the case, you must upgrade your current node type to one with enough local storage before you change the volume type.