NavigationContentFooter
Jump toSuggest an edit

How to clone a Database Instance

Reviewed on 04 July 2024Published on 20 October 2019

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.

Note

The clone is fully independent of its parent.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A PostgreSQL or MySQL Database Instance

How to clone a Database Instance

  1. Click PostgreSQL and MySQL under Managed Databases on the side menu. A list of your Database Instances displays.

  2. Click the database name or «See more Icon» > More info to access the Database Instance information page.

  3. Scroll down to the Clone section.

  4. Click Clone Database Instance. A pop-up displays.

  5. Enter a name for your database or leave the default name suggested by the Scaleway console.

  6. Select a node type. You can keep the same node type, or upgrade to a bigger one.

    Important

    If you have a new-generation Database Instance using a local volume node type and want to upgrade to an Instance that uses Block volumes node type, you must change the volume type to Block Storage first.

    Similarly, if you have a new-generation Database Instance using a Low Latency Block volume and want to create a clone on a first-generation Instance, you must first change the volume type to Block Storage Legacy.

  7. Click Clone Database Instance.

Important

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.

See also
How to manage snapshotsHow to create Read Replicas
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway