How to clone a Database Instance
The clone feature allows you to create a new Database Instance from an existing one. The clone includes all existing databases, users, and permissions. You can create a clone on a Database Instance larger than your current one.
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
The clone is fully independent of its parent.
- You have an account and are logged into the Scaleway console
- You have a PostgreSQL or MySQL Database Instance
How to clone a Database Instance
- Click PostgreSQL and MySQL under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the Database Instance information page.
- Scroll down to the Clone section.
- Click Clone Database Instance. A pop-up displays.
- Enter a name for your database or leave the default name suggested by the Scaleway console.
- Select a node type. You can keep the same node type, or upgrade to a bigger one.
Important:
If you have a Database Instance that uses a local volume, and you want to upgrade to an Instance that uses Block volumes, you must change the volume type to Block storage first.
- Click Clone Database Instance.
The source Database Instance remains available during the cloning process in Backing up mode. Some actions are not available during this time.
The time it takes to clone a Database Instance with local storage depends on the size of the database. For Database Instances with Block Storage the cloning process is slightly faster.