Clone a Linode on the new Cloud Manager to existing Linode

Linode Staff

We are trying to clone one Linode into an existing Linode in the new Cloud Manager. Our understanding of the process is that we need to use an image to accomplish the cloning. However, when we try to create an image of of the existing Linode, it fails.

  1. Why does the image creation fail?
  2. Is this the best way to clone to an existing linode?

3 Replies

There is a better way to clone your Linode than the way you are trying. Since, using the Image option in your Linode Manager has a limit of 2 GB which is why it's failing.

You can create a new Linode using and existing disk by following the instructions below then delete the destination Linode after swapping the IP address.

  1. Login to the Cloud Manager
  2. Click on the "Create" button in the upper right corner
  3. Select the "Linode" option
  4. Click on the "My Images" tab at the top of the page
  5. Click on the "Clone Linode" tab
  6. Choose which Linode you would like to Clone
  7. Select your data center
  8. Select your Plan, add any labels, and any additional features you want to add on
  9. Click "Create"

You can then swap the IP if you want the same IP and then delete the old Linode. If you want to keep the new IP, you will need to update any network configuration files in the cloned Linode to reflect the new IP address.

Is this the best way to clone to an existing linode?

While you can't clone to an existing Linode through the Cloud Manager interface yet, it is possible using the APIv4.

If you don't feel comfortable using the API or CLI, the next best way to accomplish this would be the following:

Another way to do it is to delete the disks (if any) on the target linode.

Then on the source linode go to storage. Press the 3 dots on the first drive and click Clone, and select the target linode.

On the confirmation make sure to select all the other drives before pressing ok.

Once cloning is finished, change the target ‘configuration’ to point to the new disks. If you’re not sure what to set where just copy what was in the source configuration.

I use this method often since occasionally cloning a linode corrupts the target.

(We create about 30 new linodes a month which are just clones of existing nodes and then change the host name and config node name to bring it into service)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct